static int OnPointerClick(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); GameFramework.UGUIClickEventListener obj = (GameFramework.UGUIClickEventListener)ToLua.CheckObject <GameFramework.UGUIClickEventListener>(L, 1); UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject <UnityEngine.EventSystems.PointerEventData>(L, 2); obj.OnPointerClick(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_doubleClick(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIClickEventListener obj = (GameFramework.UGUIClickEventListener)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.doubleClick = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index doubleClick on a nil value")); } }
static int get_doubleClick(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIClickEventListener obj = (GameFramework.UGUIClickEventListener)o; bool ret = obj.doubleClick; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index doubleClick on a nil value")); } }