static int OnDeselect(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); EventTriggerListener obj = (EventTriggerListener)ToLua.CheckObject <EventTriggerListener>(L, 1); UnityEngine.EventSystems.BaseEventData arg0 = (UnityEngine.EventSystems.BaseEventData)ToLua.CheckObject <UnityEngine.EventSystems.BaseEventData>(L, 2); obj.OnDeselect(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }