UI工具翻新
1. 增加UI工具 2. 增加设置页面 3. GameLoop更新 4. 导入ActionKit工具
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream.Kit;
|
||||
using TMPro;
|
||||
@@ -198,7 +199,7 @@ namespace AibisDream
|
||||
|
||||
#region 对话回顾
|
||||
|
||||
[Header("对话回顾组件")] [SerializeField] private TMP_Text logText;
|
||||
private StringBuilder DialogRecord => UIManager.Instance.GetPanel<RecordPanel>().recordStr;
|
||||
|
||||
/// <summary>
|
||||
/// 记录对话
|
||||
@@ -206,12 +207,12 @@ namespace AibisDream
|
||||
/// <param name="line">对话</param>
|
||||
private void AddDialogueLine(DialogText line)
|
||||
{
|
||||
logText.text += line.GetDialogText();
|
||||
DialogRecord.Append(line.GetDialogText());
|
||||
}
|
||||
|
||||
private void CleanDialogHistory()
|
||||
{
|
||||
logText.text = null;
|
||||
DialogRecord.Clear();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user