lab
2016-03-28
lightweight ai behaviour trees framework for Unity 3D
|
Abstract class for task implementation. More...
Inherits MonoBehaviour.
Public Member Functions | |
abstract bool | Execute () |
The method that will be invoked by binded TaskNode with current ATaskScript. More... | |
Abstract class for task implementation.
Logic nodes need to be binded with implementations. Scripts that inherits ATaskScript should be attached to your game object and added to AiController's slot. TaskNodes' index reference to the AiControllers' slot index.
Example below shows simple follow task implementation should look like.
|
pure virtual |
The method that will be invoked by binded TaskNode with current ATaskScript.