Quantcast
Channel: Answers for "How to make a certain object disappear after a set amount of pickups is collected?"
Browsing latest articles
Browse All 9 View Live

Answer by luna_C

I am going to assume you want to de-activate ( SetActive(false) ) the wall that is separating the different "maps" when the player has collected a certain numberof blocks; because I am not too sure I...

View Article


Answer by rodrigodelucaetuma

I solved it with a destroy command line! using UnityEngine; using System.Collections; public class playercontrol : MonoBehaviour { public float speed; public GUIText countText; public GUIText winText;...

View Article


Answer by KBurchfiel

Here's how I'm doing it in my game. I have two barriers that I define as game objects (wall1 and wall2). I count the 'grape' pickups that I've gotten so far, and I then tell the game to destroy wall1...

View Article
Browsing latest articles
Browse All 9 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>