Click or drag to resize

ObjectPoolControllerInstantiateWithoutPool Method (GameObject)

Instantiates the specified prefab without using pooling. from the pool.

Namespace:  (Default Namespace)
Assembly:  AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.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