상속: MonoBehaviour
예제 #1
0
 // Use this for initialization
 void Start()
 {
     // skipCut = false;
     DontDestroyOnLoad(gameObject);
     camMove  = GetComponent <cameraMove>();
     fade     = GetComponent <fadeIn>();
     cutScene = GetComponent <cutSceneManager>();
 }
예제 #2
0
    // Update is called once per frame
    void Update()
    {
        if (fadeInFunc != null)
        {
            fadeInFunc();
        }

        if (Input.GetMouseButtonDown(0))
        {
            fadeInFunc = DoFadeIn;
        }
    }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     fade = Camera.main.GetComponent <fadeIn>();
     info = Camera.main.GetComponent <dontDestroyInfo>();
 }