How to use an C# library in unity?

I really want to be able to read FITS files in unity to make 3d graphical representations.

I found this c# library https://github.com/SidWatch/CSharpFITS

I don’t however know what steps to use it in unity. Help please!

I have read you can just drop dll’s in the plugins folder to work, however this doesn’t appear to have that. Is there a way I can turn it into a dll?

You should be able to compile it to a managed dll with visual studio, which is included with the Unity install. I don’t know if that’s necessary, though. Are sure you can’t just put the code files in the plugins folder?

1 Like

I am not sure, i have zero clue what i am doing.

try this guide

1 Like

I put the files in the plugin folder and it worked!

Thanks

1 Like