void Start() { view = GetComponent <MenuUIView>(); UserInterface.CurrentController = this; view.CustomTotalPlayers.onValueChanged.AddListener((p) => OnCustomPlayerCountChange(p)); view.CustomStartingPosition.onValueChanged.AddListener((p) => OnCustomStartingPositionChange(p)); OnCustomPlayerCountChange(view.CustomTotalPlayers.value); ReevaluateViews(view.MainView); }
private void Start() { view = GetComponent <MenuUIView>(); ReevaluteSavedTabs(); }