0

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...

chelder
  • 3,819
  • 6
  • 56
  • 90

1 Answers1

0

It was a silly mistake. There are 2 objects with that script attached. That's why it was executed twice!

chelder
  • 3,819
  • 6
  • 56
  • 90