⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    BasicHealthManager MonoBehaviour

    Overview

    The BasicHealthManager behaviour manages a character's health, firing events when health changes and on death.

    Inspector

    BasicHealthManager

    Properties

    Name Type Description
    Health Float The starting health of the character.
    Health Max Float The maximum health of the character.
    Can Damage Self Boolean Can the character damage itself (eg with explosives).
    On Health Changed Unity Event An event called whenever the health changes.
    On Is Alive Changed Unity Event An event called whenever the alive state of the health manager changes.

    See Also

    Health and Damage

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