Dictionary <OperateCardList.TYPE, UIWindow> m_wndList = new Dictionary <OperateCardList.TYPE, UIWindow>(); //各种分类列表 static public UIOperaterCardList GetInstance() { UIOperaterCardList self = UIManager.Singleton.GetUIWithoutLoad <UIOperaterCardList>(); if (self != null) { return(self); } self = UIManager.Singleton.LoadUI <UIOperaterCardList>("UI/UIOperateCardList", UIManager.Anchor.Center); return(self); }
// 出售 响应 void OnSell(GameObject obj) { UIOperaterCardList.GetInstance().OnShowRUSure(); }