Unity3D inside a JUCE wrapper?


I'm looking for ways to develop 3d projects in Unity3d, export from Unity3d for Mac (or PC?), and then embed in a JUCE wrapper so my Unity3d project can be used as a MIDI plugin.

Has this been done before? Any tips?!




Sounds interesting! cool

I'd be interested to see how it could work too ... 

The Unity guys themselves seem to have added the ability to attach a window to a child process via the argument -parentHWND, but it seems to be Windows only: http://forum.unity3d.com/threads/integrate-unity-in-c-program.284928/

Another option is to try using the web player and load it locally inside a JUCE web browser component.

It should be possible to have Unity embed JUCE code as a [native plug-in](http://docs.unity3d.com/Manual/NativePlugins.html).

I created my own iOS native plug-in (not JUCE) three years ago, it seems to be properly documented now!


PS I don't think it would make any sense to try going the other way: embed Unity in JUCE. I've never heard of embedding Unity in anything!