// Use this for initialization void Start() { // skipCut = false; DontDestroyOnLoad(gameObject); camMove = GetComponent <cameraMove>(); fade = GetComponent <fadeIn>(); cutScene = GetComponent <cutSceneManager>(); }
// Update is called once per frame void Update() { if (fadeInFunc != null) { fadeInFunc(); } if (Input.GetMouseButtonDown(0)) { fadeInFunc = DoFadeIn; } }
// Use this for initialization void Start() { fade = Camera.main.GetComponent <fadeIn>(); info = Camera.main.GetComponent <dontDestroyInfo>(); }