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
Unity2019.2导出集合相关接口时编译报错。 看导出的源码,是SLua多导出了几个方法。 比如Dictionary,多了两个个构造方法,其中一个参数是 IEnumerable<System.Collections.Generic.KeyValuePair<System.Int32,System.String>>;
多导出一个方法:public bool Remove (TKey key, out TValue value);
The text was updated successfully, but these errors were encountered:
问题会出现在当Scripting Runtime Version选择.Net 4.x时(Unity 2019.2.6中这项设置貌似移除了),如下图:
Scripting Runtime Version
.Net 4.x
Unity运行时加载的dll是Unity安装路径\Editor\Data\MonoBleedingEdge\lib\mono\unityjit\mscorlib.dll 如下图:
Unity安装路径\Editor\Data\MonoBleedingEdge\lib\mono\unityjit\mscorlib.dll
Unity编译时加载的dll是Unity安装路径\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\mscorlib.dll 如下图:
Unity安装路径\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api\mscorlib.dll
.Net 3.5
Sorry, something went wrong.
No branches or pull requests
Unity2019.2导出集合相关接口时编译报错。 看导出的源码,是SLua多导出了几个方法。
比如Dictionary,多了两个个构造方法,其中一个参数是
IEnumerable<System.Collections.Generic.KeyValuePair<System.Int32,System.String>>;
多导出一个方法:public bool Remove (TKey key, out TValue value);
The text was updated successfully, but these errors were encountered: