public static void RemovePopup(ModifierType type) { if (!Config.generalParams.showModStatus) { return; } if (!activePopups.ContainsKey(type)) { return; } DebugTextPopup popup = activePopups[type].popup; popup.Setup("", 1f, false, 100f); popupSlots[activePopups[type].slot] = activePopups[type].slot; activePopups.Remove(type); }
public PopupSlot(int _slot, DebugTextPopup _popup) { slot = _slot; popup = _popup; }