Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity3D third party C# library inclusion

So I'm currently working on making an RPG that's going to require a lot of state machines with Unity3D. The problem I'm running into is when trying to include the Stateless Framework http://nuget.org/packages/Stateless/ in my project, the framework is removed each time I close Unity.

Is there a special method for including C# libraries like this in Unity, or is it simply not allowed?

like image 914
Adam Boyce Avatar asked Mar 22 '26 22:03

Adam Boyce


1 Answers

The best thing you can do is write a C# Library that handles this and place it in the plugin folder in the inspector (you have to create it yourself)

Create a library with a public class and reference them directly in C# every library that is included in the Plugin folder will automatically be included in your unity scripts.

like image 56
Theodor Solbjørg Avatar answered Mar 25 '26 12:03

Theodor Solbjørg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!