⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    HudDamageMarkers MonoBehaviour

    Overview

    The HudDamageMarkers behaviour displays images at the edge of the screen based on the direction the player character takes damage from and then fades out over time.

    Inspector

    HudDamageMarkers

    Properties

    Name Type Description
    Fullscreen CanvasGroup The group for that encompasses all of the markers.
    Left Marker CanvasGroup The group for fading out the left hand marker.
    Right Marker CanvasGroup The group for fading out the right hand marker.
    Front Marker CanvasGroup The group for fading out the front marker (top of the screen).
    Back Marker CanvasGroup The group for fading out the back marker (bottom of the screen).
    Show Duration Float How long should the markers remain fully visible.
    Fade Duration Float How long do the markers take to fade out.

    See Also

    Health and Damage

    Unity UI

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