Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


supportExpressions

Indicates whether the field supports expressions that can be evaluated into a value.
Read time 1 minuteLast updated 10 days ago

Definition

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.