Instantiate

public static Object Instantiate(Object original, Vector3 position, Quaternion rotation) ;

Instantiate an object.

Parameter Name Description
original Original object
position Position
rotation Rotation

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static Object Instantiate(Object original, Vector3 position, Quaternion rotation, Transform parent) ;

Instantiate an object.

Parameter Name Description
original Original object
position Position
rotation Rotation
parent Parent Transform

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static Object Instantiate(Object original, Vector3 position, Quaternion rotation, Transform parent, Space space) ;

Instantiate an object.

Parameter Name Description
original Original object
position Position
rotation Rotation
parent Parent Transform
space Coordinate system

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static Object Instantiate(Object original, Vector3 position, Quaternion rotation, Transform parent, Space space, LifeTimeFlags lifeTimeFlags, float lifeDuration) ;

Instantiate an object.

Parameter Name Description
original Original object
position Position
rotation Rotation
parent Parent Transform
space Coordinate system
lifeTimeFlags Lifetime of pooled objects
lifeDuration Time to live of pooled objects

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static Object Instantiate(Object original) ;

Instantiate an object.

Parameter Name Description
original Original object

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static Object Instantiate(Object original, LifeTimeFlags lifeTimeFlags, float lifeDuration) ;

Instantiate an object.

Parameter Name Description
original Original object
lifeTimeFlags Lifetime of pooled objects
lifeDuration Time to live of pooled objects

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static Object Instantiate(Object original, Transform parent) ;

Instantiate an object.

Parameter Name Description
original Original object
parent Parent Transform

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static Object Instantiate(Object original, Transform parent, bool instantiateInWorldSpace) ;

Instantiate an object.

Parameter Name Description
original Original object
parent Parent Transform
instantiateInWorldSpace If when assigning the parent the original world position should be maintained.

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static Object Instantiate(Object original, Transform parent, bool instantiateInWorldSpace, LifeTimeFlags lifeTimeFlags, float lifeDuration) ;

Instantiate an object.

Parameter Name Description
original Original object
parent Parent Transform
instantiateInWorldSpace If when assigning the parent the original world position should be maintained.
lifeTimeFlags Lifetime of pooled objects
lifeDuration Time to live of pooled objects

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static T Instantiate<T>(T original) ;

Instantiate an object.

Type Parameter Name Description Type Constraints
T Object type
Parameter Name Description
original Original object

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static T Instantiate<T>(T original, LifeTimeFlags lifeTimeFlags, float lifeDuration) ;

Instantiate an object.

Type Parameter Name Description Type Constraints
T Object type
Parameter Name Description
original Original object
lifeTimeFlags Lifetime of pooled objects
lifeDuration Time to live of pooled objects

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static T Instantiate<T>(T original, Vector3 position, Quaternion rotation) ;

Instantiate an object.

Type Parameter Name Description Type Constraints
T Object type
Parameter Name Description
original Original object
position Position
rotation Rotation

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static T Instantiate<T>(T original, Vector3 position, Quaternion rotation, Transform parent) ;

Instantiate an object.

Type Parameter Name Description Type Constraints
T Object type
Parameter Name Description
original Original object
position Position
rotation Rotation
parent Parent Transform

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static T Instantiate<T>(T original, Vector3 position, Quaternion rotation, Transform parent, LifeTimeFlags lifeTimeFlags, float lifeDuration) ;

Instantiate an object.

Type Parameter Name Description Type Constraints
T Object type
Parameter Name Description
original Original object
position Position
rotation Rotation
parent Parent Transform
lifeTimeFlags Lifetime of pooled objects
lifeDuration Time to live of pooled objects

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static T Instantiate<T>(T original, Transform parent) ;

Instantiate an object.

Type Parameter Name Description Type Constraints
T Object type
Parameter Name Description
original Original object
parent Parent Transform

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static T Instantiate<T>(T original, Transform parent, bool instantiateInWorldSpace) ;

Instantiate an object.

Type Parameter Name Description Type Constraints
T Object type
Parameter Name Description
original Original object
parent Parent Transform
instantiateInWorldSpace If when assigning the parent the original world position should be maintained.

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.

public static T Instantiate<T>(T original, Transform parent, bool instantiateInWorldSpace, LifeTimeFlags lifeTimeFlags, float lifeDuration) ;

Instantiate an object.

Type Parameter Name Description Type Constraints
T Object type
Parameter Name Description
original Original object
parent Parent Transform
instantiateInWorldSpace If when assigning the parent the original world position should be maintained.
lifeTimeFlags Lifetime of pooled objects
lifeDuration Time to live of pooled objects

Instantiated object

If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.