- Home /
Find all object in Hierarchy
Hi, How can I find all the game object in my hierarchy of the scene within the editor ?
thanks in advance !
Comment
You question is not clear. You do want to find every gameobject in your scene hierarchy IN SCRIPT?
Best Answer
Answer by liszto · Aug 31, 2012 at 09:06 AM
Yes that's it. But finally I do this : GameObject.FindSceneObjectsOfType( typeof( GameObject ) ); I don't test it caues I do others things before but I think this gonna work !
Your answer