Publisher | IK Tools |
---|---|
File size | 151.55kB |
Number of files | 42 |
Latest version | 1 |
Latest release date | 2022-03-21 10:18:44 |
First release date | 2020-07-27 10:59:11 |
Supported Unity versions | 2018.4.2 or higher |
A scripting library for parsing mathematical expressions from string to run-time function. Make your Unity project even more moddable by moving whole functions to data files outside of code.
Documentation
Expression syntax is simple and designed around common game formulas. The powerful variable system allows formulas to quickly access values directly from run-time objects and without the necessity to know upfront exactly which values are needed for which formula.
Compatible with:
- Windows, Mac, Linux, Unity Editor, WebGL, iOS, Android, Windows Phone, UWP
- IL2CPP and Mono
- High level of code stripping
- Supported operators: +, -,*, /, \, %, ^, &, |, @, =, <>, <, <=, >, >=
- Comparison with optional tolerance: x = y ~ 0.01
- Lookup syntax: i [a, b, c]
- Conditional operands: 10 + 5 ? (lvl > 2)
- Extendable function set
- Built-in functions: abs, case, ceil, floor, if, limit, log, max, min, ratio, round, sgn, trunc
- System.Linq.Expressions compilation and JIT optimization on platforms that support it
Requires .Net Framework 4.0 or .Net Standard 2.0.
Documentation
Expression syntax is simple and designed around common game formulas. The powerful variable system allows formulas to quickly access values directly from run-time objects and without the necessity to know upfront exactly which values are needed for which formula.
Compatible with:
- Windows, Mac, Linux, Unity Editor, WebGL, iOS, Android, Windows Phone, UWP
- IL2CPP and Mono
- High level of code stripping
- Supported operators: +, -,*, /, \, %, ^, &, |, @, =, <>, <, <=, >, >=
- Comparison with optional tolerance: x = y ~ 0.01
- Lookup syntax: i [a, b, c]
- Conditional operands: 10 + 5 ? (lvl > 2)
- Extendable function set
- Built-in functions: abs, case, ceil, floor, if, limit, log, max, min, ratio, round, sgn, trunc
- System.Linq.Expressions compilation and JIT optimization on platforms that support it
Requires .Net Framework 4.0 or .Net Standard 2.0.