public void Configure(MainMenuMediator menuMediator, Transform _car) { mediator = menuMediator; carTransform = _car; customizerMenuAnimations = new Animations.CustomizerMenuAnimations(carTransform, desiredCarPosition); }
public void Configure(MainMenuMediator menuMediator, Transform _car, TransitionBetweenScenes _transitionBetweenScenes) { mediator = menuMediator; carTransform = _car; transitionBetweenScenes = _transitionBetweenScenes; playButton.onClick.AddListener(() => Play()); lobbyMenuAnimations = new Animations.LobbyMenuAnimations(carTransform, desiredCarPosition, desiredCarPositionWhenPlayButton, logoImage, playButton); lobbyPlayButton.Configure(lobbyMenuAnimations); }
public void Configure(MainMenuMediator menuMediator, Transform _car) { mediator = menuMediator; carTransform = _car; inputUINavigation = new Input.InputUINavigation(mailInputField, loginButton); accountMenuAnimations = new Animations.AccountMenuAnimations(carTransform, desiredCarPosition); registerButton.onClick.AddListener(() => RegisterButton()); loginButton.onClick.AddListener(() => LoginButton()); logoutButton.onClick.AddListener(() => LogoutButton()); }
public void Configure(MainMenuMediator menuMediator, Transform _car, Matchs.InterfaceAdapters.Controller.MatchController _matchController) { mediator = menuMediator; carTransform = _car; settingsMenuAnimations = new Animations.SettingsMenuAnimations(carTransform, desiredCarPosition); controlsTabButton.onClick.AddListener(() => ControlsTabScreen(_matchController)); soundTabButton.onClick.AddListener(() => SoundTabScreen(_matchController)); leaderboardTabButton.onClick.AddListener(() => LeaderboardTabScreen(_matchController)); stadisticsTabButton.onClick.AddListener(() => StadisticsTabScreen(_matchController)); controlsTabScreen.Configure(this); soundTabScreen.Configure(this); leaderboardTabScreen.Configure(this); stadisticsTabScreen.Configure(this); }