- Home /
Question by
DaveA · Jan 09, 2011 at 03:09 AM ·
cameragameobjectinstantiateview
How to create a new camera and NOT have it own the view (but still Find-able)?
I'm trying to instantiate some GameObjects with Camera components on them for LATER use. That is, I want to create these objects, but NOT have the 'main' view jump to the new camera I created. I understand I can do this by setting 'active' false, but doing so then makes GameObject.Find("mynewcamera") not work.
Any tips?
Comment
Best Answer
Answer by Eric5h5 · Jan 09, 2011 at 03:16 AM
Disable the camera components. (.enabled = false) However, since you're instantiating these camera gameobjects, that means you can just keep the references, so really you don't need to use Find at all.