Skip to content

AI Brain

Dizy edited this page Apr 30, 2020 · 17 revisions

The AI Brain allow you to create a graph used by your AI Component.

To create your own AI Brain you have to inherit from AIBrainGraph providing your AI component class name.

    [CreateAssetMenu(fileName = "CubeGraph", menuName = "ReflexityAI/CubeGraph")]
    public class CubeGraph : AIBrainGraph<CubeAI> { }

Just use the Unity contextual menu to instantiate it.

Now double click on your file and start creating your brain graph using the right click xNode contextual menu.

Clone this wiki locally