Exemple #1
0
 /// <summary>
 /// 打包体后的回调
 /// </summary>
 public static void OnAfterBuildPackage(BuildParams buildParam, bool success)
 {
     SceneTool.RefreshSettingList(false);
     if (onAfterBuildPackage != null)
     {
         onAfterBuildPackage(buildParam);
     }
 }
Exemple #2
0
 /// <summary>
 /// 打包体前的回调
 /// </summary>
 public static void OnBeforeBuildPackage(BuildParams buildParam)
 {
     if (onBeforeBuildPackage != null)
     {
         onBeforeBuildPackage(buildParam);
     }
     SceneTool.RefreshSettingList(true);
     EditorSceneManager.OpenScene(buildParam.startScene);
 }