기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetFirstAncestorOfType<T>()

Walks up the hierarchy, starting from this element's parent, and returns the first VisualElement of this type
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public T GetFirstAncestorOfType<T>() where T : class

Returns

Type

Description

T