public void DeactivateAgent(bool addScore = true) { if (addScore) { gameManager.AddScore(this); gameManager.SpawnSingleUnit(); } Destroy(this.gameObject); }