⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    SimpleBreathHandler MonoBehaviour

    Overview

    The SimpleBreathHandler is attached to a character to give them a constant breathing rate. This is used to drive the BreathingEffect procedural animation on weapons. You can alternatively use a StaminaSystem behaviour for a more complex breathing system that adapts to character fatigue.

    Inspector

    SimpleBreathHandler

    Properties

    Name Type Description
    Breath Interval Float The time in seconds between breaths.
    Breath Strength Float The strength of the character's breathing (0 = non-existant, 1 = heaving/panting).

    See Also

    BreathingEffect

    StaminaSystem

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