Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- // If onCardBoardTrigger is active
- public void onCardboardTrigger() {
- if (isLookingAtObject())
- //Then go to HorrorCoaster
- else UnityEngine.SceneManagement("HorrorCoaster");
- }
- //This is meant to be a simple start me
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement