public void PlaySwapAnimation(Vector3 from, Vector3 to, System.Action onFinished) { tween.from = from; tween.to = to; tween.ClearFinishedEvent(); { tween.AddFinishedEvent(() => { if (onFinished != null) { onFinished(); } }); } tween.PlayEvent(); }