What would it take to make F# work with Unity?

I am doing a project at my university about game development and functional programming, and I am interested in using F# with Unity.

As F# is already supported by Mono, I guess it would just be a matter of writing a plug-in for Unity?

It will very likely already work, as long as you make an assembly in visualstudio or monodevelop, that you write in F#, and then just drop that assembly in your assets folder. You can then call into that assembly using C#, Javascript and Boo.

Just drag your F# dll into the assets folder. Also add FSharp.Core.dll since your dll will rely on this. Finally, make sure you target .NET 2.0 and not 4.0.

http://d.hatena.ne.jp/pocketberserker/20120118/1326874406

But Russian articles :frowning: