Click or drag to resize
UnityGameObjectUtilsAddChild Method
Overload List
  NameDescription
Public methodStatic memberAddChild(GameObject, String)
Instantiates a new game object with the specified name and adds it to the game object. Makes sure the position/rotation/scale are initialized correctly.
Public methodStatic memberAddChild(GameObject, GameObject)
Instantiates a new game object from the specified prefab and adds it to the game object. Makes sure the position/rotation/scale are initialized correctly.
Top
See Also