Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to clone something as a parent unity

     GameObject obj = Instantiate(sphere, RandomPosition(), Quaternion.identity) as GameObject;
     go.transform.parent = transform;
 
PREVIOUS NEXT
Tagged: #clone #parent #unity
ADD COMMENT
Topic
Name
4+2 =