示例#1
0
 public MovePathTweenAnimotion(MonoBehaviour coroutineMono, int reproductionOrder, Transform transform, Vector3[] pathPositions, int tweenDuration = 20) : base(coroutineMono, reproductionOrder, transform)
 {
     tweenParameter = new TweenParameter(new TweenDoPathReproducer(transform, pathPositions), ease, tweenDuration);
 }
 public ScaleRectTweenAnimotion(MonoBehaviour coroutineMono, int reproductionOrder, RectTransform transform, Vector3 endPostion, int tweenDuration = 20) : base(coroutineMono, reproductionOrder, transform)
 {
     tweenParameter = new TweenParameter(new TweenDoRectScaleReproduce(transform, endPostion), ease, tweenDuration);
 }
 public SpawnCardTweenAnimotion(MonoBehaviour coroutineMono, int reproductionOrder, Transform transform, Vector3 endPostion, int tweenDuration = 20) : base(coroutineMono, reproductionOrder, transform)
 {
     ease           = Ease.InOutBack;
     tweenParameter = new TweenParameter(new TweenDoMoveReproduce(transform, endPostion), ease, tweenDuration);
 }