⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    BasicDamageHandler MonoBehaviour

    Overview

    The BasicDamageHandler behaviour takes damage and passes it to a parent HealthManager.

    Note

    A damage handler needs to be added to an object with a collider, which uses a layer that the NeoFPS compatible weapons, etc can detect.

    Inspector

    BasicDamageHandler

    Properties

    Name Type Description
    Multiplier Float The value to multiply any incoming damage by. Use to reduce damage to areas like feet, or raise it for areas like the head.
    Critical Boolean Does the damage count as critical. Used to change the feedback for the damage taker and dealer.

    See Also

    Health and Damage

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