/// <summary> /// 百叶窗过渡 /// </summary> /// <param name="spriteName">新图</param> /// <param name="direction">方向(默认:左)</param> /// <param name="time">持续时长s(默认0.5s)</param> public EffectPiece Shutter(string spriteName, string direction = "left", float time = 0.5f) { Queue <NewImageEffect> effects = new Queue <NewImageEffect>(); effects.Enqueue(NewEffectBuilder.Shutter(spriteName, direction, time)); effects.Enqueue(NewEffectBuilder.SetSpriteByDepth(-1, spriteName)); return(new EffectPiece(id++, effects)); }