RegisteredComponent Class

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
Derive your MonoBehaviour class from RegisteredComponent and all references to instances of this component will be saved in an internal array. Use GetAllOfType<(Of <<'(T>)>>)()()()() to retrieve this array, which is much faster than using Unity's GameObject.FindObjectsOfType() function.

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

Syntax

C#
public abstract class RegisteredComponent : MonoBehaviour, 
	IRegisteredComponent

Inheritance Hierarchy

System..::..Object
  Object
    Component
      Behaviour
        MonoBehaviour
          (Default Namespace)..::..RegisteredComponent
            (Default Namespace)..::..AudioObject

See Also