Пример #1
0
 private void Awake()
 {
     sectionSpawner                   = FindObjectOfType <SectionSpawner>();
     lobbyEcsController               = FindObjectOfType <LobbyEcsController>();
     resourcesAccrualSceneManager     = FindObjectOfType <ResourcesAccrualSceneManager>();
     insufficientResourceErrorHandler = FindObjectOfType <InsufficientResourceErrorHandler>();
 }
Пример #2
0
 private void Awake()
 {
     lobbyEcsController = FindObjectOfType <LobbyEcsController>()
                          ?? throw new Exception($"Не найден {nameof(LobbyEcsController)}");
     lobbySceneSwitcher   = FindObjectOfType <LobbySceneSwitcher>();
     matchmakerNegotiator = new MatchmakerNegotiator(lobbyEcsController);
 }
Пример #3
0
 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));
 }
Пример #5
0
 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));
 }
Пример #6
0
 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);
        }
Пример #8
0
 private void Awake()
 {
     lobbyEcsController = FindObjectOfType <LobbyEcsController>();
     scrollViewSmoothMovementBehaviour = FindObjectOfType <ScrollViewSmoothMovementBehaviour>();
     textTooltip = FindObjectOfType <TextTooltip>();
 }
Пример #9
0
 private void Awake()
 {
     lobbyEcsController = FindObjectOfType <LobbyEcsController>()
                          ?? throw new Exception($"Не удалось найти {nameof(LobbyEcsController)}");
 }
Пример #10
0
 private void Awake()
 {
     lobbyEcsController            = FindObjectOfType <LobbyEcsController>();
     updateGameVersionMenuSwitcher = FindObjectOfType <UpdateGameMenuSwitcher>();
 }
Пример #11
0
 private void Awake()
 {
     lobbyEcsController        = FindObjectOfType <LobbyEcsController>();
     shopModelLoadingInitiator = FindObjectOfType <ShopModelLoadingInitiator>();
 }
Пример #12
0
 private void Awake()
 {
     lobbyEcsController = FindObjectOfType<LobbyEcsController>();
     resourcesAccrualSceneManager = FindObjectOfType<ResourcesAccrualSceneManager>();
 }
Пример #13
0
 private void Awake()
 {
     matchLoader        = FindObjectOfType <MatchLoader>();
     lobbyEcsController = FindObjectOfType <LobbyEcsController>();
 }
Пример #14
0
 private void Awake()
 {
     authSingleton      = FindObjectOfType <AuthSingleton>();
     lobbyEcsController = FindObjectOfType <LobbyEcsController>();
 }
Пример #15
0
 private void Awake()
 {
     lobbyEcsController = FindObjectOfType <LobbyEcsController>()
                          ?? throw new NullReferenceException(nameof(LobbyEcsController));
 }
Пример #16
0
 private void Awake()
 {
     lobbyEcsController = FindObjectOfType <LobbyEcsController>();
 }
Пример #17
0
 public MatchmakerNegotiator(LobbyEcsController lobbyEcsController)
 {
     this.lobbyEcsController = lobbyEcsController;
 }