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

パラメーター

element The child to return the index for.

戻り値

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

説明

Retrieves the child index of the specified VisualElement.