docs.unity.cn
    Show / Hide Table of Contents

    Enum DiscreteButtonControl.WriteMode

    How WriteValueIntoState(Single, Void*) should behave.

    Namespace: UnityEngine.InputSystem.Controls
    Syntax
    public enum WriteMode

    Fields

    Name Description Value
    WriteDisabled

    WriteValueIntoState(Single, 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.

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on 27 March 2023
    Terms of use