Answers for "get all gameobjects in scene unity"

C#
2

get all the game objects in a scene unity

Resources.FindObjectsOfTypeAll(typeof(urFavClass));
Posted by: Guest on October-20-2020
0

unity get all gameobjects

//Get's all gameobjects and puts it in a list called "GameobjectList"
Object[] GameobjectList = Resources.FindObjectsOfTypeAll(typeof(GameObject));
Posted by: Guest on December-08-2020

C# Answers by Framework

Browse Popular Code Answers by Language