docs.unity3d.com
    Show / Hide Table of Contents

    Enum XRBaseControllerInteractor.InputTriggerType

    This defines the type of input that triggers an interaction.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum InputTriggerType : int

    Fields

    Name Description Value
    State

    The interaction will start when the button is pressed.

    0
    StateChange

    This interaction will start on the select button/key being activated or deactivated.

    1
    Toggle

    This interaction will start on the select button/key being activated and remain engaged until the second time the input is activated.

    2
    Sticky

    Start interaction on select enter, and wait until the second time the select key is depressed before exiting the interaction. This is useful for grabbing and throwing without having to hold a button down.

    3
    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