Пример #1
0
 protected override void effects(Enemy enemyScript)
 {
     enemyScript.TakeDamage(damage);
 }
 protected virtual void effects(Enemy enemyScript)
 {
     enemyScript.TakeDamage(damage);
     Destroy(gameObject);
 }