FMOD功能迁移
This commit is contained in:
@@ -15,7 +15,6 @@ namespace AibisDream
|
||||
|
||||
private bool _skipLineDelay;
|
||||
private Action _nextStep;
|
||||
private Action _onTextShowed;
|
||||
private bool _isAutoSkip;
|
||||
private ActorRole _curRole;
|
||||
|
||||
@@ -55,8 +54,7 @@ namespace AibisDream
|
||||
|
||||
#endregion
|
||||
|
||||
public void ShowLine(string dialogLine, CharacterVo character, Action nextStep, Action onTextShowed = null,
|
||||
bool isAutoSkip = false)
|
||||
public void ShowLine(string dialogLine, CharacterVo character, Action nextStep, bool isAutoSkip = false)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
|
||||
@@ -80,7 +78,6 @@ namespace AibisDream
|
||||
|
||||
// 保留信息
|
||||
_nextStep = nextStep;
|
||||
_onTextShowed = onTextShowed;
|
||||
_isAutoSkip = isAutoSkip;
|
||||
_curRole = character.role;
|
||||
}
|
||||
@@ -131,8 +128,6 @@ namespace AibisDream
|
||||
{
|
||||
// 触发事件
|
||||
EnumEventSystem.Global.Send(DialogEventEnum.LineShown);
|
||||
// 停止语音
|
||||
_onTextShowed?.Invoke();
|
||||
|
||||
// 执行自动跳过结局
|
||||
if (_isAutoSkip)
|
||||
|
||||
Reference in New Issue
Block a user