Answers for "unity how to use parent constraint"

C#
8

how to get parent gameobject in unity

childObject.transform.parent.gameObject
Posted by: Guest on December-14-2020
0

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;
Posted by: Guest on February-11-2021

Code answers related to "unity how to use parent constraint"

C# Answers by Framework

Browse Popular Code Answers by Language