public virtual void SetUiOutOfRange(bool value) { if (uiOutOfRange != null) { if (m_FadeOutOfRange != null) { m_FadeOutOfRange.Play(value); } else { uiOutOfRange.SetActive(value); } } }
public virtual void ShowUI(bool value) { if (uiRoot != null) { if (m_FadeUiRoot != null) { m_FadeUiRoot.Play(value); } else { uiRoot.SetActive(value); } } }