Search Unity

Question SelectActionTriggerType enum documentation?

Discussion in 'XR Interaction Toolkit and Input' started by R1PFake, May 4, 2021.

  1. R1PFake

    R1PFake

    Joined:
    Aug 7, 2015
    Posts:
    542
  2. AbelSierra

    AbelSierra

    Joined:
    Jul 19, 2018
    Posts:
    19
    Looking for the same documentation...
     
  3. seboverflow

    seboverflow

    Joined:
    Feb 13, 2016
    Posts:
    2
    Found it in the XRBaseControllerInteractor.cs comments:
    • State: The interaction will start when the button is pressed.
    • StateChange: This interaction will start on the select button/key being activated or deactivated.
    • Toggle: This interaction will start on the select button/key being activated and remain engaged until the second time the input is activated.
    • 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.