The official documentation says:
True for exactly one complete frame after each pull.
However the following Log is executed twice per tap on the screen:
void Update(){
if (GvrViewer.Instance.Triggered {
Debug.Log("Tap detected");
}
}
A workaround could be removing the private
from public bool Triggered { get; private set; }
in GvrViewer. Then setting it to false
manually within the above if clause. It would not be a very elegant solution though...
It was a silly mistake. There are 2 objects with that script attached. That's why it was executed twice!