⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AnimatedWeaponInspect MonoBehaviour

    Overview

    The AnimatedWeaponInspect behaviour sets a bool animator parameter and blocks the weapon or item from functioning while inspecting. You can also use an int animator parameter to cycle between different inspect poses, for example when looking at attachments or trigger mode.

    Inspector

    AnimatedWeaponInspect

    Properties

    Name Type Description
    Inspect Key String The name of the bool parameter to set on the weapon's animator while inspecting.
    Release Delay Float How long after releasing the inspect key, should the weapon be able to function again.
    Num Poses Integer How many inspect poses does the weapon have.
    Pose Key String The name of the integer parameter to set on the weapon's animator that controls the animation pose.
    Reset Pose Boolean Should the pose index be reset when inspecting state changes.

    See Also

    Modular Firearms

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