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

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