UxrAvatarComponent<T>.AllComponentsInLocalAvatar Property

Gets all the components, enabled or not, of this specific type that belong to the local avatar.

Namespace: UltimateXR.Core.Components.Composite
Assembly: UltimateXR (in UltimateXR.dll) Version:



public static IEnumerable<T> AllComponentsInLocalAvatar { get; }

Property Value

Type: IEnumerable(T)


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 GetComponentsInChildren.

See Also


UxrAvatarComponent<T> Class
UltimateXR.Core.Components.Composite Namespace