Class GenericPrefabInstanceCreator
Creator for making prefab instances
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.GameObjectManagement
Assembly: cs.temp.dll.dll
Syntax
public class GenericPrefabInstanceCreator : GameObjectCreator
Fields
Prefab
The prefab to instantiate
Declaration
public GameObject Prefab
Field Value
Type | Description |
---|---|
GameObject |
Methods
Instantiate()
Creates a GameObject for the GameObjectPool. The position and rotation of the GameObject is set by the GameObjectPool when GetGameObject is called.
Declaration
public override GameObject Instantiate()
Returns
Type | Description |
---|---|
GameObject | An instantiated GameObject. |