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