- Home /
Instantiate control
Hey guys, Is it possible to instantiate a first person controller while the game is running (obviously)?
Answer by DaveA · Apr 06, 2011 at 11:27 PM
Yes, it will have (Clone) appended to its name though
So if I want to destroy it later will I have to use the name with clone in it.
Or keep a reference to it by assigning it to a variable. You can run it in the editor and watch the Hierarchy list to see it show up there.
If I get what you're implying, just create the FPS controller prefab and instantiate it.
You can also rename it after you instantiated it ;) but keeping a reference is always the better solution to access it again. You can rename it anyway if you want :D
Your answer
Follow this Question
Related Questions
Checking if object intersects? 1 Answer
Explosion on contact? 1 Answer
FPS instantiate objects 1 Answer
Inputs cutting eachother out 1 Answer
Script that switches between first and third person controller 3 Answers