private static bool ShouldShowIconSub(StatusItem statusItem, GameObject gameObject)
 {
     return(gameObject.GetComponent <StatusItemsSuppressedComp>()?.ShouldShowIcon(statusItem) ?? statusItem.ShouldShowIcon());
 }
Exemplo n.º 2
0
 public bool ShouldShowIcon(StatusItem statusItem)
 {
     return(statusItem.ShouldShowIcon() && !suppressedStatusItemTitles.Contains(statusItem.Name));
 }