void GameObjectSelection() { if (_goSelector == null) { return; } if (Input.GetMouseButtonDown(0)) { var selected = _goSelector.SelectGameObject(LayerMask.NameToLayer("Tower")); if (selected != null) { _towerManager.ActivateTowerAttackRange(selected.GetInstanceID()); } } }