Look To Select new Level IN UNITY 5.3 for Google VR
OK, Super new here and with Unity. I'm stuck trying to get the level to start from what will be my start menu. I have a Canvas that I want the user to just look at(no clicking) and that opens the next scene. Simple right. I just can't for the life of me figure it out. I have The Google VR Camera set up with a ray cast. An event system, with the Gaze input module attached, and other input modules disabled. I also have the GVR Reticule. On The canvas itself I have an event trigger with event types currently attached. I have tried several combinations to no avail. The only code I have is a LoadScene script which consists of:
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement;
public class LoadScene: MonoBehaviour {
// Use this for initialization
void Start () {
SceneManager.LoadScene ("STONE");
}
// Update is called once per frame
void Update () {
}
}
I cannot figure out how to get this to work. Any help would be greatly appreciated.
Let me know if you need more detail.
Your answer
Follow this Question
Related Questions
load level 1 Answer
Loading Particular UI from Different Scene 0 Answers
About Loading Scene 1 Answer
SceneManager.LoadScene(); is not working correctly 0 Answers
load level issue 2 Answers