using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; /// /// MenuからStartを押した際にViewに渡す変数を取りまとめる /// 最終的にViewLancherに引き渡してSceneを呼ぶ /// public class UIStartManager : MonoBehaviour { protected enum ViewType { LiveView = 0, PhotoStudioView = 1 } private bool isHighQuality = true; private Button StartButton = null; // Use this for initialization void Start() { StartCoroutine(firstDownload()); } // Update is called once per frame void Update() { if (StartButton == null) { GameObject startButton = GameObject.Find("B_OK"); if (startButton == null) { return; } Button button = startButton.GetComponent