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

パラメーター

elementThe 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.