示例#1
0
 // Need to handle hiding the element when in the game menu
 internal void InMenu()
 {
     if (Config.Instance.HideInMenu)
     {
         _list.Hide();
     }
 }
示例#2
0
 public ResurrectHelper(ResurrectList list)
 {
     _list = list;
     // Hide in menu, if necessary
     if (Config.Instance.HideInMenu && CoreAPI.Game.IsInMenu)
     {
         _list.Hide();
     }
 }