campfire/Assets/Scripts/VRSceneOpener.cs

10 lines
261 B
C#
Raw Permalink Normal View History

2020-06-12 21:28:40 +02:00
using UnityEngine;
using UnityEngine.SceneManagement;
// Only used in the VR Entry Point scene, for loading in the main scene.
public class VRSceneOpener : MonoBehaviour {
private void Start() {
SceneManager.LoadScene("Scenes/VRScene");
}
}