I’m trying to build a toy synth in unity using a juce plugin. Generally I’ve got the plugin running so I can call my juce library from my game objects with no problem.
However I’m trying to call some custom functions from my CustomAudioProcessor.cs from my unity scripts. This works if I set up my extern interfaces on the generated juce_UnityWrapper.cpp but in that class the plugin instance is set of type AudioProcessor. Do I need to change that to my CustomAudioProcessor so I can access my public functions? I’m not sure if that’s the intended way of accessing them.
Sorry for the nooby question!