- Home /
Can you name something that you spawned with a spawner script?
Basically I have a c# code that spawns my enemy. Is there a way that I can declare it to a variable or something?
Comment
Best Answer
Answer by prof · Nov 27, 2013 at 02:57 PM
GameObject newObject = Instantiate()as GameObject;
Your answer
Follow this Question
Related Questions
Extend only a part of an object unity 1 Answer
c# Enemy's spawning over time, problem 2 Answers
Switch() problem [C#] 1 Answer
How can I spawn enemies while leaving a gap for the player to advance? 1 Answer
c# enemy's not spawning 1 Answer