private void OnMouseOver() { if (Input.GetMouseButtonDown(0)) { if (turretPlaceable) { towerFactory.AddTurret(this); } } }