|
TopDown Engine v4.5
|
Inverts the direction of a patrol on PerformAction. More...
Public Member Functions | |
| override void | Initialization () |
| On init we grab our actions. | |
| override void | PerformAction () |
| Inverts the patrol direction. | |
| 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. | |
Public Attributes | |
| AIActionMovePatrol2D | _movePatrol2D |
| the AIActionMovePatrol2D to invert the patrol direction on | |
| AIActionMovePatrol3D | _movePatrol3D |
| the AIActionMovePatrol3D to invert the patrol direction on | |
| 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 | |
Additional Inherited Members | |
| Public Types inherited from MoreMountains.Tools.AIAction | |
| enum | InitializationModes { EveryTime , OnlyOnce } |
| 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] |
Inverts the direction of a patrol on PerformAction.
|
virtual |
On init we grab our actions.
Reimplemented from MoreMountains.Tools.AIAction.
| override void MoreMountains.TopDownEngine.AIActionInvertPatrolDirection.PerformAction | ( | ) |
Inverts the patrol direction.
| AIActionMovePatrol2D MoreMountains.TopDownEngine.AIActionInvertPatrolDirection._movePatrol2D |
the AIActionMovePatrol2D to invert the patrol direction on
| AIActionMovePatrol3D MoreMountains.TopDownEngine.AIActionInvertPatrolDirection._movePatrol3D |
the AIActionMovePatrol3D to invert the patrol direction on