ドキュメント

Unity Engine

Unity Engine

supportExpressions

Indicates whether the field supports expressions that can be evaluated into a value.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.