For the game value export you have to read memory mapped files in the unity update function. https://www.x-sim.de/manual/3d_plugins.html However this is a unity forum question.
If a answer is correct or did help you for a solution, please use the solve button.