| | |
| | | |
| | | public static string generalItemTip; |
| | | public static string generalItemTip2; |
| | | public static Action ItemConfirmEvent; |
| | | |
| | | public static List<Item> getItems { get; private set; } |
| | | //多物品确认框 |
| | | public static void ShowItemsConfirm(List<Item> items, string tiltle, string info, string info2, string btnText, Action func, int moneyCnt = 0, int type = 0) |
| | | public static void ShowItemsConfirm(List<Item> items, string tiltle, string info, Action<bool> func, |
| | | string info2 = "", string btnText = "", int moneyCnt = 0, int type = 0) |
| | | { |
| | | getItems = items; |
| | | generalTitle = tiltle; |
| | | generalItemTip = info; |
| | | generalItemTip2 = info2; |
| | | ItemConfirmEvent = func; |
| | | OKName = btnText; |
| | | ItemConfirmEvent = func; |
| | | OnPopConfirmClickEvent = func; |
| | | moneyType = type; |
| | | moneyNeedCount = moneyCnt; |
| | | if (!UIManager.Instance.IsOpened<ItemsConfirmWin>()) |