Version: 2019.2

ExpressionEvaluator

class in UnityEditor

Switch to Manual

Description

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

Static Functions

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