Эх сурвалжийг харах

剧情界面修改,茶话会转场界面修改

huangxiaoyue 1 жил өмнө
parent
commit
efcc46bd6e

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyShowView.cs

@@ -55,6 +55,7 @@ namespace GFGGame
             base.OnShown();
 
             timeIndex = 3;
+            _ui.m_txtCountdown.text = string.Format("½«ÔÚ{0}sºó½øÈëÏÂÒ»½×¶Î", timeIndex);
             GetRoleContainerInfos();
             Timers.inst.Add(1, 3, UpdateTime);
         }

+ 14 - 12
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryDialogView.cs

@@ -632,21 +632,23 @@ namespace GFGGame
 
         private void UpdateRoleObj(string value)
         {
-            var roleContainerList = LeagueDataManager.Instance.RoleContainerList;
-            MyDressUpHelper.dressUpObj.setSceneObj(_sceneObject, false, false);
+            if (IsTeaParty) { 
+                var roleContainerList = LeagueDataManager.Instance.RoleContainerList;
+                MyDressUpHelper.dressUpObj.setSceneObj(_sceneObject, false, false);
 
-            for (int i = 0; i < roleContainerList.Count; i++) {
-                for (int j = 0; j < roleContainerList[i].EquipIds.Count; j++) {
-                    ET.Log.Debug("打印测试-----六个人物------服装数据----" + roleContainerList[i].EquipIds[j]);
-                }
-                if (value == (i+1).ToString() && roleContainerList[i].EquipIds.Count > 0)
-                {
-                    MyDressUpHelper.dressUpObj.PutOnItemList(roleContainerList[i].EquipIds);
-                    return;
+                for (int i = 0; i < roleContainerList.Count; i++) {
+                    for (int j = 0; j < roleContainerList[i].EquipIds.Count; j++) {
+                        ET.Log.Debug("打印测试-----六个人物------服装数据----" + roleContainerList[i].EquipIds[j]);
+                    }
+                    if (value == (i+1).ToString() && roleContainerList[i].EquipIds.Count > 0)
+                    {
+                        MyDressUpHelper.dressUpObj.PutOnItemList(roleContainerList[i].EquipIds);
+                        return;
+                    }
                 }
-            }
 
-            MyDressUpHelper.dressUpObj.PutOnDefaultDressUpData(IsTeaParty);
+                MyDressUpHelper.dressUpObj.PutOnDefaultDressUpData(IsTeaParty);
+            }
         }
 
         private void UpdateMusic(string value)