IntegrationsUnity
Quick Start
Learn about the Unity integration in Neocortex
The Neocortex Unity SDK is a Unity package that allows you to easily integrate Neocortex into your Unity project. The SDK provides a set of APIs that allow you to interact with the projects created on the Neocortex web platform.
Requirements
- Neocortex account Sign Up Here
- Unity 2021.3 or above Download Here
- Git version control system Download Here
Installation
- Open your Unity project
- Go to
Window
>Package Manager
- Click on the
+
button and selectAdd package from git URL
- Paste the following URL:
https://github.com/neocortex-link/neocortex-unity-sdk.git
- Click on the
Add
button
After a few seconds, the Neocortex SDK will be installed in your project and you will see the package in the list of installed packages.
Setup
Save API Key
To start using the Neocortex SDK, you need to initialize it with your Neocortex API key. You can create a new API key from the Neocortex web platform by going to the API Keys page.
- Create a new API key and copy it
- Open your Unity project
- Go to
Tools
>Neocortex Settings
- Paste the API key in the
API Key
field and click on theSave
button
Create a new Neocortex project
- Go to the Neocortex web platform and create a new project
- Copy the project ID from the project details page
- Open your Unity project and go to your scene
- Create an empty GameObject and add the
Neocortex Smart Agent
component to it - Paste the project ID in the
Project ID
field