docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum DiscreteButtonControl.WriteMode

    How WriteValueIntoState(float, void*) should behave.

    Namespace: UnityEngine.InputSystem.Controls
    Assembly: Unity.InputSystem.dll
    Syntax
    public enum DiscreteButtonControl.WriteMode

    Fields

    Name Description
    WriteDisabled

    WriteValueIntoState(float, void*) will throw NotSupportedException.

    WriteNullAndMaxValue

    Write nullValue for when the button is considered not pressed and write maxValue for when the button is considered pressed.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)