Question by
ilart · Mar 25, 2016 at 12:39 PM ·
instantiate
Instantiate change spawn point after action
Hi! I've just finished the roll-a-ball tutorial. I spawn 1 cube in a random place within the box. How can I spawn another one in a random place after I get (destroy) the first one?
Comment
void Update(){
if (GameObject.Find ("Cube") == null){
//Instantiate
}
}
Your answer

Follow this Question
Related Questions
The thing you want to instantiate is null 1 Answer
Instantiate a particle system, probably a stupid question 2 Answers
Object reference not set message, directly after instantiation 1 Answer
How can I increase the speed gradually of each instantiated clone. 0 Answers
Instantiate works only in Editor 0 Answers