EventSystem扩展
This commit is contained in:
@@ -91,11 +91,11 @@ namespace AibisDream
|
||||
bool isAutoSkip = false)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
// 没有dialogText说明不能显示对话,直接跳过
|
||||
if (!dialogText)
|
||||
{
|
||||
return;
|
||||
}
|
||||
// // 没有dialogText说明不能显示对话,直接跳过
|
||||
// if (!dialogText)
|
||||
// {
|
||||
// return;
|
||||
// }
|
||||
|
||||
// 把原有对话清掉
|
||||
ClearBox();
|
||||
@@ -126,8 +126,9 @@ namespace AibisDream
|
||||
if (_nextStep == null) return;
|
||||
|
||||
EnumEventSystem.Global.Send(DialogEventEnum.LineEnd);
|
||||
_nextStep.Invoke();
|
||||
var next = _nextStep;
|
||||
_nextStep = null;
|
||||
next.Invoke();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user