// Token: 0x06004E09 RID: 19977 RVA: 0x00137A30 File Offset: 0x00135C30
 internal static void UnregisterHotSpot(global::UIPanel panel, global::UIHotSpot hotSpot)
 {
     if (panel.mHotSpots == null || !panel.mHotSpots.Remove(hotSpot))
     {
         return;
     }
     if (panel.enabled)
     {
         hotSpot.OnPanelDisable();
     }
 }
 // Token: 0x06004E08 RID: 19976 RVA: 0x001379E0 File Offset: 0x00135BE0
 internal static void RegisterHotSpot(global::UIPanel panel, global::UIHotSpot hotSpot)
 {
     if (panel.mHotSpots == null)
     {
         panel.mHotSpots = new HashSet <global::UIHotSpot>();
     }
     if (panel.mHotSpots.Add(hotSpot))
     {
         if (panel.enabled)
         {
             hotSpot.OnPanelEnable();
         }
         else
         {
             hotSpot.OnPanelDisable();
         }
     }
 }