소스 검색

神都辰游套装显示问题修改

zhangyuqian 1 년 전
부모
커밋
8ea5d1dbf1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      GameClient/Assets/Game/HotUpdate/Views/Common/Controller/LuckyBoxController.cs

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Common/Controller/LuckyBoxController.cs

@@ -230,7 +230,7 @@ namespace GFGGame
         private void ShowModel()
         {
             ChangeModelAlphaAnim(_index, 0, 1);
-            Transform obj = _dressUpObjUIs[_index].sceneObject.transform.Find("Role/Body_eff");
+            Transform obj = _dressUpObjUIs[_index].sceneObject.transform.Find("Role");
             if(obj != null)
             {
                 obj.gameObject.SetActive(true);
@@ -241,7 +241,7 @@ namespace GFGGame
         {
             InitModel(_index);
             ChangeModelAlphaAnim(_index, 1, 0);
-            Transform obj = _dressUpObjUIs[_index].sceneObject.transform.Find("Role/Body_eff");
+            Transform obj = _dressUpObjUIs[_index].sceneObject.transform.Find("Role");
             if(obj != null)
             {
                 obj.gameObject.SetActive(false);