Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }