对话回顾
This commit is contained in:
@@ -3,7 +3,6 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using AibisDream.Kit;
|
||||
using UnityEngine;
|
||||
using Yarn.Unity;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
@@ -18,9 +17,6 @@ namespace AibisDream
|
||||
|
||||
private IDialogView _actorBubble;
|
||||
|
||||
// 应该会有自定义位置的泡泡,但目前还没想好怎么做
|
||||
private Dictionary<string, IDialogView> _customBubblePool = new();
|
||||
|
||||
private List<IDialogView> _dialogViews;
|
||||
|
||||
private IDialogView _currentView;
|
||||
@@ -52,7 +48,7 @@ namespace AibisDream
|
||||
_currentView.ShowLine(dialogLine, character, nextStep, onTextShowed, isAutoSkip);
|
||||
}
|
||||
|
||||
public void ShowOptions(DialogueOption[] dialogueOptions, Action<int> onOptionSelected)
|
||||
public void ShowOptions(DialogOption[] options)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
_currentView = _normalBox;
|
||||
@@ -61,7 +57,7 @@ namespace AibisDream
|
||||
ProcessOtherBox();
|
||||
|
||||
// 展示选项
|
||||
_normalBox.ShowOptions(dialogueOptions, onOptionSelected);
|
||||
_normalBox.ShowOptions(options);
|
||||
}
|
||||
|
||||
public void HideDialog()
|
||||
|
||||
Reference in New Issue
Block a user