private IEnumerator KickSequenceCoroutine(GameObject target, TweenActionSettings settings) { yield return(KickTween.RunLeft(target, 100f).WaitForFinish()); yield return(KickTween.RunRight(target, 100f).WaitForFinish()); TweenBase tween = KickTween.RunUp(target, 100f); while (tween.IsRunning()) { yield return(null); } tween = KickTween.RunDown(target, 100f); yield return(new WaitForSeconds(0.01f)); Object.DestroyImmediate(tween); if (tween.IsFinished()) { yield return(KickTween.RunDown(target, 100f).WaitForFinish()); } KickTween.RunDirection(target, 100f, new Vector2(2f, 1.5f)); }