Пример #1
0
 public void ManualActivate()
 {
     if (!started)
     {
         started = true;
         CutsceneController.BeginCutscene(this, cutsceneName);
     }
 }
Пример #2
0
 protected virtual void OnTriggerEnter2D(Collider2D other)
 {
     if (!started)
     {
         if (other.GetComponent <Entity> () == PlayerController.activeCharacter)
         {
             started = true;
             CutsceneController.BeginCutscene(this, cutsceneName);
         }
     }
 }