static public int onDropHandle_s(IntPtr l) { try { UnityEngine.GameObject a1; checkType(l, 1, out a1); System.Object a2; checkType(l, 2, out a2); UGUIEvent.onDropHandle(a1, a2); return(0); } catch (Exception e) { LuaDLL.luaL_error(l, e.ToString()); return(0); } }
public void OnDrop(BaseEventData eventData) { var g = EventSystem.current.currentSelectedGameObject; UGUIEvent.onDropHandle(g, eventData); }