Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Selector

Represents a single selector in a Placeholder. E.g.: {selector0.selector1?.selector2}, while "." and "?." and "?[]" are operators.
Read time 1 minuteLast updated 11 days ago

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