PoolableReference(T).Set Method (T, Boolean)

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
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.

See Also