Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity get parent object

// To get the parent object:
childObject.transform.parent.gameObject
 
PREVIOUS NEXT
Tagged: #unity #parent #object
ADD COMMENT
Topic
Name
9+1 =