private void OnTriggerExit(Collider other) { //Transform newBallTransform = ; if (other.gameObject.tag == "ballTossBall" && ScoreTracker.GetUserTurns() > 0 && this.tag == "ballStand") { Debug.Log("Ball exiting"); InstantiateBall(); ScoreTracker.UpdateUserTurns(-1); didBallExit = true; } }