DarkRewar / BaseTool

A big library of basic tools that you might need in your Unity projects.
MIT License
41 stars 6 forks source link

Check Condition Using DynamicExpresso dll #74 #96

Closed DarkRewar closed 4 months ago

DarkRewar commented 4 months ago

I decided to include DynamicExpresso library, that I compiled to a DLL, to make this feature working.

It is now possible to use string as expressions:

public enum MyEnum { A, B }

public MyEnum Value;

[If("Value == MyEnum.A")]
public string Displayed;