| | |
| | | // } |
| | | // } |
| | | |
| | | // public static string generalItemTip; |
| | | // public static int generalItemId; |
| | | // public static int generalItemCnt; |
| | | // public static Action ItemConfirmEvent; |
| | | // public static void ShowItemConfirm(string info, int _itemId, int _itemCnt, Action func) |
| | | // { |
| | | // generalItemTip = info; |
| | | // generalItemId = _itemId; |
| | | // generalItemCnt = _itemCnt; |
| | | // ItemConfirmEvent = func; |
| | | // if (!UIManager.Instance.IsOpened<ItemConfirmWin>()) |
| | | // { |
| | | // UIManager.Instance.OpenWindow<ItemConfirmWin>(); |
| | | // } |
| | | // } |
| | | 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 btnText, Action func, int moneyCnt = 0, int type = 0) |
| | | // { |
| | | // getItems = items; |
| | | // generalTitle = tiltle; |
| | | // generalItemTip = info; |
| | | // ItemConfirmEvent = func; |
| | | // OKName = btnText; |
| | | // ItemConfirmEvent = func; |
| | | // moneyType = type; |
| | | // moneyNeedCount = moneyCnt; |
| | | // if (!UIManager.Instance.IsOpened<ItemsConfirmWin>()) |
| | | // { |
| | | // UIManager.Instance.OpenWindow<ItemsConfirmWin>(); |
| | | // } |
| | | // } |
| | | 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) |
| | | { |
| | | getItems = items; |
| | | generalTitle = tiltle; |
| | | generalItemTip = info; |
| | | generalItemTip2 = info2; |
| | | ItemConfirmEvent = func; |
| | | OKName = btnText; |
| | | ItemConfirmEvent = func; |
| | | moneyType = type; |
| | | moneyNeedCount = moneyCnt; |
| | | if (!UIManager.Instance.IsOpened<ItemsConfirmWin>()) |
| | | { |
| | | UIManager.Instance.OpenWindow<ItemsConfirmWin>(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | // public static string moneyTitle; |
| | | // public static string moneyTopInfo; |
| | | // public static string moneybtnOkText; |
| | | // public static int moneyType; |
| | | // public static int moneyNeedCount; |
| | | // public static ulong moneyHaveCount; |
| | | // public static string moneyToggleText { get; private set; } |
| | | // public static bool moneytoggleOpen { get; private set; } |
| | | // public static bool moneytoggleOpenState { get; private set; } |
| | | public static string moneyTitle; |
| | | public static string moneyTopInfo; |
| | | public static string moneybtnOkText; |
| | | public static int moneyType; |
| | | public static int moneyNeedCount; |
| | | public static ulong moneyHaveCount; |
| | | public static string moneyToggleText { get; private set; } |
| | | public static bool moneytoggleOpen { get; private set; } |
| | | public static bool moneytoggleOpenState { get; private set; } |
| | | |
| | | // public static Action<bool, bool> OnMoneyToggleConfirmAct; |
| | | // public static void MoneyIconToggleConfirm(string title, string topInfo,string okTxt, int type, |