|
static GameObject | AddChild (this Transform transform, string name="GameObject") |
|
◆ 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: