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

VisualElement.Hierarchy.IndexOf

マニュアルに切り替える
public int IndexOf (Experimental.UIElements.VisualElement element);

パラメーター

elementThe element to return the index for.

戻り値

int Returns the index of the element, or -1 if the element is not found.

説明

Retrieves the index of the specified VisualElement in the Hierarchy.