Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Enum definitions... #41

Open
plasmalasgun opened this issue Jul 28, 2014 · 0 comments
Open

Support for Enum definitions... #41

plasmalasgun opened this issue Jul 28, 2014 · 0 comments

Comments

@plasmalasgun
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant