예제 #1
0
 public void DieReward(WolfAgent wolf)
 {
     wolfAgent = wolf;
     if (wolfAgent == null)
     {
         Debug.Log("EnemiesManager - Wolf Agent is null.");
         wolfAgent = FindObjectOfType <WolfAgent>();
         return;
     }
     wolfAgent.EnemyDieReward();
 }