







![]() |
ClockStone Audio Toolkit for Unity - Documentation |
PoolableReference<(Of <(<'T>)>)>..::..Set Method (T, Boolean) |
PoolableReference<(Of <(<'T>)>)> Class See Also Send Feedback |
![]() |
Sets the reference to a poolable object with the specified component.
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.0.0)
Syntax
C# |
---|
public void Set( T componentOfPoolableObject, bool allowNonePoolable ) |
Parameters
- componentOfPoolableObject
- Type: T
The component of the poolable object.
- allowNonePoolable
- Type: System..::..Boolean
If set to false an error is output if the object does not have the PoolableObject component.