| | |
| | | using System.Collections.Generic; |
| | | using Cysharp.Threading.Tasks; |
| | | using UnityEngine; |
| | | using UnityEngine.UI; |
| | | |
| | |
| | | { |
| | | HeroUIManager.Instance.selectForPreviewHeroID = heroID; |
| | | HeroUIManager.Instance.selectSkinIndex = HeroDebutManager.Instance.GetSkinIndexInHeroConfig(heroID, skinID); |
| | | UIManager.Instance.OpenWindow<HeroBestBaseWin>(1); |
| | | UIManager.Instance.OpenWindowAsync<HeroBestBaseWin>(1).Forget(); |
| | | }); |
| | | } |
| | | |
| | | void BuyGoods(int shopID) |
| | | { |
| | | StoreModel.Instance.buyShopID = shopID; |
| | | UIManager.Instance.OpenWindow<SkinStoreBuyTipWin>(); |
| | | UIManager.Instance.OpenWindowAsync<SkinStoreBuyTipWin>().Forget(); |
| | | } |
| | | } |