public XGame.TouchPanel.onBegin XGame_TouchPanel_onBegin(LuaFunction func, LuaTable self, bool flag)
    {
        if (func == null)
        {
            XGame.TouchPanel.onBegin fn = delegate(UnityEngine.Vector3 param0) { };
            return(fn);
        }

        if (!flag)
        {
            XGame_TouchPanel_onBegin_Event target = new XGame_TouchPanel_onBegin_Event(func);
            XGame.TouchPanel.onBegin       d      = target.Call;
            target.method = d.Method;
            return(d);
        }
        else
        {
            XGame_TouchPanel_onBegin_Event target = new XGame_TouchPanel_onBegin_Event(func, self);
            XGame.TouchPanel.onBegin       d      = target.CallWithSelf;
            target.method = d.Method;
            return(d);
        }
    }
 void Push_XGame_TouchPanel_onBegin(IntPtr L, XGame.TouchPanel.onBegin o)
 {
     ToLua.Push(L, o);
 }