UniLua
UniLua copied to clipboard
Support for Enum definitions...
In unity_engine.lua:_init(_ENV) You can define unity enums as a class and pass objects around of the enum types ("LighType","TouchPhase" comes into mind) however cannot adress each of the enumerators( In the case of of Touchphase: Began Moved Stationary Ended ...)
touchObj1.phase == touchObj2.phase --works touchObj1.phase == TouchPhase.Began --dont work