Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ISelectorInfo

Contains all the necessary information for evaluating a selector.
Read time 1 minuteLast updated 19 days ago

Definition

public interface ISelectorInfo

Remarks

When evaluating "{Items.Length}", the CurrentValue might be Items, and the Selector would be "Length". The job of an ISource is to set CurrentValue to Items.Length.

Properties

Property

Description

CurrentValueThe current value to evaluate.
FormatDetailsInfrequently used details, often used for debugging
PlaceholderContains all the details about the current placeholder.
ResultThe result of evaluating the selector.
SelectorIndexThe index of the selector in a multi-part selector. Example: {Person.Birthday.Year} has 3 selectors, and Year has a SelectorIndex of 2.
SelectorOperatorThe operator that came before the selector; typically "."
SelectorTextThe selector to evaluate