View on Asset Store (opens in new tab)
Package details
- Latest version
- 3.0.2
- Last updated
- First released
- Unity version
- 3.4.0 or later
- Package size
- 221 KB
- Files
- 130
- Favorites
- 162
- Views in the past week
- 31
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $7.00 on
Keywords
C# Eval()
Easy to use C# expression parser and executor. This package includes source code of parser, compiler and examples.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
C# Eval() screenshot 1
About this asset
Easy to use C# expression parser and executor.
This package includes source code of parser, compiler and examples.
[Source Code] [Documentation] [Forum Thread]
Use cases:
- Scriptable logic
- Math evaluation (a basic arithmetic)
- Dynamic code execution
Based on System.Linq.Expressions. Documentation and examples are included.
Compatible with:
- Unity 3, Unity 4, Unity 5, Unity 2017, Unity 2018, Unity 2021, Unity 6+
- PC, Mac, Linux, Unity Editor
- Web Player, WebGL, Windows Store
- iOS, Android, Windows Phone
- IL2CPP
Parser features:
- Arithmetic operations
- Bitwise operations
- Logical operations
- Method/Delegate/Constructor call
- Indexers
- Expression grouping with parentheses
- Power operator **
- "true", "false", "null"
- Object and Collection Initializers
Supported expressions:
- Any non-lambda expression from System.Linq.Expressions v.3.5.
- System.Func<> and System.Action<> only lambda expressions due limitation of static code compliler.
From the publisher's Asset Store listing.