public ScaleRectTweenMotion(MonoBehaviour coroutineMono, RectTransform transform, int reproductionOrder, Vector3 endPostion, int tweenDuration = 20) : base(coroutineMono, transform, reproductionOrder)
 {
     animotionParameter = new TweenAnimotionParameter(new TweenDoRectScaleReproduce(transform, endPostion), ease, tweenDuration);
 }
Exemplo n.º 2
0
 public SpawnCardTweenMotion(MonoBehaviour coroutineMono, Transform transform, int reproductionOrder, Vector3 endPostion, int tweenDuration = 20) : base(coroutineMono, transform, reproductionOrder)
 {
     //animotionParameter = new TweenAnimotionParameter(new TweenDoMoveReproduce(transform, endPostion), ease, tweenDuration);
     animotionParameter = new TweenAnimotionParameter(new TweenDoMoveReproduce(transform, endPostion), spawnEase, tweenDuration);
 }
 public MovePathTweenMotion(MonoBehaviour coroutineMono, Transform transform, int reproductionOrder, Vector3[] pathPositions) : base(coroutineMono, transform, reproductionOrder)
 {
     animotionParameter = new TweenAnimotionParameter(new TweenDoPathReproducer(transform, pathPositions), ease, tweenDuration);
 }