ドキュメント

Unity Engine

Unity Engine

IndexOf(VisualElement)

Retrieves the child index of the specified VisualElement.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public int IndexOf(VisualElement element)

Parameters

The child element to retrieve.

Returns

Type

Description

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