Corgi Engine
v9.0
|
This decision will return true if the character is grounded, false otherwise. More...
Public Member Functions | |
override void | Initialization () |
On init we grab our CorgiController component More... | |
override bool | Decide () |
On Decide we check if we're grounded More... | |
override void | OnEnterState () |
On Enter State we reset our start time More... | |
Public Member Functions inherited from MoreMountains.Tools.AIDecision | |
virtual void | OnExitState () |
Meant to be overridden, called when the Brain exits a State this Decision is in More... | |
Public Attributes | |
float | GroundedBufferDelay = 0.2f |
The duration, in seconds, after entering the state this Decision is in during which we'll ignore being grounded. More... | |
Public Attributes inherited from MoreMountains.Tools.AIDecision | |
string | Label |
a label you can set to organize your AI Decisions, not used by anything else More... | |
Protected Member Functions | |
virtual bool | EvaluateGrounded () |
Checks whether the character is grounded More... | |
Protected Member Functions inherited from MoreMountains.Tools.AIDecision | |
virtual void | Awake () |
On Awake we grab our Brain More... | |
Protected Attributes | |
CorgiController | _controller |
float | _startTime = 0f |
Protected Attributes inherited from MoreMountains.Tools.AIDecision | |
AIBrain | _brain |
Additional Inherited Members | |
Properties inherited from MoreMountains.Tools.AIDecision | |
virtual bool | DecisionInProgress [get, set] |
This decision will return true if the character is grounded, false otherwise.
|
virtual |
|
protectedvirtual |
Checks whether the character is grounded
|
virtual |
On init we grab our CorgiController component
Reimplemented from MoreMountains.Tools.AIDecision.
|
virtual |
On Enter State we reset our start time
Reimplemented from MoreMountains.Tools.AIDecision.
|
protected |
|
protected |
float MoreMountains.CorgiEngine.AIDecisionGrounded.GroundedBufferDelay = 0.2f |
The duration, in seconds, after entering the state this Decision is in during which we'll ignore being grounded.