|
A* Pathfinding Project
3.7
The A* Pathfinding Project for Unity 3D
|
Base class for path modifiers which can be attached to GameObjects. More...
Base class for path modifiers which can be attached to GameObjects.
Public Member Functions | |
| abstract void | Apply (Path p, ModifierData source) |
| Main Post-Processing function. | |
| void | Awake () |
| Alerts the Seeker that this modifier exists. | |
| void | OnDestroy () |
| void | OnDisable () |
| void | OnEnable () |
| void | PreProcess (Path p) |
Public Member Functions inherited from IPathModifier | |
| void | Apply (Path p, ModifierData source) |
| void | PreProcess (Path p) |
Public Attributes | |
| Seeker | seeker |
Properties | |
| abstract ModifierData | input [get] |
| abstract ModifierData | output [get] |
| int | Priority [get, set] |
| Higher priority modifiers are executed first. | |
Properties inherited from IPathModifier | |
| ModifierData | input [get] |
| ModifierData | output [get] |
| int | Priority [get, set] |
Private Attributes | |
| int | priority |
| Save the priority to a field so that Unity can serialize it. | |
|
pure virtual |
Main Post-Processing function.
Implemented in RadiusModifier, SimpleSmoothModifier, AlternativePath, RaycastModifier, AdvancedSmooth, and FunnelModifier.
| void Awake | ( | ) |
Alerts the Seeker that this modifier exists.
| void OnDestroy | ( | ) |
| void OnDisable | ( | ) |
| void OnEnable | ( | ) |
| void PreProcess | ( | Path | p | ) |
|
private |
Save the priority to a field so that Unity can serialize it.
| Seeker seeker |
|
get |
|
get |
|
getset |
Higher priority modifiers are executed first.