Class NavObjectExtension
This class can be inherited to create your custom code component overriding protected
methods that connects this to the ObjActionTarget component in the same GameObject.
Inheritance
object
NavObjectExtension
Assembly: cs.temp.dll.dll
Syntax
public abstract class NavObjectExtension : AxisExtension
Methods
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnEnterOverlapObject(NavObject)
Declaration
protected virtual void OnEnterOverlapObject(NavObject other)
Parameters
Type |
Name |
Description |
NavObject |
other |
|
OnExitOverlapObject(NavObject)
Declaration
protected virtual void OnExitOverlapObject(NavObject other)
Parameters
Type |
Name |
Description |
NavObject |
other |
|
OnHitBullet(NavBullet, Vector3)
Declaration
protected virtual void OnHitBullet(NavBullet bullet, Vector3 bounce)
Parameters
Type |
Name |
Description |
NavBullet |
bullet |
|
Vector3 |
bounce |
|
OnHitObject(NavObject, Vector3)
Declaration
protected virtual void OnHitObject(NavObject other, Vector3 bounce)
Parameters
Type |
Name |
Description |
NavObject |
other |
|
Vector3 |
bounce |
|
OnLinkEnter(NavLink)
Dispatched NavObject has start the travel
Declaration
protected virtual void OnLinkEnter(NavLink link)
Parameters
Type |
Name |
Description |
NavLink |
link |
|
OnLinkEnterStart(NavLink)
Dispatched NavObject becomes unavailable for animation start
Declaration
protected virtual void OnLinkEnterStart(NavLink link)
Parameters
Type |
Name |
Description |
NavLink |
link |
|
OnLinkExit(NavLink)
Dispatched NavObject is available again
Declaration
protected virtual void OnLinkExit(NavLink link)
Parameters
Type |
Name |
Description |
NavLink |
link |
|
OnLinkExitStart(NavLink)
Dispatched NavObject has finished the travel
Declaration
protected virtual void OnLinkExitStart(NavLink link)
Parameters
Type |
Name |
Description |
NavLink |
link |
|
OnNavmeshEnter(NavmeshMatrix)
Dispatched collider has entered NavmeshMatrix tiles, by land or air
Declaration
protected virtual void OnNavmeshEnter(NavmeshMatrix matrix)
Parameters
Type |
Name |
Description |
NavmeshMatrix |
matrix |
|
OnNavmeshExit(NavmeshMatrix)
Dispatched collider has exit NavmeshMatrix tiles, by land or air
Declaration
protected virtual void OnNavmeshExit(NavmeshMatrix matrix)
Parameters
Type |
Name |
Description |
NavmeshMatrix |
matrix |
|
OnZoneEnter(NavZone)
Dispatched collider has entered Zone tiles, by land or air
Declaration
protected virtual void OnZoneEnter(NavZone zone)
Parameters
Type |
Name |
Description |
NavZone |
zone |
|
OnZoneExit(NavZone)
Dispatched collider has exit Zone tiles, by land or air
Declaration
protected virtual void OnZoneExit(NavZone zone)
Parameters
Type |
Name |
Description |
NavZone |
zone |
|