fix(yarn): 修正 Yarn 对话中 Timeline 调用路径并更新指令
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Collections;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using AibisDream.FixSystem;
|
||||
using AibisDream;
|
||||
@@ -165,19 +165,19 @@ namespace AibisDream.MiniGame.Language
|
||||
yield return ExpressionManager.StartCoroutine(ExpressionManager.TransitionGlitchAndWait(to, duration));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Glitch 噪波过渡(指定起止值),等待完成后再继续下一步。
|
||||
/// </summary>
|
||||
[YarnCommand("glitch_transition")]
|
||||
public static IEnumerator GlitchTransition(float from, float to, float duration)
|
||||
{
|
||||
if (ExpressionManager == null)
|
||||
{
|
||||
UnityEngine.Debug.LogError("ExpressionManager 未找到!");
|
||||
yield break;
|
||||
}
|
||||
yield return ExpressionManager.StartCoroutine(ExpressionManager.TransitionGlitchAndWait(from, to, duration));
|
||||
}
|
||||
// /// <summary>
|
||||
// /// Glitch 噪波过渡(指定起止值),等待完成后再继续下一步。
|
||||
// /// </summary>
|
||||
// [YarnCommand("glitch_transition")]
|
||||
// public static IEnumerator GlitchTransition(float from, float to, float duration)
|
||||
// {
|
||||
// if (ExpressionManager == null)
|
||||
// {
|
||||
// UnityEngine.Debug.LogError("ExpressionManager 未找到!");
|
||||
// yield break;
|
||||
// }
|
||||
// yield return ExpressionManager.StartCoroutine(ExpressionManager.TransitionGlitchAndWait(from, to, duration));
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user