单空格变多空格
This commit is contained in:
@@ -89,7 +89,7 @@ namespace AibisDream.FixSystem
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(dialogLine))
|
||||
{
|
||||
dialogLine = " ";
|
||||
dialogLine = " ";
|
||||
}
|
||||
ShowTitle(character.GetActorName());
|
||||
// 生成新文本组件
|
||||
@@ -105,6 +105,7 @@ namespace AibisDream.FixSystem
|
||||
_lineQueue.Enqueue(textItemTypewriter);
|
||||
|
||||
// 播放文本
|
||||
Debug.Log($"Screen {dialogLine}");
|
||||
textItemTypewriter.ShowText(dialogLine);
|
||||
textItemTypewriter.onTextShowed.AddListener(() => AfterLineShown(textItemTypewriter, nextStep));
|
||||
// 强制更新布局
|
||||
@@ -113,9 +114,11 @@ namespace AibisDream.FixSystem
|
||||
|
||||
private void AfterLineShown(TypewriterByCharacter typewriter, Action nextStop)
|
||||
{
|
||||
Debug.Log("Screen Shown");
|
||||
EnumEventSystem.Global.Send(DialogEventEnum.LineShown);
|
||||
ActionKit.Delay(0.3f, () =>
|
||||
{
|
||||
Debug.Log("Screen Shown Next");
|
||||
EnumEventSystem.Global.Send(DialogEventEnum.LineEnd);
|
||||
nextStop.Invoke();
|
||||
}).StartGlobal();
|
||||
|
||||
Reference in New Issue
Block a user