/// <summary> /// closeUI /// </summary> public void Close() { IsShowed = false; UIGameObject.SetActive(false); OnDisable(); OnClose(); }
/// <summary> /// showUI /// </summary> public void Show() { IsShowed = true; UIGameObject.SetActive(true); OnEnable(); OnShow(); }