This version of Unity is unsupported.

ExpressionEvaluator

class in UnityEditor

Description

Evaluates simple math expressions; supports int / float and operators: + - * / % ^ ( ).

Static Methods

EvaluateEvaluates a math expression and returns the result as a float or int.