Answers for "unity get all components in gameobject"

C#
1

unity get all components in gameobject

GetComponents<Component>()
Posted by: Guest on December-27-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

Code answers related to "unity get all components in gameobject"

C# Answers by Framework

Browse Popular Code Answers by Language