public void GUITahapPekerjaanON()
    {
        btnKembali.SetActive(true);
        btnLanjut.SetActive(true);
        ContainerToggle.gameObject.SetActive(false);
        CekTahapPekerjaan();
        InputDanaController.instance.EndInputProyek();
        timeStat = 0;
        SoundManager.instance.PlaySingle(clickSFX);
        RisikoController.instance.ResetRespon();
        RisikoController.instance.AnalisisOff();
        RisikoController.instance.ClearPilihanRisiko();
        RisikoController.instance.ResetRespon();

        MenuTahapPekerjaan.SetActive(true);
        MenuDaftarRisiko.SetActive(false);
        MenuAnalisisRisiko.SetActive(false);
        MenuInfoPekerjaan.SetActive(false);
        MenuOverview.SetActive(false);

        MenuInfoProyek.SetActive(false);
        MenuKesimpulanAkhir.SetActive(false);
        judulGame.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        MenuKesimpulan.SetActive(false);
        //popUpReset.SetActive(false);

        HUDGame.SetActive(false);
    }
    public void GUIMMOn()
    {
        AllKeteranganOff();
        PopUpBantuan.SetActive(false);
        MenuBantuan.SetActive(false);
        MenuTentang.SetActive(false);
        btnKembali.SetActive(true);
        btnLanjut.SetActive(true);
        ContainerToggle.gameObject.SetActive(false);
        MenuKesimpulanAkhir.SetActive(false);

        timeStat = 0;
        //SoundManager.instance.PlaySingle (clickSFX);
        if (SoundManager.instance.musicSource.clip != AudioMainMenu)
        {
            SoundManager.instance.PlayMusic(AudioMainMenu);
        }
        MenuAnalisisRisiko.SetActive(false);

        MenuDaftarRisiko.SetActive(false);
        MenuInfoPekerjaan.SetActive(false);

        UIPanel.SetActive(true);
        judulGame.SetActive(true);
        MainMenuUI.SetActive(true);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        //popUpReset.SetActive(false);
        MenuKesimpulan.SetActive(false);
        MenuInfoProyek.SetActive(false);
        MenuTahapPekerjaan.SetActive(false);
        MenuDaftarRisiko.SetActive(false);
        MenuOverview.SetActive(false);
        HUDGame.SetActive(false);
    }
    public void GUIInfoProyekON()
    {
        SoundManager.instance.PlaySingle(clickSFX);
        if (SoundManager.instance.musicSource.clip != AudioLainMainMenu)
        {
            SoundManager.instance.PlayMusic(AudioLainMainMenu);
        }
        InputDanaController.instance.CheckRABProyek();

        MenuDaftarRisiko.SetActive(false);

        MenuInfoProyek.SetActive(true);
        MenuInfoPekerjaan.SetActive(false);
        MenuTahapPekerjaan.SetActive(false);
        MenuOverview.SetActive(false);

        judulGame.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        MenuKesimpulan.SetActive(false);
        //popUpReset.SetActive(false);

        HUDGame.SetActive(false);
    }
    public void GUIMenuPengaturanOn()
    {
        SoundManager.instance.PlaySingle(clickSFX);
        UIPanel.SetActive(true);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(true);
        PanelpopUp.SetActive(false);
        MenuKesimpulan.SetActive(false);
        //popUpReset.SetActive(false);

        MenuInfoProyek.SetActive(false);
    }
    public void GUIKesimpulanInListTahap(int tahap)
    {
        TahapKesimpulanMuncul = tahap;
        ContainerToggle.gameObject.SetActive(true);
        btnToggleKesimpulan.isOn = true;
        SoundManager.instance.PlaySingle(clickSFX);


        KesimpulanController.instance.GenerateKesimpulan(DataManager.instance.gameInstance.ListTahap[tahap].ListRisikoTerjadi, tahap);
        //Ambil data dari game instance
        RisikoController.instance.LoadOverview(tahap);
        TahapMuncul = tahap;
        //Isi contingency dll
        EstimasiOverview.text = DataManager.instance.gameInstance.ListTahap[tahap].WaktuEstimasi.ToString();
        InputDanaController.instance.CashFlowOverview.text = DataManager.instance.gameInstance.ListTahap[tahap].DanaTahap.ToString("N0", new CultureInfo("id-ID"));
        InputDanaController.instance.RABOverview.text      = DataManager.instance.gameInstance.ListTahap[tahap].RABTahap.ToString("N0", new CultureInfo("id-ID"));
        InputDanaController.instance.RAPOverview.text      = DataManager.instance.gameInstance.ListTahap[tahap].RAPTahap.ToString("N0", new CultureInfo("id-ID"));
        OverviewContingency.text = DataManager.instance.gameInstance.ListTahap[tahap].DanaTersedia.ToString("N0", new CultureInfo("id-ID"));

        //isi Menu Kesimpulan
        MenuKesimpulanAkhir.SetActive(false);

        //atur Button mana yang ON
        TahapWithIncrease.SetActive(false);
        TahapWithoutIncrease.SetActive(true);

        MainMenuWithIncrease.SetActive(false);

        MenuAnalisisRisiko.SetActive(false);

        MenuDaftarRisiko.SetActive(false);
        MenuInfoPekerjaan.SetActive(false);

        UIPanel.SetActive(true);
        judulGame.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        //popUpReset.SetActive(false);
        MenuKesimpulan.SetActive(true);
        MenuInfoProyek.SetActive(false);
        MenuTahapPekerjaan.SetActive(false);
        MenuDaftarRisiko.SetActive(false);
        MenuOverview.SetActive(false);
        HUDGame.SetActive(false);
    }
    public void GUIDaftarRisikoON()
    {
        if (JudulOverview.text == "OVERVIEW RISIKO")
        {
            Debug.Log("Change Top Point");
            TopPoint.transform.localPosition       = new Vector2(0, 150);
            ListRisiko.rectTransform.localPosition = new Vector3(0, -227, 0);
            ListRisiko.rectTransform.sizeDelta     = new Vector2(880, 345);
        }
        JudulOverview.text = "RESPON RISIKO";

        SoundManager.instance.PlaySingle(clickSFX);
        GUIOVCounter = 0;
        RisikoController.instance.AnalisisOff();
        RisikoController.instance.AmbilSorted();

        UIPanel.SetActive(true);
        MenuAnalisisRisiko.SetActive(false);

        MenuDaftarRisiko.SetActive(true);
        EstimasiHari.SetActive(true);
        TabelDaftarRisiko.transform.localPosition = new Vector3(0, -2, 0);
        TabelDaftarRisiko.rectTransform.sizeDelta = new Vector2(880, 400);

        MenuTahapPekerjaan.SetActive(false);
        MenuInfoPekerjaan.SetActive(false);
        MenuInfoProyek.SetActive(false);
        MenuOverview.SetActive(false);

        judulGame.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        MenuKesimpulan.SetActive(false);
        //popUpReset.SetActive(false);
        HelpOverview.SetActive(false);
        HelpRespon.SetActive(true);


        TahapWithoutIncreaseOverview.SetActive(false);
        MainMenuRisk.SetActive(false);
        TahapPekerjaanRisk.SetActive(false);

        HUDGame.SetActive(false);
    }
    public void GUIOff()
    {
        SoundManager.instance.PlaySingle(clickSFX);
        SoundManager.instance.musicSource.Stop();
        MenuDaftarRisiko.SetActive(false);
        MenuAnalisisRisiko.SetActive(false);

        MenuTentang.SetActive(false);
        UIPanel.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        //popUpReset.SetActive(false);
        MenuDaftarRisiko.SetActive(false);

        MenuInfoProyek.SetActive(false);
        MenuTahapPekerjaan.SetActive(false);
        MenuInfoPekerjaan.SetActive(false);
        MenuKesimpulan.SetActive(false);
        MenuOverview.SetActive(false);
    }
    public void GUITentang()
    {
        SoundManager.instance.PlaySingle(clickSFX);


        MenuDaftarRisiko.SetActive(false);
        MenuTentang.SetActive(true);
        MenuInfoProyek.SetActive(false);
        MenuInfoPekerjaan.SetActive(false);
        MenuTahapPekerjaan.SetActive(false);
        MenuOverview.SetActive(false);

        judulGame.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        MenuKesimpulan.SetActive(false);
        //popUpReset.SetActive(false);

        HUDGame.SetActive(false);
    }
    public void GUIAanalisisON()
    {
        SoundManager.instance.PlaySingle(clickSFX);
        RisikoController.instance.AnalisisON();
        RisikoController.instance.ClearPilihanRisiko();
        RisikoController.instance.ResetRespon();
        MenuAnalisisRisiko.SetActive(true);
        MenuTahapPekerjaan.SetActive(false);
        MenuDaftarRisiko.SetActive(false);
        MenuOverview.SetActive(false);
        MenuInfoProyek.SetActive(false);
        MenuInfoPekerjaan.SetActive(false);

        judulGame.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        MenuKesimpulan.SetActive(false);
        //popUpReset.SetActive(false);

        HUDGame.SetActive(false);
    }
    public void GUIKesimpulanAkhir()
    {
        /*Menu Kesimpulan Akhir
         * public GameObject MenuKesimpulanAkhir;
         * public TahapPekerjaan[] ArrayTahapPekerjaan;
         * public GameObject BackTOKA;
         * public Text TotalRisikoTerjadi, TotalRAB, TotalRAP, TotalMM, TotalK3, EstimasiWaktu, DurasiWaktu;
         * public Text TotalContingency, TotalSisa;*/
        SoundManager.instance.PlaySingle(clickSFX);
        SetListenerKembaliKeKesimpulan();
        TotalRAB.text = DataManager.instance.gameInstance.DanaTotalProyek.ToString("N0", new CultureInfo("id-ID"));
        TotalRAP.text = DataManager.instance.gameInstance.CountTotalRAP().ToString("N0", new CultureInfo("id-ID"));
        TotalMM.text  = ": " + DataManager.instance.gameInstance.CountMMTahap().ToString() + " / 90";
        TotalK3.text  = ": " + DataManager.instance.gameInstance.CountK3Tahap().ToString() + " / 90";

        EstimasiWaktu.text = DataManager.instance.gameInstance.CountWaktuEstimasi().ToString();
        DurasiWaktu.text   = DataManager.instance.gameInstance.CountWaktuDurasi().ToString();

        TotalContingency.text = DataManager.instance.gameInstance.CountTotalContingency().ToString("N0", new CultureInfo("id-ID"));
        TotalSisa.text        = DataManager.instance.gameInstance.ListTahap[8].DanaTersisa.ToString("N0", new CultureInfo("id-ID"));

        //Masukan Data Tahap
        for (int i = 0; i < ArrayTahapPekerjaan.Length; i++)
        {
            ArrayTahapPekerjaan[i].IsiKesimpulanTahap(DataManager.instance.gameInstance.ListTahap[i]);
        }

        MenuKesimpulanAkhir.SetActive(true);
        MenuTahapPekerjaan.SetActive(false);
        MenuKesimpulan.SetActive(false);
        ContainerToggle.SetActive(false);
        MenuTentang.SetActive(false);

        //SoundManager.instance.PlaySingle (clickSFX);
        if (SoundManager.instance.musicSource.clip != AudioLainMainMenu || !SoundManager.instance.musicSource.isPlaying)
        {
            SoundManager.instance.PlayMusic(AudioLainMainMenu);
        }
    }
    public void GUIKesimpulanON()
    {
        ContainerToggle.gameObject.SetActive(true);
        SoundManager.instance.PlaySingle(clickSFX);

        if (SoundManager.instance.musicSource.clip != AudioLainMainMenu || !SoundManager.instance.musicSource.isPlaying)
        {
            SoundManager.instance.PlayMusic(AudioLainMainMenu);
        }                /*int[] angkaRisikoTerjadi, RisikoObject[] objectRisiko, float[] DampakWaktu,
                          * float[] ListDampakDana, float estimasi, string DanaResponRisiko, string DanaPerbaikan
                          *
                          */
        //Piliih button mana yang ON
        TahapWithIncrease.SetActive(true);
        TahapWithoutIncrease.SetActive(false);

        MainMenuWithIncrease.SetActive(true);

        MenuAnalisisRisiko.SetActive(false);

        MenuDaftarRisiko.SetActive(false);
        MenuInfoPekerjaan.SetActive(false);
        MenuOverview.SetActive(false);
        UIPanel.SetActive(true);
        judulGame.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        //popUpReset.SetActive(false);
        MenuKesimpulan.SetActive(true);
        MenuInfoProyek.SetActive(false);
        MenuTahapPekerjaan.SetActive(false);
        MenuDaftarRisiko.SetActive(false);

        HUDGame.SetActive(false);
    }
    public void GUIInfoPekerjaanON()
    {
        SoundManager.instance.PlaySingle(clickSFX);
        InputDanaController.instance.CheckInputPekerjaan();
        RisikoController.instance.ResetRespon();
        RisikoController.instance.AnalisisOff();
        RisikoController.instance.ResetAnalisis();
        MenuTahapPekerjaan.SetActive(false);
        MenuDaftarRisiko.SetActive(false);
        MenuAnalisisRisiko.SetActive(false);
        MenuInfoPekerjaan.SetActive(true);
        MenuInfoProyek.SetActive(false);
        MenuOverview.SetActive(false);
        textJudulInfoPekerjaan.text = "INFO " + namaTahapPekerjaan[PlayerPrefs.GetInt("counterTahap")].ToUpper();

        judulGame.SetActive(false);
        MainMenuUI.SetActive(false);
        MenuPengaturanUI.SetActive(false);
        PanelpopUp.SetActive(false);
        MenuKesimpulan.SetActive(false);
        //popUpReset.SetActive(false);

        HUDGame.SetActive(false);
    }
    public void GUIOverviewRisikoON()
    {
        MenuKesimpulan.SetActive(false);
        MenuDaftarRisiko.SetActive(true);
        MenuOverview.SetActive(true);
        EstimasiOverview.text            = RisikoController.instance.textEstimasiTahap.text;
        TopPoint.transform.localPosition = new Vector2(0, 208);
        EstimasiHari.SetActive(false);
        TabelDaftarRisiko.transform.localPosition = new Vector3(0, -45, 0);
        TabelDaftarRisiko.rectTransform.sizeDelta = new Vector2(880, 300);
        ListRisiko.rectTransform.localPosition    = new Vector3(0, -180, 0);
        ListRisiko.rectTransform.sizeDelta        = new Vector2(880, 250);
        JudulOverview.text = "OVERVIEW RISIKO";
        SoundManager.instance.PlaySingle(clickSFX);
        RisikoController.instance.CekRespon();
        Debug.Log("Nilai Cashflow: " + InputDanaController.instance.CashFlowOverview.text);

        HelpOverview.SetActive(true);
        HelpRespon.SetActive(false);

        K3Overview.text         = ": " + RisikoController.instance.K3.ToString();
        MMOverview.text         = ": " + RisikoController.instance.MM.ToString();
        ScrollbarOverview.value = 1f;
    }