// ------------------------------------------------------------------------------------------- /// <summary> /// Tweens the target along a path. /// </summary> /// <param name="path"></param> /// <returns></returns> public Tween PathTo(ITweenPath path) { Transform t = GetTransform(); if (t != null) { _procedures.Add(new TweenPath(path, t)); } return(this); }
// ------------------------------------------------------------------------------------------- public void Dispose() { isExpired = true; _path = null; _transform = null; }
// ------------------------------------------------------------------------------------------- public TweenPath(ITweenPath path, Transform transform) { _path = path; _transform = transform; }