In-Game Audio Recorder allows you to record all the sounds that are played in the app. In this case, the sound from the microphone or other extraneous noises are ignored. Simply put, this tool records all audio from AudioSources.
Working with this asset is easy. It is enough just to specify the save directory and the file name. After that, you can start recording. You can control the output sampling rate. At the output you get an audio file in WAV format.
Integrating this tool into your project will take just over 2 minutes as seen in this video.
You can learn more about this asset by watching the demo video.