文档

Unity Engine

Unity Engine

Selector

Represents a single selector in a Placeholder. E.g.: {selector0.selector1?.selector2}, while "." and "?." and "?[]" are operators.
阅读时间1 分钟最后更新于 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