기술 자료

Unity Engine

Unity Engine

IndexOf(VisualElement)

Retrieves the index of the specified VisualElement in the Hierarchy.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public int IndexOf(VisualElement element)

Parameters

The element to return the index for.

Returns

Type

Description

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