Enum AxisComposite.WhichSideWins | Package Manager UI website
docs.unity3d.com
    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
    Negative

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

    Neither

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

    Positive

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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023