Getting Started
Tutorials
YouTube tutorials on how to use the library.
YouTube references discussing GOAP in general.
Installation
Add the package to your project using the package manager. Add the following URL to the package manager:
https://github.com/crashkonijn/GOAP.git?path=/Package#2.1.22Alternatively install through OpenUPM or the Unity Asset Store.
Overview
Below is a quick overview of the different components of classes and how they are connected to an Action.

Setup in Unity
Create a class called
WanderGoalthat extendsGoalBase.
Create a class called
WanderActionthat extendsActionBase. The generic value of the class is the type of the data class used in this goal.
Create a class called
WanderTargetSensorthat extendsLocalTargetSensorBase. The generic value of the class is the type of the data class used in this goal.
Create a class called
AgentMoveBehaviour. This class will be called by theAgentBehaviourto move the agent to a target.
Create a script called
AgentBrain.
Choose your config style
Either continue the getting started by using Code or ScriptableObjects.
Last updated