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: 0.0.0.0

Syntax

C#

public static IEnumerable<T> AllComponentsInLocalAvatar { get; }

Property Value

Type: IEnumerable(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 GetComponentsInChildren.

See Also

Reference

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