private void RenewQualityLevel()
    {
        var currentqv = QualitySettings.GetQualityLevel();

        switch (currentqv)
        {
        case 0:
            QualityValue.GetComponent <Text>().text = Qua_vlow;
            break;

        case 1:
            QualityValue.GetComponent <Text>().text = Qua_low;
            break;

        case 2:
            QualityValue.GetComponent <Text>().text = Qua_mid;
            break;

        case 3:
            QualityValue.GetComponent <Text>().text = Qua_midhigh;
            break;

        case 4:
            QualityValue.GetComponent <Text>().text = Qua_high;
            break;

        case 5:
            QualityValue.GetComponent <Text>().text = Qua_vhigh;
            break;
        }
    }
 private void EnableDashBoard()
 {
     //Debug.Log(CategoryTitle);
     dashboard.GetComponent <Image>().CrossFadeAlpha(1f, 0.3f, false);
     CategoryTitle.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     Overview.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     Inventory.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     Config.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     Save.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     Load.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     Exit.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     Language.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     GraphicsQuality.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     TextureQuality.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     FoV.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     QualityValue.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     GQ_LeftArrow.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     GQ_RightArrow.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     LDD_Label.GetComponent <Text>().CrossFadeAlpha(1f, 0.3f, false);
     DashboardStatus = true;
 }
 private void DisableDashBoard()
 {
     dashboard.GetComponent <Image>().CrossFadeAlpha(0.01f, 0.3f, false);
     CategoryTitle.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     Overview.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     Inventory.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     Config.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     Save.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     Load.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     Exit.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     PlayedTime.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     Reputation.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     Language.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     GraphicsQuality.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     TextureQuality.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     FoV.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     QualityValue.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     GQ_LeftArrow.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     GQ_RightArrow.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     LDD_Label.GetComponent <Text>().CrossFadeAlpha(0.01f, 0.3f, false);
     LDD_Arrow.GetComponent <Image>().CrossFadeAlpha(0.01f, 0.3f, false);
     SetUICategoryContent(44);
     DashboardStatus = false;
 }