提交 50a5d52a 编写于 作者: F forsakenyang 提交者: chexiongsheng

修改:兼容5.x版本的打包接口 (#416)

* 修正:WWW.threadPriority在WebGL下不可用,加入导出黑名单

* 修正:在LuaEnv释放时,lua_close需要在移除L之后,避免lua_gl得到错误的gl

* 修改:兼容5.x版本的打包接口
上级 49ea7177
...@@ -33,13 +33,12 @@ public static class BuildFromCLI ...@@ -33,13 +33,12 @@ public static class BuildFromCLI
DelegateBridge.Gen_Flag = true; DelegateBridge.Gen_Flag = true;
Generator.ClearAll(); Generator.ClearAll();
Generator.GenAll(); Generator.GenAll();
var options = new BuildPlayerOptions
{ var levels = new string[0];
target = BuildTarget.StandaloneWindows64, var locationPathName = string.Format("{0}/{1}", outputDir, packageName);
targetGroup = BuildTargetGroup.Standalone, var target = BuildTarget.StandaloneWindows64;
locationPathName = string.Format("{0}/{1}", outputDir, packageName) var options = BuildOptions.None;
}; BuildPipeline.BuildPlayer(levels,locationPathName,target,options);
BuildPipeline.BuildPlayer(options);
Debug.Log("构建完成"); Debug.Log("构建完成");
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册