/// <summary> /// 从当前位置向某一位置移动 /// </summary> /// <param name="depth">图像层数</param> /// <param name="target">目标位置</param> /// <param name="time">移动时间</param> public static Queue <ImageEffect> MoveCharacterSprite(int depth, Vector3 target, float time) { AnimationBuilder builder = new AnimationBuilder(); return(builder.BeginWith(EffectBuilder.MoveByDepth(depth, target, time)) .Get()); }