Exemple #1
0
 void OnPlayableDirectorStopped(PlayableDirector aDirector)
 {
     if (timeline == aDirector)
     {
         Debug.Log("PlayableDirector named " + aDirector.name + " is now stopped.");
         playerController.Enable();                 // Enabled player movements back again
         GetComponent <Collider>().enabled = false; // Play the cutscene once
     }
 }