기술 자료

Unity Engine

Unity Engine

this[]

Returns the element at the specified index in the hierarchy
읽는 시간 1분최근 업데이트: 한 달 전

Definition

this[int]

public VisualElement this[int key] { get; }

Parameters

key

The index of the child

Returns

Type

Description

VisualElementThe VisualElement at this index

Remarks

Throws an IndexOutOfRangeException exception if the index is invalid.