ObjectPoolController.InstantiateWithoutPool Method (GameObject)

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
Instantiates the specified prefab without using pooling. from the pool.

Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public static GameObject InstantiateWithoutPool(
	GameObject prefab
)

Parameters

prefab
Type: GameObject
The prefab to be instantiated.

Return Value

Type: GameObject
An instance of the prefab.

Remarks

If the prefab is poolable, the PoolableObject component will be removed. This way no warning is generated that a poolable object was created without pooling.

See Also