public virtual void Show() { isAwaken = true; ValidateRoot(); if (uiExtension != null) { uiExtension.Show(); } else { root.SetActive(true); } eventShow.Invoke(); }
public virtual void Show() { isAwaken = true; ValidateRoot(); if (uiExtension != null) { if (!uiExtension.IsVisible()) { uiExtension.Show(); } } else { if (!root.activeSelf) { root.SetActive(true); } } eventShow.Invoke(); }