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