기술 자료

Unity Engine

Unity Engine

Selector

Represents a single selector in a Placeholder. E.g.: {selector0.selector1?.selector2}, while "." and "?." and "?[]" are operators.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public class Selector : FormatItem

Properties

Property

Description

OperatorGets the operator characters.
SelectorIndexThe index of the selector in a multi-part selector. Example: {Person.Birthday.Year} has 3 selectors, and Year has a SelectorIndex of 2.

Methods

Method

Description

ClearClears the Selector. This method gets called by SelectorPool when it releases an instance.
InitializeInitializes this Selector instance.

Inheritance