GenericPrefabInstanceCreator.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:
override UnityEngine::GameObject ^ Instantiate();
public override UnityEngine.GameObject Instantiate ();
override this.Instantiate : unit -> UnityEngine.GameObject
Public Overrides Function Instantiate () As GameObject
Returns
- UnityEngine.GameObject
An instantiated GameObject.