public static void SimulateClickOn(Selectable button)
 {
     //IL_002c: Unknown result type (might be due to invalid IL or missing references)
     //IL_0032: Expected O, but got Unknown
     if (!(null == button) && button.IsInteractable() && button.get_isActiveAndEnabled())
     {
         List <IPointerClickHandler> list = s_clickHandlerBuffer;
         button.GetComponents <IPointerClickHandler>(list);
         try
         {
             PointerEventData val = new PointerEventData(EventSystem.get_current());
             int count            = list.Count;
             for (int i = 0; i < count; i++)
             {
                 ExecuteEvents.get_pointerClickHandler().Invoke(list[i], val);
             }
         }
         catch (Exception ex)
         {
             Debug.LogException(ex);
         }
         finally
         {
             s_clickHandlerBuffer.Clear();
         }
     }
 }
 public void Deselect(Selectable item)
 {
     foreach (var x in item.GetComponents <ISelectable>())
     {
         x.OnDeselect();
     }
     selectedItems.Remove(item);
     item.ChangeColor(Color.clear);
 }