Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity get all gameobjects

//Get's all gameobjects and puts it in a list called "GameobjectList"
Object[] GameobjectList = Resources.FindObjectsOfTypeAll(typeof(GameObject));
 
PREVIOUS NEXT
Tagged: #unity #gameobjects
ADD COMMENT
Topic
Name
3+6 =