기술 자료

Unity Engine

Unity Engine

GetRootElementForIndex(int)

Gets the root element of the specified collection view item.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public VisualElement GetRootElementForIndex(int index)

Parameters

index

The item index.

Returns

Type

Description

VisualElementThe item's root element.

Remarks

This method provides an entry point to re-style elements added by Unity over the user-driven content. Ex. the drag handle in a ListView, or the Toggle in a TreeView.