Answers for "unity get components to list"

1

GetComponent to list

List<Collider> collidersToTurnOff = new List<Collider>();
 void Awake()
 {
	 GetComponentsInChildren(collidersToTurnOff); 
 }
Posted by: Guest on November-22-2020

Browse Popular Code Answers by Language