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 : int

    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 © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, January 5, 2022
    Terms of use