Browse Source

修改bug

lzx 2 days ago
parent
commit
946b90931d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Assets/Scripts/GameUI/UI/DialoguePanel/DialoguePanel.cs

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

@@ -179,7 +179,7 @@ namespace Fort23.Mono
                 DialgueType3.gameObject.SetActive(false);
                 showText = message;
                 shownextIcon = nextIcon;
-                messageShowType = ShowDialogueEventData.MessageShowType.Verbatim;
+                this.messageShowType = ShowDialogueEventData.MessageShowType.Verbatim;
             }
             else if (eventConditionConfig.DialogueType == 2)
             {
@@ -188,7 +188,7 @@ namespace Fort23.Mono
                 DialgueType2.gameObject.SetActive(true);
                 showText = message2;
                 shownextIcon = nextIcon2;
-                messageShowType = ShowDialogueEventData.MessageShowType.Verbatim;
+                this.messageShowType = ShowDialogueEventData.MessageShowType.Verbatim;
             }
             else if (eventConditionConfig.DialogueType == 3)
             {
@@ -197,7 +197,7 @@ namespace Fort23.Mono
                 DialgueType3.gameObject.SetActive(true);
                 showText = message3;
                 shownextIcon = nextIcon3;
-                messageShowType = ShowDialogueEventData.MessageShowType.Default;
+                this.messageShowType = ShowDialogueEventData.MessageShowType.Default;
             }
 
             if (eventConditionConfig.NPCID == 100)