private void Start() { videoManager = GetComponent <VideoManager>(); photoManager = GetComponent <PhotoManager>(); #region Editor Testing -- Delete before roll out if (skybox) { ChangeSkybox(1); this.structure.SetActive(true); } if (video) { videoManager.ChangeVideo360("D:/Downloads/test.mp4"); RenderSettings.skybox = this.visuals[0]; this.structure.SetActive(false); } if (photo) { photoManager.ChangePhoto360("D:/Downloads/testphoto.jpg"); RenderSettings.skybox = this.visuals[1]; this.structure.SetActive(false); } #endregion }