示例#1
0
        private void OnEnemyDie(GameObject enemy)
        {
            TargetTransformHolderGetter.RemoveTarget(enemy.transform);
            IDieble dieble = enemy.GetComponent <IDieble>();

            dieble.Die();
        }
示例#2
0
 private void OnFortStateChanges(FortState state)
 {
     FortStateReceiver.SetFortState(state);
     if (state == FortState.Dead)
     {
         FortView.Die();
     }
 }