Action

Description

A customizable task that can agent can perform.

public abstract class InitialPrefabs.DaniAI.Action
    : AINode

Properties

Type Name Summary
ActionState CurrentState The current status of the action.

Methods

Type Name Summary
void OnActionEnd(ActionState state) Overridable method that is called when the action completes.
void OnActionStart() Overridable method that is called when the action begins.
ActionState OnActionUpdate() Overridable method that is called when the action is currently running. Actions will run continously until this method returns ActionState.Success or ActionState.Fail.
© initialPrefabs 2019