Version: 2018.4
Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.GetFirstAncestorOfType

マニュアルに切り替える
public T GetFirstAncestorOfType ();

説明

Walks up the hierarchy, starting from this element's parent, and returns the first VisualElement of this type