diff --git a/Assets/AndroidUpdate.cs b/Assets/AndroidUpdate.cs index 94c3c9bb..87f337a5 100644 --- a/Assets/AndroidUpdate.cs +++ b/Assets/AndroidUpdate.cs @@ -124,7 +124,7 @@ public class AndroidUpdate : PFUIPanel var activity = jc.GetStatic("currentActivity"); //Debug.Log("打开apk"+ "file://" + path); activity.Call("OpenApk", path); - Application.Quit(); + //Application.Quit(); #endif } } diff --git a/Assets/Scripts/Utils/Utils.cs b/Assets/Scripts/Utils/Utils.cs index 2ffb8dae..62e8e6a4 100644 --- a/Assets/Scripts/Utils/Utils.cs +++ b/Assets/Scripts/Utils/Utils.cs @@ -234,6 +234,10 @@ namespace Assets.Scripts { return true; } + else if (ai > bi) + { + return false; + } } return false; }