ClassicCityBuilderKit 1.9.0
|
walks a walker to a destination using its navmesh agent
Public Member Functions | |
WalkAgentAction (Vector3 position, float? distance=null) | |
override void | Start (Walker walker) |
called by the walker when the action is first started, either by being first in a process or when the previous action has ended | |
override void | Continue (Walker walker) |
called by the walker after the game has been loaded | |
override void | Cancel (Walker walker) |
called by the walker if the action was active when its process was canceled | |
Public Member Functions inherited from CityBuilderCore.WalkerAction | |
virtual void | End (Walker walker) |
called by the walker when this is the active action and the process advances do not call this directly, to end an action call Walker.AdvanceProcess | |
Public Attributes | |
Vector3 | _position |
float? | _distance |
|
inlinevirtual |
called by the walker if the action was active when its process was canceled
walker | the walker performing this action |
Reimplemented from CityBuilderCore.WalkerAction.
|
inlinevirtual |
called by the walker after the game has been loaded
walker | the walker performing this action |
Reimplemented from CityBuilderCore.WalkerAction.
|
inlinevirtual |
called by the walker when the action is first started, either by being first in a process or when the previous action has ended
walker | the walker performing this action |
Reimplemented from CityBuilderCore.WalkerAction.