소스 검색

Merge branch 'master' of http://192.168.123.2:3000/ck/XiuXianGame

DESKTOP-FB72PO8\Administrator 4 일 전
부모
커밋
f5e2adb35b
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 3
      Assets/Scripts/GameUI/UI/CombatPanel/WuXingGongFaWidget.cs
  2. 2 2
      Assets/Scripts/GameUI/UI/DialoguePanel/DialoguePanel.cs

+ 3 - 3
Assets/Scripts/GameUI/UI/CombatPanel/WuXingGongFaWidget.cs

@@ -95,7 +95,7 @@ namespace Fort23.Mono
 
                 if (isFengShuo)
                 {
-                    fengjingXX.SetActive(true);
+                    fengjingXX?.SetActive(true);
                 }
             }
         }
@@ -149,7 +149,7 @@ namespace Fort23.Mono
 
                 if (isFengShuo)
                 {
-                    fengjingXX.SetActive(false);
+                    fengjingXX?.SetActive(false);
                 }
             }
         }
@@ -160,7 +160,7 @@ namespace Fort23.Mono
 
         public void ShowWidget(int index)
         {
-            fengjingXX.SetActive(false);
+            fengjingXX?.SetActive(false);
             this.index = index;
             switch (index)
             {

+ 2 - 2
Assets/Scripts/GameUI/UI/DialoguePanel/DialoguePanel.cs

@@ -341,8 +341,8 @@ namespace Fort23.Mono
 
         public void Update()
         {
-            if (EventSystemManager.Instance.isOpenUi && eventConditionConfig.ID != 0)
-                return;
+            // if (EventSystemManager.Instance.isOpenUi && eventConditionConfig.ID != 0)
+            //     return;
 
             if (!_isUpdate) return;