Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    AxisMonoBehaviour
    AxisExtension
    ObjActionTargetExtension
    Inherited Members
    AxisExtension.FindNavObject(string, bool)
    AxisExtension.FindNavObjects(out List<NavObject>, string, bool)
    AxisExtension.FindNavObjectInMatrix(NavmeshMatrix, string, bool)
    AxisExtension.FindNavObjectsInMatrix(out List<NavObject>, NavmeshMatrix, string, bool)
    AxisMonoBehaviour.ContainsLabel(string)
    AxisMonoBehaviour.CountChildrenWithLabel(string, bool)
    AxisMonoBehaviour.ContainsLabelInChildren(string, bool)
    AxisMonoBehaviour.GetSpaceBetweenColliders(AxisMonoBehaviour)
    AxisMonoBehaviour.GetSpaceBetweenCollidersHorizontally(AxisMonoBehaviour)
    AxisMonoBehaviour.PauseGame()
    AxisMonoBehaviour.SetActiveByName(string)
    AxisMonoBehaviour.ResumeGame()
    AxisMonoBehaviour.GameTimeScaleSet(float)
    AxisMonoBehaviour.transform
    AxisMonoBehaviour.gameObject
    AxisMonoBehaviour.collider
    AxisMonoBehaviour.Origin
    AxisMonoBehaviour.OnTransformChildrenChanged()
    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()
    In This Article
    Back to top Axis 1.0.0