private void HandleMoviePlay(int currentIndex, int lastIndex)
    {
        MoviePlay current = tutorialIslands[currentIndex].GetComponent <MoviePlay>();
        MoviePlay last    = tutorialIslands[lastIndex].GetComponent <MoviePlay>();

        current.ContinueMovie();
        last.PauseMovie();
    }
Exemplo n.º 2
0
 void Awake()
 {
     //the singleton
     if (Instance != null)
     {
         Debug.LogError("Multiple instances of SoundEffectsHelper!");
     }
     Instance = this;
 }
Exemplo n.º 3
0
 private int MoviePlayImpl(ref MoviePlay thisPointer)
 {
     IsPlayingFmv = true;
     return(_moviePlayHook.OriginalFunction(ref thisPointer));
 }
Exemplo n.º 4
0
 void Awake()
 {
     _instance = this;
 }