Class ObjActionTargetExtension
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 ObjActionTargetExtension : AxisExtension
Methods
OnActionExecuteEachTarget(NavObject)
Dispatched once for each target action execution. Passing target NavObject as parameter.
Declaration
protected virtual void OnActionExecuteEachTarget(NavObject target)
Parameters
Type | Name | Description |
---|---|---|
NavObject | target |
OnActionInput()
Dispatched once after the action has started executing
Declaration
protected virtual void OnActionInput()
OnActionTargetAcquired(NavObject)
Dispatched once for each target acquired available for action execution. Passing target NavObject as parameter.
Declaration
protected virtual void OnActionTargetAcquired(NavObject target)
Parameters
Type | Name | Description |
---|---|---|
NavObject | target |
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()