Class NavZoneExtension
This class can be inherited to create your custom code component overriding protected methods that connects this to the NavZone component in the same GameObject.
Inherited Members
Namespace: Axis.Extensions
Assembly: cs.temp.dll.dll
Syntax
public abstract class NavZoneExtension : AxisExtension
Methods
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnObjectEnter(NavObject)
Dispatched once NavObject landed on Zone tiles. Passing NavObject as parameter.
Declaration
protected virtual void OnObjectEnter(NavObject other)
Parameters
Type | Name | Description |
---|---|---|
NavObject | other |
OnObjectExit(NavObject)
Dispatched once NavObject exited Zone tiles, by floor or air. Passing NavObject as parameter.
Declaration
protected virtual void OnObjectExit(NavObject other)
Parameters
Type | Name | Description |
---|---|---|
NavObject | other |
OnObjectLand(NavObject)
Dispatched once NavObject entered Zone tiles, by floor or air. Passing NavObject as parameter.
Declaration
protected virtual void OnObjectLand(NavObject other)
Parameters
Type | Name | Description |
---|---|---|
NavObject | other |