コード例 #1
0
    public XGame.TouchPanel.onEnd XGame_TouchPanel_onEnd(LuaFunction func, LuaTable self, bool flag)
    {
        if (func == null)
        {
            XGame.TouchPanel.onEnd fn = delegate(UnityEngine.Vector3 param0) { };
            return(fn);
        }

        if (!flag)
        {
            XGame_TouchPanel_onEnd_Event target = new XGame_TouchPanel_onEnd_Event(func);
            XGame.TouchPanel.onEnd       d      = target.Call;
            target.method = d.Method;
            return(d);
        }
        else
        {
            XGame_TouchPanel_onEnd_Event target = new XGame_TouchPanel_onEnd_Event(func, self);
            XGame.TouchPanel.onEnd       d      = target.CallWithSelf;
            target.method = d.Method;
            return(d);
        }
    }
コード例 #2
0
 void Push_XGame_TouchPanel_onEnd(IntPtr L, XGame.TouchPanel.onEnd o)
 {
     ToLua.Push(L, o);
 }