A* Pathfinding Project  3.7.4
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 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.
 

Member Function Documentation

abstract void Apply ( Path  p,
ModifierData  source 
)
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)

Member Data Documentation

int priority
private

Save the priority to a field so that Unity can serialize it.

Seeker seeker

Property Documentation

abstract ModifierData input
get
abstract ModifierData output
get
int Priority
getset

Higher priority modifiers are executed first.


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