A* Pathfinding Project  4.1.1
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
[AddComponentMenu("CONTEXT/Seeker/Something")] Modifier

Public Member Functions

abstract void Apply (Path path)
 Main Post-Processing function.
 
virtual void OnDestroy ()
 
void OnDisable ()
 
void OnEnable ()
 
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

override void Awake ()
 Alerts the Seeker that this modifier exists.
 
- Protected Member Functions inherited from VersionedMonoBehaviour
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

Main Post-Processing function.

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

override void Awake ( )
protectedvirtual

Alerts the Seeker that this modifier exists.

Reimplemented from VersionedMonoBehaviour.

virtual void OnDestroy ( )
virtual

Reimplemented in AlternativePath.

void OnDisable ( )
void OnEnable ( )
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: