⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AnimStateObjectActivator StateMachineBehaviour

    Overview

    This is used to control when gameobjects are active from within an animation graph. For example, controlling a shotgun shell's visibility during a reload animation.

    Inspector

    AnimStateObjectActivator

    Properties

    Name Type Description
    Object Path String The path to the relevant object in the object hierarchy the animator is attached to.
    Active On Enter Boolean Should the object be active when the animation state is entered.
    Active On Exit Boolean Should the object be active when the animation state is exited.
    Start Offset Normalised Float The normalised offset (0 to 1) from entry of the state for the object state to be changed (0 is the start, 1 is the end).
    End Offset Normalised Float The normalised offset (0 to 1) from the end of the state for the object state to be changed (0 is the end, 1 is the start).

    See Also

    Unity Animator

    Unity AnimatorController

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX