public virtual void Die() { _isAlive = false; if (_spawnPoint != null) { _spawnPoint.CivilianKilled(this); } GameManager.Instance.ShowMessage(Name + " has died!"); Destroy(gameObject); GameManager.Instance.RemoveCivilian(false); //DamageBarPanel.AddDamageBar(this, UIAnchor, Vector3.up * 2); //AudioManager.Instance.Play(AudioSFXDatabase.Instance.BuildingDestroyedSFX, AudioManager.AudioGroup.Building_Destroyed); }