Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

instantiate unity in parent

   var myNewSmoke = Instantiate (poisonSmoke, Vector3(transform.position.x,transform.position.y, transform.position.z) , Quaternion.identity);
  myNewSmoke.transform.parent = gameObject.transform;
 
PREVIOUS NEXT
Tagged: #instantiate #unity #parent
ADD COMMENT
Topic
Name
4+1 =