Hi,
I’m trying to control a slider with a SteamVR Laserpointer in world space for a VR-App, but can’t find a nice solution.
For controlling buttons I got:
btn = e.target.gameObject.GetComponent<Button>();
if (btn != null)
{
btn.onClick.Invoke();
controller.TriggerHapticPulse(1000);
}
Is there maybe a similar way to control the Slider?
Thanks in advance!