예제 #1
0
    public void StopGameVictory()
    {
        mainUIController.OpenFinishUI();
        mainUIController.OpenVictoryUI();

        CarController carController = GameObject.FindGameObjectWithTag("Car").GetComponent <CarController>();

        carController.animator.SetTrigger("finish");
        carController.isAlive = false;
    }