protected override void Start() { base.Start(); var tipsUI = uiManager.GetUI <ITipsUI>(); if (tipsUI is null || tipsUI.TipsCount == 0) { gameObject.SetActive(false); } }
protected override void Start() { base.Start(); var galleryUI = uiManager.GetUI <ICGGalleryUI>(); if (galleryUI is null || galleryUI.CGCount == 0) { gameObject.SetActive(false); } }
protected override void OnButtonClick() { uiManager.GetUI <IPauseUI>()?.Hide(); var saveLoadUI = uiManager.GetUI <ISaveLoadUI>(); if (saveLoadUI is null) { return; } saveLoadUI.PresentationMode = SaveLoadUIPresentationMode.Save; saveLoadUI.Show(); }
protected override void Awake() { base.Awake(); uiManager = Engine.GetService <IUIManager>(); confirmationUI = uiManager.GetUI <IConfirmationUI>(); }
protected override void OnButtonClick() { var saveLoadUI = uiManager.GetUI <ISaveLoadUI>(); if (saveLoadUI is null) { return; } var lastLoadMode = saveLoadUI.GetLastLoadMode(); saveLoadUI.PresentationMode = lastLoadMode; saveLoadUI.Show(); }
protected override void Start() { base.Start(); confirmationUI = uiManager.GetUI <IConfirmationUI>(); }
protected override void OnButtonClick() { uiManager.GetUI <IPauseUI>()?.Hide(); uiManager.GetUI <ISettingsUI>()?.Show(); }
protected override void OnButtonClick() => uiManager.GetUI <IExternalScriptsUI>()?.Show();
protected override void OnButtonClick() => uiManager.GetUI <ISettingsUI>()?.Show();