Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Unity how get Attributes of a gameObject

GameObject obj;
var i = obj.GetComponent<NameScript>();
i.NameOfAttributeLikeThis;
 
PREVIOUS NEXT
Tagged: #Unity #Attributes #gameObject
ADD COMMENT
Topic
Name
3+2 =