This project aims to simplify AI creation through a visual editor combined with a plugin able to understand and execute AI behaviours in any other third party program. The Core is the heart of the project, able to generate and manage AIs, as well as communicate with the other bricks constituting the DNAI solution.
This project requires Visual Studio Enterprise 2017 to be built and executed. The VS file contains all the needed projects to compile and run the Core, as well as the plugin. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them:
An account is needed for Unity 2017. Any personnal account is enough.
Packages might be missing for Visual Studio Enterprise. If so, do the following:
Open Visual Studio Installer
This will show you the features currently installed for Visual Studio.
Select "Modify" and tick the missing components, then update.
How to get a development env running:
Clone the project into any folder. Then open Visual Studio
Ctrl+Shift+B will build all the projects.
If the plugin build fails, make sure the following paths exists within the Unity Project:
Assets/Standard Assets/DNAI/
Assets/Standard Assets/DNAI/Plugins/
Assets/Standard Assets/DNAI/Editor/
You can test the plugin by opening the Unity project, then selecting Window => DNAI, or pressing Alt+D.
The Unity project root location is !YourRootFolderName\PluginUnity\PluginTestProject
.
IMPORTANT: in order to be able to understand the plugin, Unity must be in .NET 4.6 mode. To enable it:
File -> Build settings -> Player Settings -> Other Settings -> Scripting Runtime Version (set it to Experimental .NET 4.6 Equivalent)
How to run the automated tests for this system: Running the tests is made easy within Visual Studio. Press Ctrl+R/Ctrl+A to run all the tests. You can also open the Test Window or run a single test manually, through the Unit Tests Projects. For more information, see how to write and use unit tests.
Tests for the Core library.
Tests for the Unity plugin. If you want to run the tests inside Visual Studio, comment the line:
#define UNITY_ENGINE
Tests for the network library. Make sure everything is running so the tests can connect to the needed IP addresses.
Inside Visual Studio, create a new Project -> Test Unit, then add your tests inside of it. One testing unit should only target one project.
Librairies can be updated using the Nuget Package System within Visual Studio. The plugin itself should be deployed the the Unity Store, by using the Unity Deploying Tools.
- Visual Studio - Used to code and compile
- Unity - Plugin
- Newton Soft - Json Management
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use Team Foundation Server for versioning. For the versions available, see the tags on this repository.
- Fernand Veyrier - Initial work
- Quentin Gasparotto - Core
- Victor Gouet - GUI
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Hat tip to anyone who's code was used
- Inspiration
- etc