Enum AxisComposite.WhichSideWins | Input System | 1.0.2
docs.unity.cn
    Show / Hide Table of Contents

    Enum AxisComposite.WhichSideWins

    What happens to the value of an AxisComposite if both positive and negative are actuated at the same time.

    Namespace: UnityEngine.InputSystem.Composites
    Syntax
    public enum WhichSideWins

    Fields

    Name Description Value
    Neither

    If both positive and negative are actuated, the sides cancel each other out and the result is 0.

    0
    Positive

    If both positive and negative are actuated, the value of positive wins and negative is ignored.

    1
    Negative

    If both positive and negative are actuated, the value of negative wins and positive is ignored.

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 22 January 2021