Adam Boyce
Adam Boyce

Reputation: 98

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?

Upvotes: 3

Views: 3313

Answers (1)

Theodor Solbjørg
Theodor Solbjørg

Reputation: 756

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.

Upvotes: 3

Related Questions