ClockStone Audio Toolkit for Unity - Documentation
PoolableReferenceTSet Method (T, Boolean) |
Sets the reference to a poolable object with the specified component.
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public void Set( T componentOfPoolableObject, bool allowNonePoolable )
Parameters
- componentOfPoolableObject
- Type: T
The component of the poolable object. - allowNonePoolable
- Type: SystemBoolean
If set to false an error is output if the object does not have the PoolableObject component.
See Also