기술 자료

Unity Engine

Unity Engine

IndexOf(VisualElement)

Retrieves the child index of the specified VisualElement.
읽는 시간 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.