private void ClickCallBack() { if (m_PanelName != null) { if (m_Panel) { m_Panel.TouchClose(); } else { Global.gApp.gUiMgr.ClosePanel(m_PanelName); } } else if (m_Action != null) { m_Action(); } }