Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. // If onCardBoardTrigger is active
  5. public void onCardboardTrigger() {
  6. if (isLookingAtObject())
  7. //Then go to HorrorCoaster
  8. else UnityEngine.SceneManagement("HorrorCoaster");
  9. }
  10. //This is meant to be a simple start me
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement