private void Awake() { sectionSpawner = FindObjectOfType <SectionSpawner>(); lobbyEcsController = FindObjectOfType <LobbyEcsController>(); resourcesAccrualSceneManager = FindObjectOfType <ResourcesAccrualSceneManager>(); insufficientResourceErrorHandler = FindObjectOfType <InsufficientResourceErrorHandler>(); }
private void Awake() { lobbyEcsController = FindObjectOfType <LobbyEcsController>() ?? throw new Exception($"Не найден {nameof(LobbyEcsController)}"); lobbySceneSwitcher = FindObjectOfType <LobbySceneSwitcher>(); matchmakerNegotiator = new MatchmakerNegotiator(lobbyEcsController); }
public WarshipListFillerSystem(Contexts contexts, WarshipsUiStorage warshipsUiStorage, LobbyEcsController lobbyEcsController) : base(contexts.lobbyUi) { this.warshipsUiStorage = warshipsUiStorage; this.lobbyEcsController = lobbyEcsController; warshipsGroup = contexts.lobbyUi.GetGroup(LobbyUiMatcher.Warship); }
private void Awake() { purchasingService = FindObjectOfType <PurchasingServiceStub>() ?? throw new NullReferenceException(nameof(IPurchasingService)); lobbyEcsController = FindObjectOfType <LobbyEcsController>() ?? throw new NullReferenceException(nameof(lobbyEcsController)); textTooltip = FindObjectOfType <TextTooltip>() ?? throw new NullReferenceException(nameof(TextTooltip)); }
private void Awake() { shopUiSpawner = FindObjectOfType <ShopUiSpawner>() ?? throw new NullReferenceException(nameof(ShopUiSpawner)); purchasingService = FindObjectOfType <PurchasingService>() ?? throw new NullReferenceException(nameof(PurchasingService)); lobbyEcsController = FindObjectOfType <LobbyEcsController>() ?? throw new NullReferenceException(nameof(PurchasingService)); }
public WarshipOverviewEnablingSystem(Contexts contexts, WarshipsUiStorage warshipsUiStorage, LobbyLayoutSwitcher lobbyLayoutSwitcher, LobbyEcsController lobbyEcsController, TextTooltip textTooltip) : base(contexts.lobbyUi) { lobbyUiContext = contexts.lobbyUi; this.warshipsUiStorage = warshipsUiStorage; this.lobbyEcsController = lobbyEcsController; this.textTooltip = textTooltip; this.lobbyLayoutSwitcher = lobbyLayoutSwitcher; }
public PurchaseConfirmationWindowEnablingSystem(IContext <LobbyUiEntity> context, LobbyEcsController lobbyEcsController, InGameCurrencyPaymaster inGameCurrencyPaymaster, ShopUiStorage shopUiStorage, LobbyLayoutSwitcher lobbyLayoutSwitcher) : base(context) { this.lobbyEcsController = lobbyEcsController; this.shopUiStorage = shopUiStorage; this.lobbyLayoutSwitcher = lobbyLayoutSwitcher; softCurrencyPurchaseConfirmationWindowController = new SoftCurrencyPurchaseConfirmationWindowController(inGameCurrencyPaymaster); // skinPurchaseConfirmationWindowController = new SkinPurchaseConfirmationWindowController(inGameCurrencyPaymaster); // lootboxPurchaseConfirmationWindowController = new LootboxPurchaseConfirmationWindowController(inGameCurrencyPaymaster); // warshipPurchaseConfirmationWindowController = new WarshipPurchaseConfirmationWindowController(inGameCurrencyPaymaster); warshipPowerPointsPurchaseConfirmationWindowController = new WarshipPowerPointsPurchaseConfirmationWindowController(inGameCurrencyPaymaster); }
private void Awake() { lobbyEcsController = FindObjectOfType <LobbyEcsController>(); scrollViewSmoothMovementBehaviour = FindObjectOfType <ScrollViewSmoothMovementBehaviour>(); textTooltip = FindObjectOfType <TextTooltip>(); }
private void Awake() { lobbyEcsController = FindObjectOfType <LobbyEcsController>() ?? throw new Exception($"Не удалось найти {nameof(LobbyEcsController)}"); }
private void Awake() { lobbyEcsController = FindObjectOfType <LobbyEcsController>(); updateGameVersionMenuSwitcher = FindObjectOfType <UpdateGameMenuSwitcher>(); }
private void Awake() { lobbyEcsController = FindObjectOfType <LobbyEcsController>(); shopModelLoadingInitiator = FindObjectOfType <ShopModelLoadingInitiator>(); }
private void Awake() { lobbyEcsController = FindObjectOfType<LobbyEcsController>(); resourcesAccrualSceneManager = FindObjectOfType<ResourcesAccrualSceneManager>(); }
private void Awake() { matchLoader = FindObjectOfType <MatchLoader>(); lobbyEcsController = FindObjectOfType <LobbyEcsController>(); }
private void Awake() { authSingleton = FindObjectOfType <AuthSingleton>(); lobbyEcsController = FindObjectOfType <LobbyEcsController>(); }
private void Awake() { lobbyEcsController = FindObjectOfType <LobbyEcsController>() ?? throw new NullReferenceException(nameof(LobbyEcsController)); }
private void Awake() { lobbyEcsController = FindObjectOfType <LobbyEcsController>(); }
public MatchmakerNegotiator(LobbyEcsController lobbyEcsController) { this.lobbyEcsController = lobbyEcsController; }