void Awake() { CanvasGroupUtil.InstantHide(Canvas_MainMenu); CanvasGroupUtil.InstantHide(Canvas_OptionsMenu); CanvasGroupUtil.InstantHide(Canvas_AboutMenu); CanvasGroupUtil.InstantHide(Canvas_LoadingScreen); StartCoroutine(ShowSplashScreen()); }
public virtual void SetIsOpen(bool isOpen) { this.isOpen = isOpen; if (isOpen) { CanvasGroupUtil.InstantReveal(canvasGroup); } else { CanvasGroupUtil.InstantHide(canvasGroup); } }
public override void SetIsOpen(bool isOpen) { this.isOpen = isOpen; if (isOpen) { CanvasGroupUtil.InstantReveal(canvasGroup); RefreshPanel(); } else { CanvasGroupUtil.InstantHide(canvasGroup); } }
public override void SetIsOpen(bool isOpen) { this.isOpen = isOpen; if (isOpen) { CanvasGroupUtil.InstantReveal(canvasGroup); RefreshInventoryDisplay(); } else { CanvasGroupUtil.InstantHide(canvasGroup); } foreach (var slot in Slots) { slot.IsVisibleOnScreen = isOpen; } }
public void OptionsToPauseMain() { CanvasGroupUtil.InstantReveal(canvas_Pause); CanvasGroupUtil.InstantHide(canvas_Options); }
public void UnPause() { CanvasGroupUtil.InstantHide(canvas_Pause); background.SetActive(false); }
void Awake() { CanvasGroupUtil.InstantHide(canvas_Pause); CanvasGroupUtil.InstantHide(canvas_Options); background.SetActive(false); }