Merge branch 'bugfix/地铁资产替换' into 'develop'

Bugfix/地铁资产替换

See merge request aibis-dream/aibis-dream!492
This commit is contained in:
2025-06-24 07:12:03 +00:00
55 changed files with 2993 additions and 639 deletions
@@ -46,6 +46,14 @@ namespace AibisDream
public void ShowLine(string dialogLine, CharacterVo character, Action nextStep, string lineId,
bool isAutoSkip = false)
{
if (_taskDict.ContainsKey(lineId))
{
EnumEventSystem.Global.Send(DialogEventEnum.LineShown);
EnumEventSystem.Global.Send(DialogEventEnum.LineEnd);
nextStep.Invoke();
return;
}
var taskItem = Instantiate(_taskItemPrefab, _taskListParent);
var task = taskItem.GetComponent<TMP_Text>();
task.text = $"\u25cf {dialogLine}";