feat(dream): 添加梦境数据溢出与虚焦表现

This commit is contained in:
2026-07-15 19:38:42 +08:00
parent 1f931e987f
commit 92087b81ef
11 changed files with 614 additions and 5 deletions
@@ -92,6 +92,22 @@ namespace AibisDream
yield return SpriteShowcase.Instance.ShowObj(picName, duration);
}
[YarnCommand("dream_overflow_on")]
public static IEnumerator DreamOverflowOn(string preset = "entry", float duration = 0.35f)
{
var showcase = SpriteShowcase.Instance;
if (showcase == null) yield break;
yield return showcase.SetDreamOverflow(preset, 1f, duration);
}
[YarnCommand("dream_overflow_off")]
public static IEnumerator DreamOverflowOff(float duration = 0.8f)
{
var showcase = SpriteShowcase.Instance;
if (showcase == null) yield break;
yield return showcase.SetDreamOverflow(null, 0f, duration);
}
[YarnCommand("show_sprite_motion")]
public static IEnumerator ShowSpriteMotion(string picName, string motionProfile, float duration = 0.35f)
{