Instantiate
Instantiate(Object, Vector3, Quaternion)
Description
Instantiate an object.
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
| position | Position | 
| rotation | Rotation | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate(Object, Vector3, Quaternion, Transform)
Description
Instantiate an object.
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
| position | Position | 
| rotation | Rotation | 
| parent | Parent Transform | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate(Object)
Description
Instantiate an object.
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate(Object, Transform)
Description
Instantiate an object.
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
| parent | Parent Transform | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate(Object, Transform, bool)
Description
Instantiate an object.
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
| parent | Parent Transform | 
| instantiateInWorldSpace | If when assigning the parent the original world position should be maintained. | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate<T>(T)
Description
Instantiate an object.
Type Parameters
| Type Parameter Name | Description | Type Constraints | 
|---|---|---|
| T | Object type | 
  | 
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate<T>(T, Vector3, Quaternion)
Description
Instantiate an object.
Type Parameters
| Type Parameter Name | Description | Type Constraints | 
|---|---|---|
| T | Object type | 
  | 
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
| position | Position | 
| rotation | Rotation | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate<T>(T, Vector3, Quaternion, Transform)
Description
Instantiate an object.
Type Parameters
| Type Parameter Name | Description | Type Constraints | 
|---|---|---|
| T | Object type | 
  | 
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
| position | Position | 
| rotation | Rotation | 
| parent | Parent Transform | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate<T>(T, Transform)
Description
Instantiate an object.
Type Parameters
| Type Parameter Name | Description | Type Constraints | 
|---|---|---|
| T | Object type | 
  | 
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
| parent | Parent Transform | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.
Instantiate<T>(T, Transform, bool)
Description
Instantiate an object.
Type Parameters
| Type Parameter Name | Description | Type Constraints | 
|---|---|---|
| T | Object type | 
  | 
Parameters
| Parameter Name | Description | 
|---|---|
| original | Original object | 
| parent | Parent Transform | 
| instantiateInWorldSpace | If when assigning the parent the original world position should be maintained. | 
Returns
Instantiated object
Remarks
If there is a pooled object, resume that object.
If there is no pool, it is newly instantiated by Object.Instantiate.