title: Sliders in Unity VR
body: <p>We're working on a video player app for the Go. We built a straightforward raycaster script to trigger onClick events when a user points at a UI Button element and pulls the trigger:</p>
  
  <pre><code>bool triggerPulled = OVRInput.GetDown(OVRInput.Button.PrimaryIndexTrigger);
      if (Physics.Raycast(transform.position, transform.forward, out hit, 1000))
      {
  
          if ( triggerPulled )
          {
  
              // if we hit a button
              Button button = hit.transform.gameObject.GetComponent&lt;Button&gt;();
  
              if (button != null)
              {
                  button.onClick.Invoke();
              }
  
          }
  ....
      }
  </code></pre>
  
  <p>We'd really like to be able to manipulate UI Sliders with the laser pointer as well as buttons, but aren't clear on whether there are analogous events we can trigger for the appropriate behavior. We can call <code>onValueChanged</code> to alter the value, but that doesn't really give us the sliding behavior we'd like, only lets us set the new value once we know where we're ending up.</p>
  
  <p>Does anybody have good ideas for how to approach this?</p>