示例#1
0
 public void SendEnemyDeathEvent(CharacterDeathInfo _info)
 {
     if (EnemyDeathEvent != null)
     {
         EnemyDeathEvent(_info);
     }
 }
示例#2
0
 // Event Sending
 public void SendPlayerDeathEvent(CharacterDeathInfo _info)
 {
     if (PlayerDeathEvent != null)
     {
         PlayerDeathEvent(_info);
     }
 }
示例#3
0
 void Lose(CharacterDeathInfo _info)
 {
     SceneManager.LoadScene(loseSceneName);
 }