void RestartLevel() { _gameMenu.SetActive(false); _buttons[Constants.pauseButton].gameObject.SetActive(true); Camera.main.transform.position = new Vector3(0, 0, -10); _objectStorage.ClearLevelData(); _poolManager.LoadLevel(); _poolManager.InstantiateEntities(); _player = _objectStorage.Units[UnitType.Player.ToString()].First(); _magazinePanel.SetActive(true); _updateManager.CustomStart(); }