Inheritance: 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>();
 }