Class Selector
Represents a single selector in the text in a Placeholder that comes before the colon.
Inherited Members
Namespace: UnityEngine.Localization.SmartFormat.Core.Parsing
Syntax
public class Selector : FormatItem
Properties
Operator
The operator that came before the selector; typically "."
Declaration
public string Operator { get; }
Property Value
Type | Description |
---|---|
String |
SelectorIndex
The index of the selector in a multi-part selector. Example: {Person.Birthday.Year} has 3 seletors, and Year has a SelectorIndex of 2.
Declaration
public int SelectorIndex { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Clear()
Declaration
public override void Clear()