private void OnCollisionEnter(Collision collision) { if (collision.transform == car.transform && !gameStart) { transform.position -= Vector3.back * -1; } else if (collision.transform == car.transform && gameStart && !controls.enabled) { GameWin(); car.GameWin(); } else if (collision.transform == boxPrefab.transform) { timerLength += 10; } else { inAir = false; } }