android打包脚本修改提交
parent
97ab62f554
commit
2ee3e8f2c5
|
@ -134,7 +134,8 @@ public class AutoPack : EditorWindow
|
|||
buildPlayerOptions.target = BuildTarget.iOS;
|
||||
// 调用开始打包
|
||||
BuildPipeline.BuildPlayer(buildPlayerOptions);
|
||||
|
||||
Debug.Log("打包完成");
|
||||
Debug.Log("导出工程路径:"+ outPath);
|
||||
if (Directory.Exists(mainXcodePath))
|
||||
{
|
||||
Debug.Log("替换xcode资源");
|
||||
|
|
|
@ -275,6 +275,7 @@ public class App : UnitySingleton<App>
|
|||
/// <param name="hasFocus"></param>
|
||||
void OnApplicationFocus(bool hasFocus)
|
||||
{
|
||||
Debug.Log("App.cs OnApplicationFocus");
|
||||
Util.CallMethod("Game", "OnApplicationFocus", hasFocus);
|
||||
}
|
||||
|
||||
|
@ -284,6 +285,7 @@ public class App : UnitySingleton<App>
|
|||
/// <param name="pauseStatus"></param>
|
||||
void OnApplicationPause(bool pauseStatus)
|
||||
{
|
||||
Debug.Log("App.cs OnApplicationPause");
|
||||
Util.CallMethod("Game", "OnApplicationPause", pauseStatus);
|
||||
}
|
||||
|
||||
|
@ -292,6 +294,7 @@ public class App : UnitySingleton<App>
|
|||
/// </summary>
|
||||
void OnApplicationQuit()
|
||||
{
|
||||
Debug.Log("App.cs OnApplicationQuit");
|
||||
Util.CallMethod("Game", "OnApplicationQuit");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue