Exemplo n.º 1
0
 private void BossRoomController_BossDialogueEnd(On.BossRoomController.orig_BossDialogueEnd orig, BossRoomController self)
 {
     orig(self);
     if (BossController.State == BossStates.Outro)
     {
         hud.EndTimer();
     }
 }
Exemplo n.º 2
0
 private void BossRoomController_BossDialogueEnd(On.BossRoomController.orig_BossDialogueEnd orig, BossRoomController self)
 {
     orig(self);
     if (BossController.State == BossStates.Intro)
     {
         self.transform.Find("Music").gameObject.GetComponent <AudioSource>().Stop();
         self.Boss.StopSinging();
     }
 }