Answers for "GetComponentsInChildren to list"

1

GetComponentsInChildren 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