







![]() |
ClockStone Audio Toolkit for Unity - Documentation |
ObjectPoolController..::..InstantiateWithoutPool Method (GameObject) |
ObjectPoolController Class See Also Send Feedback |
![]() |
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: GameObjectAn 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.