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

An Action that will set the target to null, resetting it. More...

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

Public Member Functions

override void PerformAction ()
 we reset our target
Public Member Functions inherited from MoreMountains.Tools.AIAction
void PerformAction ()
virtual void Initialization ()
 Initializes the action. Meant to be overridden.
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.

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.
Protected Attributes inherited from MoreMountains.Tools.AIAction
bool _initialized
AIBrain _brain
Properties inherited from MoreMountains.Tools.AIAction
virtual bool ActionInProgress [get, set]
virtual bool ShouldInitialize [get]

Detailed Description

An Action that will set the target to null, resetting it.

Member Function Documentation

◆ PerformAction()

override void MoreMountains.TopDownEngine.AIActionResetTarget.PerformAction ( )

we reset our target


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