A snippet with a working (minimal) example of a Kerbal Space Program (www.kerbalspaceprogram.com) add-on in F#. The snippet is intended to help you get started with Unity add-on development in F#.
1 people like thisPosted: 9 years ago by Robert Nielsen
Example follows this, translated to FSharp: https://msdn.microsoft.com/en-us/library/dn903708.aspx Just instead of copy&pasting C#, add a new F# class library and paste this code to there, then add that to reference to your C#-project.
3 people like thisPosted: 7 years ago by Tuomas Hietanen
When running the kRPC Remote Procedure Call Server in a Kerbal Space Program game the kRPC C# Client can be accessed from within F# Interactive in Visual Studio. Learn more about the game here http://www.kerbalspaceprogram.com. Official kRPC C# Client documentation can be found here http://djungelorm.github.io/krpc/docs/csharp/client.html. Note: This snippet was (re-)uploaded because the original (http://fssnip.net/8qR) went lost.
2 people like thisPosted: 8 years ago by Robert Nielsen