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