Basically I have a c# code that spawns my enemy. Is there a way that I can declare it to a variable or something?
1 Answer
1GameObject newObject = Instantiate()as GameObject;
Basically I have a c# code that spawns my enemy. Is there a way that I can declare it to a variable or something?
GameObject newObject = Instantiate()as GameObject;
Thank you
– sparky14