Playground by Górka Mateusz
Goo.Tools.UnityHelpers.GameObjectHelper Class Reference

Static Public Member Functions

static GameObject AddChild (this Transform transform, string name="GameObject")
 

Member Function Documentation

◆ AddChild()

static GameObject Goo.Tools.UnityHelpers.GameObjectHelper.AddChild ( this Transform  transform,
string  name = "GameObject" 
)
inlinestatic
8 {
9 var child = new GameObject(name);
10 child.transform.parent = transform;
11 return child;
12 }

The documentation for this class was generated from the following file: