public void LevelTransitionOnEnd() { StopLevelTransitionOnEnd(); levelTransitionOnEndSeq = DOTween.Sequence(); player.gameObject.SetActive(false); target.gameObject.SetActive(false); scoreBeat.StopBeat(); Tween scorePosition = ScorePosition(Constants.scoreGameOverPos); Tween scoreScale = ScoreScale(Constants.scoreGameOverScale); Tween scoreAlpha = ScoreAlpha(); levelTransitionOnEndSeq .Append(scorePosition) .Join(scoreScale) .Join(scoreAlpha) .SetEase(Ease.Linear) .Play(); }