GameObjectCreator.Instantiate Method

Definition

Creates a GameObject for the GameObjectPool. The position and rotation of the GameObject is set by the GameObjectPool when GetGameObject is called.

public:
 abstract UnityEngine::GameObject ^ Instantiate();
public abstract UnityEngine.GameObject Instantiate ();
abstract member Instantiate : unit -> UnityEngine.GameObject
Public MustOverride Function Instantiate () As GameObject

Returns

UnityEngine.GameObject

An instantiated GameObject.

Applies to