Version: 2020.1
public int IndexOf (UIElements.VisualElement element);

パラメーター

elementThe element to return the index for.

戻り値

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

説明

Retrieves the index of the specified VisualElement in the Hierarchy.