示例#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;
 }