We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我从文档中看到枚举类型有一个 __CastFrom 方法,但是反方向呢?我有一个枚举值,想要它的原始值(在这个例子中是 int)。我无法弄清楚如何在 Lua 中获得它。我看到它是一个用户数据值,但没有看到任何获取原始值的方法。
The text was updated successfully, but these errors were encountered:
CS.System.Convert.ToInt32(enumValue)
Sorry, something went wrong.
No branches or pull requests
我从文档中看到枚举类型有一个 __CastFrom 方法,但是反方向呢?我有一个枚举值,想要它的原始值(在这个例子中是 int)。我无法弄清楚如何在 Lua 中获得它。我看到它是一个用户数据值,但没有看到任何获取原始值的方法。
The text was updated successfully, but these errors were encountered: