/// <summary> /// Gets up value (see lua docs) /// </summary> /// <param name = "funcindex">see lua docs</param> /// <param name = "n">see lua docs</param> /// <returns>see lua docs</returns> /// <author>Reinhard Ostermeier</author> public string GetUpValue(int funcindex, int n) { return(LuaCore.lua_getupvalue(luaState, funcindex, n).ToString()); }