I have created a sphere and name it “Origin” in the Editor.
How do I retrieve this object at run time using C#?
Thanks in advance for your help.
I have created a sphere and name it “Origin” in the Editor.
How do I retrieve this object at run time using C#?
Thanks in advance for your help.
I found this answer: http://unity3d.com/support/documentation/ScriptReference/GameObject.Find.html
GameObject origin = GameObject.Find(“Origin”);