|
@@ -337,5 +337,11 @@ namespace GFGGame
|
|
|
ViewManager.Show<MainUIView>(null, null, true);
|
|
|
}
|
|
|
|
|
|
+ public static void ShowExitAlert()
|
|
|
+ {
|
|
|
+ AlertSystem.Show("我会想你的")
|
|
|
+ .SetLeftButton(true, "继续游戏")
|
|
|
+ .SetRightButton(true, "退出游戏", (object data) => { Application.Quit(); });
|
|
|
+ }
|
|
|
}
|
|
|
}
|