UxrComponent<T>.AllComponents Property
Gets all the components of this specific type, enabled or not, in all open scenes.
Namespace: UltimateXR.Core.Components
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static IReadOnlyList<T> AllComponents { get; }
Property Value
Type: IReadOnlyList(T)
Remarks
Components that have never been enabled are not returned. Components are automatically registered through their Awake() call, which is never called if the object has never been enabled. In this case it is recommended to resort to GetComponentsInChildren1(Boolean) or FindObjectsOfType
1(Boolean).