⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    HudInteractionTooltip MonoBehaviour

    Overview

    The HudInteractionTooltip behaviour is used to display the name of the interactive object that the player character is aiming at, along with a simple description of what interacting with it does.

    Inspector

    HudInteractionTooltip

    Properties

    Name Type Description
    Name Text Text The UI text element to show the highlighted object's name.
    Input Action Text Text The UI text element to show the input action required (press or hold).
    Interaction Text Text The UI text element to show the interaction result (eg pick up).
    Hold Option String The verb to use for holding the use button.
    Press Option String The verb to use for pressing/tapping the use button.
    Default Action String The verb to use for the action when that's performed when using the item.

    See Also

    Interactive Objects

    Unity UI

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