Beispiel #1
0
 protected void SetVisibleHUD(HUDManager.HUDGroup group)
 {
     if (this.m_IsIngame)
     {
         this.m_VisibleHUD = group;
     }
 }
Beispiel #2
0
 public bool IsInGroup(HUDManager.HUDGroup group)
 {
     if (this.m_Group == HUDManager.HUDGroup.None)
     {
         this.SetupGroups();
     }
     return((this.m_Group & group) != HUDManager.HUDGroup.None);
 }
Beispiel #3
0
 public void SetActiveGroup(HUDManager.HUDGroup group)
 {
     if (!this.m_Initialized)
     {
         this.Init();
     }
     foreach (HUDBase hudbase in this.m_HUDList)
     {
         bool flag = hudbase.IsInGroup(group);
         hudbase.gameObject.SetActive(flag);
         hudbase.OnSetGroup(flag);
     }
 }
Beispiel #4
0
 protected void SetVisibleHUD(HUDManager.HUDGroup group)
 {
     this.m_VisibleHUD = group;
 }
Beispiel #5
0
 protected void AddToGroup(HUDManager.HUDGroup group)
 {
     this.m_Group |= group;
 }