public void StopGameVictory() { mainUIController.OpenFinishUI(); mainUIController.OpenVictoryUI(); CarController carController = GameObject.FindGameObjectWithTag("Car").GetComponent <CarController>(); carController.animator.SetTrigger("finish"); carController.isAlive = false; }