Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity game object remove parent

transform.SetParent(parentTransform, true);
transform.SetParent(null, true);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unity #game #object #remove #parent
ADD COMMENT
Topic
Name
2+1 =