private void Start() { _buildCommand = new CommandViewModel("New station", OnBuildCommand); CoreContainerViewModel.Instance.CommandUi.Register(_buildCommand); _stationManager = LevelManager.Instance.StationsManager; _controllerManager = LevelManager.Instance.ControllerManager; }
void Start() { _controllerManager = LevelManager.Instance.ControllerManager; _station = GetComponentInParent <Station>(); }