⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    ShieldedDamageHandler MonoBehaviour

    Overview

    The ShieldedDamageHandler behaviour adds an energy shield system to the BasicDamageHandler. Energy shields completely absorb damage until they are broken. The shield capacity and charge is handled by a ShieldManager behaviour on the character.

    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

    ShieldedDamageHandler

    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