| | |
| | | /// <param name="_replace">ios打包导出xcode工程模式,Append和Replace</param>
|
| | | public static void BuildPublishers(string _sdkPath, string _assetBundlePath, string _output, string _publisherString, int _buildIndex, bool _development, bool _replace)
|
| | | {
|
| | |
|
| | | var publisherIds = new List<string>();
|
| | | var tempStrings = _publisherString.Split(StringUtility.splitSeparator, StringSplitOptions.RemoveEmptyEntries);
|
| | |
|
| | |
| | | PlayerSettings.allowedAutorotateToPortraitUpsideDown = false;
|
| | | PlayerSettings.bundleVersion = VersionConfig.GetVersionNumber(newVersionConfig.version).ToString();
|
| | |
|
| | | if (GetBuildTarget() == BuildTargetGroup.Android)
|
| | | {
|
| | | //生成ILruntiemd CLR 绑定代码
|
| | | ILRuntimeCLRBinding.GenerateCLRBindingByTypes();
|
| | |
|
| | | CSObjectWrapEditor.Generator.ClearAll();
|
| | | CSObjectWrapEditor.Generator.GenAll();
|
| | | }
|
| | | //生成ILruntiemd CLR 绑定代码
|
| | | ILRuntimeCLRBinding.GenerateCLRBindingByAnalysis();
|
| | |
|
| | | AssetDatabase.SaveAssets();
|
| | | AssetDatabase.Refresh();
|