/*******************************************************************/ private void Awake() { LoadDependendies(); BuildCards(); startApplicationUseCase.Init(); void LoadDependendies() { if (applicationValues.DependenciesLoaded) { return; } resolutionSetter.SettingResolution(); dataContext.LoadInfoCards(); imagesCard.Build(); applicationValues.DependenciesLoaded = true; } void BuildCards() { cardFactory.BuildDeckCards(); cardFactory.BuildInvestigatorCards(); } }
private void DebugInitialization() { dataPersistence.LoadInfoCards(); imagesCard.Build(); dataPersistence.LoadProgress(); }