Exemplo n.º 1
0
 public WarshipListDisablingSystem(IContext <LobbyUiEntity> context, LobbyLayoutSwitcher lobbyLayoutSwitcher,
                                   UiLayersStorage uiLayersStorage)
     : base(context)
 {
     this.lobbyLayoutSwitcher = lobbyLayoutSwitcher;
     this.uiLayersStorage     = uiLayersStorage;
 }
 public ShopUiLayerDisablingSystem(IContext <LobbyUiEntity> context, UiLayersStorage uiLayersStorage,
                                   LobbyLayoutSwitcher lobbyLayoutSwitcher)
     : base(context)
 {
     this.uiLayersStorage     = uiLayersStorage;
     this.lobbyLayoutSwitcher = lobbyLayoutSwitcher;
 }
Exemplo n.º 3
0
 public ShopUiLayerEnablingSystem(IContext <LobbyUiEntity> context, UiLayersStorage uiLayersStorage,
                                  ShopUiStorage shopUiStorage, LobbyLayoutSwitcher lobbyLayoutSwitcher, ShopUiSpawner shopUiSpawner)
     : base(context)
 {
     this.uiLayersStorage     = uiLayersStorage;
     this.shopUiStorage       = shopUiStorage;
     this.lobbyLayoutSwitcher = lobbyLayoutSwitcher;
     this.shopUiSpawner       = shopUiSpawner;
 }
Exemplo n.º 4
0
 private void Awake()
 {
     lobbyUiStorage = FindObjectOfType <LobbyUiStorage>()
                      ?? throw new NullReferenceException(nameof(LobbyUiStorage));
     uiLayersStorage = FindObjectOfType <UiLayersStorage>()
                       ?? throw new NullReferenceException(nameof(UiLayersStorage));
     shopUiStorage = FindObjectOfType <ShopUiStorage>()
                     ?? throw new NullReferenceException(nameof(ShopUiStorage));
     movingAwardsUiStorage = FindObjectOfType <MovingAwardsUiElementsStorage>()
                             ?? throw new NullReferenceException(nameof(MovingAwardsUiElementsStorage));
     warshipsUiStorage = FindObjectOfType <WarshipsUiStorage>()
                         ?? throw new NullReferenceException(nameof(WarshipsUiStorage));
     shopUiSpawner = FindObjectOfType <ShopUiSpawner>()
                     ?? throw new NullReferenceException(nameof(shopUiSpawner));
     lobbySceneSwitcher = FindObjectOfType <LobbySceneSwitcher>()
                          ?? throw new NullReferenceException(nameof(lobbySceneSwitcher));
     inGameCurrencyPaymaster = FindObjectOfType <InGameCurrencyPaymaster>()
                               ?? throw new NullReferenceException(nameof(inGameCurrencyPaymaster));
     textTooltip = FindObjectOfType <TextTooltip>()
                   ?? throw new NullReferenceException(nameof(TextTooltip));
 }