This commit is contained in:
陈向学 2024-08-28 16:32:25 +08:00
parent 01eea00395
commit 7c296885b4
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public class UI_CustomSessionPanel : BasePanel
this.triggerID = triggerID;
callBack += _callBack;
GetControl<TextMeshProUGUI>("ClientText_DialogBox").text = clientTalk /*"好的"*/;
UItext.text = GetControl<TextMeshProUGUI>("ClientText_DialogBox").text;
UItext = GetControl<TextMeshProUGUI>("ClientText_DialogBox");
StartTypewriterEffect();
}

View File

@ -21,7 +21,7 @@ public class UI_PlayerSessionPanel : BasePanel
this.triggerID = triggerID;
callBack += _callBack;
GetControl<TextMeshProUGUI>("PlayerText_DialogBox").text = clientTalk /*"ºÃµÄ"*/;
UItext.text = GetControl<TextMeshProUGUI>("PlayerText_DialogBox").text;
UItext = GetControl<TextMeshProUGUI>("PlayerText_DialogBox");
StartTypewriterEffect();
}