⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    InputSystemMenu MonoBehaviour

    Overview

    The InputSystemMenu behaviour is added to UI elements that should block character input when visible. It pushes the FpsInputContext.Menu context when enabled and removes it when disabled. An example would be adding this to the root of the dialogue UI of another asset that handles conversations with NPCs. When the UI is activated, the character input will stop and allow you to chat to the NPC without accidentally shooting them.

    This component is the input system equivalent of the [InputMenu][inputref-mb-inputmenu.md] input handler.

    Inspector

    InputSystemMenu

    Properties

    Name Type Description
    Show Mouse Cursor Boolean Should the mouse cursor be released when this object is activated (or component enabled). Set to false for things like loading screens.

    See Also

    NeoFPS Input

    Input System Extension

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