protected override void Awake() { base.Awake(); this.AssertRequiredObjects(thumbnailImage, lockedTexture); unlockableManager = Engine.GetService <IUnlockableManager>(); }
protected override void Awake() { base.Awake(); this.AssertRequiredObjects(grid, viewerPanel, viewerImage); unlockableManager = Engine.GetService <IUnlockableManager>(); providerManager = Engine.GetService <IResourceProviderManager>(); localizationManager = Engine.GetService <ILocalizationManager>(); inputManager = Engine.GetService <IInputManager>(); }
protected override void Awake() { base.Awake(); this.AssertRequiredObjects(ThumbnailImage, LockedTexture); unlockableManager = Engine.GetService <IUnlockableManager>(); localizationManager = Engine.GetService <ILocalizationManager>(); ThumbnailImage.texture = LoadingTexture; unlockableManager.OnItemUpdated += HandleItemUpdated; localizationManager.OnLocaleChanged += HandleLocaleChanged; }
protected override void Awake() { base.Awake(); this.AssertRequiredObjects(itemsScrollRect, ItemsContainer, ItemPrefab); unlockableManager = Engine.GetService <IUnlockableManager>(); textManager = Engine.GetService <ITextManager>(); SetTitle(string.Empty); SetNumber(string.Empty); SetCategory(string.Empty); SetDescription(string.Empty); }
protected override void Awake() { base.Awake(); this.AssertRequiredObjects(itemsContainer, itemPrefab, titleText, numberText, categoryText, descriptionText); unlockableManager = Engine.GetService <IUnlockableManager>(); textManager = Engine.GetService <ITextManager>(); stateManager = Engine.GetService <IStateManager>(); titleText.text = string.Empty; numberText.text = string.Empty; categoryText.text = string.Empty; descriptionText.text = string.Empty; }