Class NavBulletExtension
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.
Inherited Members
Namespace: Axis.Extensions
Assembly: cs.temp.dll.dll
Syntax
public abstract class NavBulletExtension : AxisExtension
Methods
OnDisable()
Declaration
protected virtual void OnDisable()
OnDisappear()
Declaration
protected virtual void OnDisappear()
OnEnable()
Declaration
protected virtual void OnEnable()
OnFirstHit(NavObject)
Dispatched when bullet hits its first hit
Declaration
protected virtual void OnFirstHit(NavObject target)
Parameters
Type | Name | Description |
---|---|---|
NavObject | target |
OnHitObject(NavObject)
Dispatched when bullet hits any valid collider
Declaration
protected virtual void OnHitObject(NavObject target)
Parameters
Type | Name | Description |
---|---|---|
NavObject | target |
OnLastHit(NavObject)
Dispatched when bullet hits its last hit
Declaration
protected virtual void OnLastHit(NavObject target)
Parameters
Type | Name | Description |
---|---|---|
NavObject | target |
OnSpawned()
Declaration
protected virtual void OnSpawned()
OnTimeOutDie()
Dispatched when bullet dies after defined time
Declaration
protected virtual void OnTimeOutDie()