PlantList

This commit is contained in:
ThomasCharester committed 2026-03-05 11:27:10 +03:00
1 parent ba49ef5015
commit 7c207ef5b9
44 files changed
+2795 -1147

No files matched your search

@@ -60,7 +60,7 @@ namespace Code.Infrastructure.App
containerBuilder.RegisterType(typeof(PlantService), new[] { typeof(IPlantService) }, Lifetime.Singleton,
Resolution.Eager);
containerBuilder.RegisterType(typeof(ConstantImagesService), Lifetime.Singleton,
containerBuilder.RegisterType(typeof(ConstantImagesService), new []{typeof(IConstantImagesService)}, Lifetime.Singleton,
Resolution.Eager);
}
@@ -114,12 +114,13 @@ namespace Code.Infrastructure.App
{
_initialLoading.DoProgress();
_thatRightContainer.Resolve<IUIService>().TryLoadPanel(UIPanelType.Logo);
_thatRightContainer.Resolve<IUIService>().TryLoadPanel(UIPanelType.Loading);
_thatRightContainer.Resolve<IUIService>().TryLoadCreatePanel(UIPanelType.Logo);
_thatRightContainer.Resolve<IUIService>().TryLoadCreatePanel(UIPanelType.Loading);
}
public void UILoaded(UIPanelType uiPanelType)
public void UISinglePanelLoaded(UIPanelType uiPanelType)
{
Debug.LogWarning($@"Loaded {uiPanelType.ToString()}");
switch (uiPanelType)
{
case UIPanelType.Logo:
@@ -136,6 +137,11 @@ namespace Code.Infrastructure.App
}
}
public void UIMultiplePanelLoaded(UIPanelType uiPanelType, UIPanel panel)
{
}
public void AudioSourcePoolInitialized()
{
_initialLoading.DoProgress();
@@ -161,6 +167,7 @@ namespace Code.Infrastructure.App
public void PlantsLoaded()
{
Debug.LogWarning("PlantsLoaded");
_initialLoading.DoProgress();
}