internal static MoveTween GetMoveTween(Transform obj, Transform to, float t) { MoveTween tween; if (TryGetTween(moveTweens, out tween)) { tween.Init(obj, to, t); } else { tween = new MoveTween(obj, to, t, GenerateId()); } _activeTweens.Add(tween); return(tween); }
public BaseTween Move(Transform obj, Transform to, float t) { MoveTween tween = new MoveTween(obj, to, t, GenerateId()); return(ProcessTween(tween)); }
public BaseTween Move(Transform obj, Transform to, float t) { MoveTween tween = TweenPool.GetMoveTween(obj, to, t); return(ProcessTween(tween)); }