示例#1
0
    public void Play_WinMovie()
    {
        If_WinM = true;
        WinMovie.SetActive(true);

        WinMovie.GetComponent <VideoPlayer>().Play();
        Debug.Log("WinMovie Star");
    }
示例#2
0
 // Update is called once per frame
 void Update()
 {
     if (StarMovie.GetComponent <VideoPlayer>().isPlaying == false && IF_StarM != false)
     {
         StarMovie.SetActive(false);
         Debug.Log("StarMovie End");
         IF_StarM = false;
     }
     if (WinMovie.GetComponent <VideoPlayer>().isPlaying == false && If_WinM != false)
     {
         WinMovie.SetActive(false);
         Debug.Log("WinMovie End");
         // SceneManager.LoadScene(1);
         Time0._instance.Settlement();
         If_WinM = false;
     }
 }