TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.AIActionCrouchStop Class Reference

This action forces the character to stop crouching if it can. More...

Inheritance diagram for MoreMountains.TopDownEngine.AIActionCrouchStop:
MoreMountains.Tools.AIAction

Public Member Functions

override void Initialization ()
 Grabs dependencies.
override void PerformAction ()
 On PerformAction we stop crouching.
Public Member Functions inherited from MoreMountains.Tools.AIAction
void PerformAction ()
virtual void OnEnterState ()
 Describes what happens when the brain enters the state this action is in. Meant to be overridden.
virtual void OnExitState ()
 Describes what happens when the brain exits the state this action is in. Meant to be overridden.

Protected Attributes

CharacterCrouch _characterCrouch
Character _character
Protected Attributes inherited from MoreMountains.Tools.AIAction
bool _initialized
AIBrain _brain

Additional Inherited Members

Public Types inherited from MoreMountains.Tools.AIAction
enum  InitializationModes { EveryTime , OnlyOnce }
Public Attributes inherited from MoreMountains.Tools.AIAction
InitializationModes InitializationMode
 whether initialization should happen only once, or every time the brain is reset
string Label
 a label you can set to organize your AI Actions, not used by anything else
Protected Member Functions inherited from MoreMountains.Tools.AIAction
virtual void Awake ()
 On Awake we grab our AIBrain.
Properties inherited from MoreMountains.Tools.AIAction
virtual bool ActionInProgress [get, set]
virtual bool ShouldInitialize [get]

Detailed Description

This action forces the character to stop crouching if it can.

Member Function Documentation

◆ Initialization()

override void MoreMountains.TopDownEngine.AIActionCrouchStop.Initialization ( )
virtual

Grabs dependencies.

Reimplemented from MoreMountains.Tools.AIAction.

◆ PerformAction()

override void MoreMountains.TopDownEngine.AIActionCrouchStop.PerformAction ( )

On PerformAction we stop crouching.

Member Data Documentation

◆ _character

Character MoreMountains.TopDownEngine.AIActionCrouchStop._character
protected

◆ _characterCrouch

CharacterCrouch MoreMountains.TopDownEngine.AIActionCrouchStop._characterCrouch
protected

The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/Common/Scripts/Characters/AI/Advanced/AIActionCrouchStop.cs