UxrComponent<TP, TC>.AllChildrenFromParent Property

Gets all the components, enabled of not, of this specific type that hang from the same parent.

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

Syntax

C#

public IEnumerable<TC> AllChildrenFromParent { get; }

Property Value

Type: IEnumerable(TC)

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``1(Boolean).

See Also

Reference

UxrComponent<TP, TC> Class
UltimateXR.Core.Components Namespace