ClockStone Audio Toolkit for Unity - Documentation
RegisteredComponentControllerInstanceCountOfTypeT Method |
Return the number of all currently existing instances of the class T,
where T must be a RegisteredComponent
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public static int InstanceCountOfType<T>() where T : IRegisteredComponent
Type Parameters
- T
- a class derived from RegisteredComponent
Return Value
Type: Int32The number of instances.
See Also