| | |
| | | [SerializeField] UIHeroController lhController; |
| | | [SerializeField] Image callRedImage; |
| | | [SerializeField] ButtonEx closeButton; |
| | | [SerializeField] ButtonEx zhanlingBtn; |
| | | [SerializeField] RedpointBehaviour zhanlingRedpoint; |
| | | [SerializeField] float modleSize = 0.8f; |
| | | |
| | | // 轮播相关 |
| | |
| | | skinButton.SetListener(() => UIManager.Instance.OpenWindowAsync<HeroReturnSkinWin>().Forget()); |
| | | giftButton.SetListener(() => UIManager.Instance.OpenWindowAsync<HeroReturnGiftWin>().Forget()); |
| | | callButton.SetListener(() => UIManager.Instance.OpenWindowAsync<HeroReturnCallWin>().Forget()); |
| | | zhanlingBtn.SetListener(() => UIManager.Instance.OpenWindowAsync<HeroReturnZhanLingWin>().Forget()); |
| | | } |
| | | |
| | | protected override void OnPreOpen() |
| | |
| | | starUpRedpoint.redpointId = manager.GetRedPointId(HeroReturnRedPointType.StarUp); |
| | | shopRedpoint.redpointId = manager.GetRedPointId(HeroReturnRedPointType.Shop); |
| | | giftRedpoint.redpointId = manager.GetRedPointId(HeroReturnRedPointType.Gift); |
| | | zhanlingRedpoint.redpointId = manager.GetRedPointId(HeroReturnRedPointType.ZhanLing); |
| | | } |
| | | |
| | | private void Display() |