public void Damage(int _playerAttack) { var damage = _enemyDefense - _playerAttack; if (damage <= 0) { _enemyHP += damage; if (_enemyHP <= 0) { _levelManager.LevelDown(_playerLevelDown); _semanager.SEEnemyDie(); Destroy(gameObject); } } }