static public int set_onLongClickUpdate(IntPtr l) { try { Lui.LButton self = (Lui.LButton)checkSelf(l); UnityEngine.Events.UnityAction v; int op = LuaDelegation.checkDelegate(l, 2, out v); if (op == 0) { self.onLongClickUpdate = v; } else if (op == 1) { self.onLongClickUpdate += v; } else if (op == 2) { self.onLongClickUpdate -= v; } pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int OnPointerDown(IntPtr l) { try { Lui.LButton self = (Lui.LButton)checkSelf(l); UnityEngine.EventSystems.PointerEventData a1; checkType(l, 2, out a1); self.OnPointerDown(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }