⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    HudCrosshair MonoBehaviour

    Overview

    The HudMotionGraphParameterMeter behaviour displays is used to track a parameter on the player character's motion graph and display it as a meter bar on the Unity UI. An example usage is for jetpack fuel on the jetpack character.

    Inspector

    HudMotionGraphParameterMeter

    Properties

    Name Type Description
    Bar Rect [RectTransform][unity-recttransform] The rect transform of the meter's bar. This will be scaled based on the value.
    Parameter Key String The name of the motion graph float parameter to watch.
    Min Value Float The minimum value at which the meter bar will have zero width.
    Max Value Float The maximum value at which the meter bar will have reached its full width.

    See Also

    Unity UI

    Motion Graph Parameters And Data

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