コード例 #1
0
        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);
        }
コード例 #2
0
 public PopupSlot(int _slot, DebugTextPopup _popup)
 {
     slot  = _slot;
     popup = _popup;
 }