/// <summary> /// 移动立绘(从当前位置移动) /// </summary> /// <param name="depth">目标所在层级</param> /// <param name="position">left | middle | right</param> /// <param name="time">移动时间,默认0.5s</param> public EffectPiece MoveCharacterSprite(int depth, string position, float time = 0.5f) { Queue <NewImageEffect> effects = new Queue <NewImageEffect>(); effects.Enqueue(NewEffectBuilder.MoveDefaultByDepth(depth, position, time)); return(new EffectPiece(id++, effects)); }