feat(dream): 添加梦境数据溢出与虚焦表现
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user