Created
May 19, 2016 09:01
-
-
Save tsmrecki/7a7e96c8ca84be979350b79ae41314aa to your computer and use it in GitHub Desktop.
Check for input actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void LateUpdate(){ | |
if (GvrViewer.Instance.BackButtonPressed) { | |
Application.Quit (); | |
} | |
if (GvrViewer.Instance.Triggered) { | |
SomeAction (); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment