Explorar el Código

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

zhangyuqian hace 1 año
padre
commit
8ea5d1dbf1

+ 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);