- Home /
 
 
               Question by 
               esanuriana08 · Nov 03, 2021 at 07:23 AM · 
                inputvroculusquest  
              
 
              How to detect button down/up in xr interaction toolkit in unity xr oculus?
In the following picture it only detects once and it is detected when clicking.. I want to detect button down and up..
so how to detect it? maybe there is a tutorial anywhere for me or maybe someone who already knows about this case can just comment.. thank you
 
 public InputActionReference InputB;
private void ActionB(InputAction.CallbackContext callbackContext) { Debug.Log(" Action B"); }
 
                 
                capture1.png 
                (26.0 kB) 
               
 
              
               Comment
              
 
               
              Your answer