3

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?

4

1 回答 1

3

您可以做的最好的事情是编写一个处理此问题的 C# 库并将其放置在检查器的插件文件夹中(您必须自己创建它)

创建一个带有公共类的库并在 C# 中直接引用它们 Plugin 文件夹中包含的每个库都将自动包含在您的统一脚本中。

于 2013-04-17T22:49:22.123 回答