I feel kinda stupid asking this question, but: How do I launch an FMOD Script at runtime, from within FMOD or, even better, from Unity?
I’d like to change Impulse Responses on my single instance of convolution reverb using ConvolutionReverb.setIRFromFilePath(filePath) - there will be due loading time and silence between rooms.
I’m thinking of a script called ChangeIR.js or so. Whenever Unity calls this script it passes a variable that holds the room index (about 20 rooms) and the script will do something like (syntax omitted):
if RoomIndex = 2
Is this going to work or am I on an entirely wrong path?