Decisions are components that will be evaluated by transitions, every frame, and will return true or false.
More...
Inherits MonoBehaviour.
|
| bool | Decide () |
| | Decide will be performed every frame while the Brain is in a state this Decision is in. Should return true or false, which will then determine the transition's outcome.
|
| virtual void | Initialization () |
| | Meant to be overridden, called when the game starts.
|
| virtual void | OnEnterState () |
| | Meant to be overridden, called when the Brain enters a State this Decision is in.
|
| virtual void | OnExitState () |
| | Meant to be overridden, called when the Brain exits a State this Decision is in.
|
|
| string | Label |
| | a label you can set to organize your AI Decisions, not used by anything else
|
|
| virtual void | Awake () |
| | On Awake we grab our Brain.
|
Decisions are components that will be evaluated by transitions, every frame, and will return true or false.
Examples include time spent in a state, distance to a target, or object detection within an area.
◆ Awake()
| virtual void MoreMountains.Tools.AIDecision.Awake |
( |
| ) |
|
|
protectedvirtual |
On Awake we grab our Brain.
◆ Decide()
| bool MoreMountains.Tools.AIDecision.Decide |
( |
| ) |
|
|
abstract |
Decide will be performed every frame while the Brain is in a state this Decision is in. Should return true or false, which will then determine the transition's outcome.
◆ Initialization()
| virtual void MoreMountains.Tools.AIDecision.Initialization |
( |
| ) |
|
|
virtual |
Meant to be overridden, called when the game starts.
◆ OnEnterState()
| virtual void MoreMountains.Tools.AIDecision.OnEnterState |
( |
| ) |
|
|
virtual |
Meant to be overridden, called when the Brain enters a State this Decision is in.
◆ OnExitState()
| virtual void MoreMountains.Tools.AIDecision.OnExitState |
( |
| ) |
|
|
virtual |
Meant to be overridden, called when the Brain exits a State this Decision is in.
◆ _brain
| AIBrain MoreMountains.Tools.AIDecision._brain |
|
protected |
◆ Label
| string MoreMountains.Tools.AIDecision.Label |
a label you can set to organize your AI Decisions, not used by anything else
◆ DecisionInProgress
| virtual bool MoreMountains.Tools.AIDecision.DecisionInProgress |
|
getset |
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Foundation/MMAI/AIDecision.cs