Sadly this approach isn't working anymore with unity's il2cpp compiler.
So it seems like the only remaining option is unity's SendMessage, which is just a pain in the ass?
NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code.
at UnityPlugin.Awake () [0x00000] in :0
Sadly this approach isn't working anymore with unity's il2cpp compiler.
So it seems like the only remaining option is unity's SendMessage, which is just a pain in the ass?