Пример #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;
    }
Пример #2
0
 public void HideHUD()
 {
     HudGameObject.GetComponent <CanvasGroup>().alpha = 0;
 }
Пример #3
0
 public static void DisableHUD()
 {
     HudGameObject.GetComponent <CanvasGroup>().alpha = 0;
 }