기술 자료

Unity Engine

Unity Engine

parent

The parent of this VisualElement.
읽는 시간 1분최근 업데이트: 20일 전

Definition

public VisualElement parent { get; }

Remarks

Unlike the VisualElement.Hierarchy.parent property, this property reflects for logical hierarchy. For example, if you add an element to a ScrollView, the logical parent of this element is the ScrollView itself, whereas the physical parent returned by the VisualElement.Hierarchy.parent property returns a child of ScrollView which acts as the parent of your element.