ClockStone Audio Toolkit for Unity - Documentation
RegisteredComponentController Class |
This controller provides fast access to all currently existing RegisteredComponent instances.

Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)

C#
public static class RegisteredComponentController
The RegisteredComponentController type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() | GetAllOfType(Type) |
Retrieves an array of all currently existing instances of the class with type type,
(type must be a RegisteredComponent )
|
![]() ![]() | GetAllOfTypeT |
Retrieves an array of all currently existing instances of the class T,
where T must be a RegisteredComponent |
![]() ![]() | InstanceCountOfTypeT |
Return the number of all currently existing instances of the class T,
where T must be a RegisteredComponent |

The function GetAllOfTypeT is understood as a replacement for Unity's
slow GameObject.FindObjectsOfType() function.
