supportExpressions
Indicates whether the field supports expressions that can be evaluated into a value.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public bool supportExpressions { get; set; }
Remarks
Expressions are mathematical or logical constructs, such as "1+1" or "5"2", which can be processed to produce a result. When this property is enabled, the field accepts additional characters required for expressions (e.g., '+', '-', '"', '/', etc.), expanding its functionality beyond the typical restrictions of a text field that might otherwise only allow digits.