| GLMonoBehaviourInstantiate Method (GameObject, GameObject) |
Instantiates a prefab and parents it to the root.
Namespace:
Gamelogic.Extensions
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static GameObject Instantiate(
GameObject prefab,
GameObject root
)
Parameters
- prefab
- Type: GameObject
The prefab. - root
- Type: GameObject
The root.
Return Value
Type:
GameObjectGameObject.
See Also