GetFirstAncestorOfType<T>()
Walks up the hierarchy, starting from this element's parent, and returns the first VisualElement of this type
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public T GetFirstAncestorOfType<T>() where T : class
Returns
Type | Description |
|---|---|
| T |