A* Pathfinding Project  4.1.2
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
MonoModifier Class Referenceabstract

Base class for path modifiers which can be attached to GameObjects. More...

Detailed Description

Base class for path modifiers which can be attached to GameObjects.

See Also
Menubar -> Component -> Pathfinding -> Modifiers

Public Member Functions

abstract void Apply (Path path)
 Called for each path that the Seeker calculates after the calculation has finished.
 
virtual void PreProcess (Path path)
 
- Public Member Functions inherited from IPathModifier
void Apply (Path path)
 
void PreProcess (Path path)
 

Public Attributes

Seeker seeker
 

Protected Member Functions

virtual void OnDisable ()
 
virtual void OnEnable ()
 Alerts the Seeker that this modifier exists.
 
- Protected Member Functions inherited from VersionedMonoBehaviour
virtual void Awake ()
 
virtual int OnUpgradeSerializedData (int version, bool unityThread)
 Handle serialization backwards compatibility.
 

Properties

abstract int Order [get]
 Modifiers will be executed from lower order to higher order.
 
- Properties inherited from IPathModifier
int Order [get]
 

Member Function Documentation

abstract void Apply ( Path  path)
pure virtual

Called for each path that the Seeker calculates after the calculation has finished.

Implemented in RadiusModifier, SimpleSmoothModifier, RaycastModifier, FunnelModifier, AlternativePath, and AdvancedSmooth.

virtual void OnDisable ( )
protectedvirtual
virtual void OnEnable ( )
protectedvirtual

Alerts the Seeker that this modifier exists.

virtual void PreProcess ( Path  path)
virtual

Member Data Documentation

Seeker seeker

Property Documentation

abstract int Order
get

Modifiers will be executed from lower order to higher order.

This value is assumed to stay constant.


The documentation for this class was generated from the following file: