Selaa lähdekoodia

战斗退出弹框中“是”和“否”左右换位置

zhaoyang 3 vuotta sitten
vanhempi
commit
840ea86cc1

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

@@ -198,7 +198,7 @@ namespace GFGGame
         private void OnClickBtnBack()
         {
             Alert.Show("是否确定退出?")
-            .SetLeftButton(true, "是", (object data) =>
+            .SetLeftButton(true, "否").SetRightButton(true, "是", (object data) =>
             {
                 if (_levelCfg.type == ConstInstanceZonesType.Studio)
                 {
@@ -216,7 +216,7 @@ namespace GFGGame
                 EquipDataCache.cacher.TakeOffAll();
 
                 this.Hide();
-            }).SetRightButton(true, "否");
+            });
 
             // ViewManager.Show(ViewName.STORY_CHAPTER_VIEW, StoryDataManager.currentChapter);
 
@@ -225,12 +225,12 @@ namespace GFGGame
         private void OnClickBtnHome()
         {
             Alert.Show("是否返回?")
-           .SetLeftButton(true, "是", (object data) =>
+           .SetLeftButton(true, "否").SetRightButton(true, "是", (object data) =>
            {
                EquipDataCache.cacher.TakeOffAll();
 
                GameController.GoBackToMainView();
-           }).SetRightButton(true, "否");
+           });
         }
 
         private void OnClickBtnClothingShop()