GameObjectCreator.Instantiate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.