-
Notifications
You must be signed in to change notification settings - Fork 2k
Unity
Unity is a cross-platform game engine developed by Unity Technologies. Since it's scripting engine is partially based on Mono, it can execute and import .NET code targeting a subset of the .NET 3.5 framework, which includes most of the Accord.NET Framework.
There are two main ways to install and use the Accord.NET Framework from Unity. The first one is to download the framework's libsonly packages from the latest releases page (e.g. Accord.NET-x.x.0-libsonly.rar from https://github.com/accord-net/framework/releases), or install it through NuGet.
While the first approach is guaranteed to work, you might need to take care to also add all framework dependencies manually to your Unity project. If you opt to use NuGet instead, most of the dependencies should be figured out automatically by NuGet itself. However, NuGet support for Unity is experimental at the current time of writing, and your mileage may vary.
Alternatively, you can also download a pre-existing Unity sample application that already comes with the Accord.NET Framework installed and configured and that you will be able to use as a base for your new projects.
To install the framework manually, perform the following steps:
- Navigate to the framework's releases page at https://github.com/accord-net/framework/releases;












To download the framework through NuGet, you can follow the steps below:
- Open Unity













Note: In case one of the libraries you selected has installed SharpZipLib, you might want to delete the net11, SL3 and SL4 versions of this library and leave only the net20 version. Otherwise, Unity will complain saying that multiple versions of a library are being referenced in the project.
Help improve this wiki! Those pages can be edited by anyone that would like to contribute examples and documentation to the framework.
Have you found this software useful? Consider donating only U$10 so it can get even better! This software is completely free and will always stay free. Enjoy!