private void DisableTopPopUp() { try { _btnBackGourndClose.gameObject.SetActive(false); if (_popUpLlistStack.Count == 0) { _btnBackGourndClose.gameObject.SetActive(false); return; } IPopUp popup = _popUpLlistStack.Pop(); if (!popup.DisableEvent.Equals(" ")) { popup.obj.SendMessage(popup.DisableEvent); } popup.Disable(); SetBackGroundHierarchy(_popUpLlistStack.Peek().obj.transform); } catch (System.Exception e) { //Debug.Log(e); } }