Ejemplo n.º 1
0
    static int GetMouse(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        int arg0 = (int)LuaScriptMgr.GetNumber(L, 1);

        UICamera.MouseOrTouch o = UICamera.GetMouse(arg0);
        LuaScriptMgr.PushObject(L, o);
        return(1);
    }