Esempio n. 1
0
    // Ready HUD elements for a certain simulation


    // Used by Settings to make HUD visible or invisible
    public void ShowHUD()
    {
        HudGameObject.GetComponent <CanvasGroup>().alpha = 1;
    }
Esempio n. 2
0
 public void HideHUD()
 {
     HudGameObject.GetComponent <CanvasGroup>().alpha = 0;
 }
Esempio n. 3
0
 public static void DisableHUD()
 {
     HudGameObject.GetComponent <CanvasGroup>().alpha = 0;
 }