⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    ContinuousTrigger MonoBehaviour

    Overview

    The ContinuousTrigger module fires each frame. This is useful for modelling weapons such as flamethrowers, or beam weapons thatfire until you release the trigger again.

    Inspector

    ContinuousTrigger

    Properties

    Name Type Description
    Start Active Boolean Should this module register as the active trigger immediately on start.
    Activation Mode Dropdown How does module activation work. Options are: Component means the component will be enabled / disabled - use this when you have multiple modules on an object such as the firearm root. GameObject activates / deactivates the object - use this for attachments where you want the geo to appear/disappear.
    Trigger Hold Anim Key String The AnimatorController bool property key to set while the trigger is pressed.

    See Also

    Modular Firearms

    Unity Animator

    Unity AnimatorController

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