Example #1
0
    public void GoCameraDefault()
    {
        ParetTime.SetActive(true);
        timeCurrentDay.StartTimeDay();
        CameraScenePolice.SetActive(false);
        CameraDefault.SetActive(true);
        Destroy(CurrentMan);
        Destroy(CurrentCar);
        ParentSelectMiniGame.SetActive(false);
        ParentCurrentTasks.SetActive(true);
        rayTapCar.IsBlocked = false;
        MiniGameRengen.SetActive(false);
        MiniGameRengenButtons.SetActive(false);

        generatorMap.SetDefaultPos();
        StatickPolice.SetActive(true);
        CameraMove.SetActive(false);
        MovePolice.SetActive(false);
        generatorManager.DestroyAllCars(false);
        CameraMove.transform.position = posCamChase;
        MovePolice.transform.position = posPolice;
        generatorManager.StartGenerate();
        generatorMap.ParentBordersTrigger.SetActive(true);
    }