Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get all components of type unity

 BaseClass[] components = GameObject.FindObjectsOfType<BaseClass>();
 
PREVIOUS NEXT
Tagged: #components #type #unity
ADD COMMENT
Topic
Name
5+6 =