Skip to main content
Up and Coming
April 21, 2019

if (OVRInput.GetDown(OVRInput.Axis1D.PrimaryIndexTrigger))


if (OVRInput.GetDown(OVRInput.Axis1D.PrimaryIndexTrigger))
{
         button = hit.collider.gameObject;
         ExecuteEvents.Execute(button, data, ExecuteEvents.pointerClickHandler);
}



I wonder that what is wrong?



Warning Messeage from Unity Console

NotImplementedException: The method or operation is not implemented.
OVRInput.GetDown (OVRInput+Axis1D primaryIndexTrigger) (at Assets/Oculus/VR/Scripts/OVRInput.cs:1644)
LaserCtrl.Update () (at Assets/Scripts/LaserCtrl.cs:55)
This topic has been closed for replies.

2 replies

Up and Coming
April 22, 2019
public static bool GetDown(Axis1D primaryIndexTrigger)
    {
        throw new NotImplementedException();
    }


I don't understand why  :s
Up and Coming
April 22, 2019
I found it!

if (OVRInput.GetDown(OVRInput.Button.PrimaryIndexTrigger, OVRInput.Controller.LTouch))
{
                    Debug.Log("Click!");               
}

 :'(