Hey guys, Is it possible to instantiate a first person controller while the game is running (obviously)?
1 Answer
1Yes, it will have (Clone) appended to its name though
Hey guys, Is it possible to instantiate a first person controller while the game is running (obviously)?
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.
– xniinjaOr 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.
– DaveAIf I get what you're implying, just create the FPS controller prefab and instantiate it.
– scarletsnakeYou 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
– Bunny83ScarletSnake: yep
– DaveA