yyl
2026-03-31 0fa617a09eedf6bdb25eda55fac1d3344859fd93
Main/System/HeroUI/HeroCollectionWin.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Cysharp.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
@@ -20,13 +21,13 @@
    SinglePack singlePack;
    protected override void InitComponent()
    protected override async void InitComponent()
    {
        attrBtn.AddListener(() =>
        {
            SmallTipWin.worldPos = CameraManager.uiCamera.ScreenToWorldPoint(Input.mousePosition);
            SmallTipWin.showText = Language.Get("herocard6");
            UIManager.Instance.OpenWindow<SmallTipWin>();
            UIManager.Instance.OpenWindowAsync<SmallTipWin>().Forget();
        });
        heroPackBtn.AddListener(() =>
@@ -34,7 +35,7 @@
            HeroUIManager.Instance.QueryUnLockHeroPack();
        });
        fiterManager = HeroSelectBehaviour.Create(heroSelectBehaviour);
        fiterManager = await HeroSelectBehaviour.Create(heroSelectBehaviour);
    }
    protected override void OnPreOpen()
@@ -66,7 +67,7 @@
    void Display()
    {
        fiterManager.Display(0, SelectJobCountry);
        fiterManager?.Display(0, SelectJobCountry);
        // CreateScroller();
        // RefreshTotalAttr();