private void OnDragEnd(MyUIDragDropItem go)
 {
     if (ComponentTool.IsInRect(go.GetComponent <UIWidget>(), m_DropPanel, WindowManager.Instance.GetUIRoot().transform.localScale.x))
     {
         OnClickItem(go.gameObject);
     }
 }
 private void OnDragEnd(MyUIDragDropItem item)
 {
     for (int i = 0; i < m_PilesList.Count; ++i)
     {
         //check drag over
         if (IsInRect(item.GetComponent <UIWidget>(), m_PilesList[i].m_RootObj.GetComponent <UIWidget>()))
         {
             OptionElement option = null;
             foreach (var elem in m_OptionList)
             {
                 if (elem.m_RootObj == item.gameObject)
                 {
                     option = elem;
                     break;
                 }
             }
             OnSelect(m_PilesList[i], option);
             break;
         }
     }
 }
 private void OnDragEnd(MyUIDragDropItem item)
 {
     for (int i = 0; i < m_PilesList.Count; ++i)
     {
         //check drag over
         if (IsInRect(item.GetComponent<UIWidget>(), m_PilesList[i].m_RootObj.GetComponent<UIWidget>()))
         {
             OptionElement option = null;
             foreach (var elem in m_OptionList)
             {
                 if (elem.m_RootObj == item.gameObject)
                 {
                     option = elem;
                     break;
                 }
             }
             OnSelect(m_PilesList[i],option);
             break;
         }
     }
 }
 private void OnDragEnd(MyUIDragDropItem go)
 {
     if (ComponentTool.IsInRect(go.GetComponent<UIWidget>(), m_DropPanel, WindowManager.Instance.GetUIRoot().transform.localScale.x))
     {
         OnClickItem(go.gameObject);
     }
 }