yyl
2026-02-11 3f2cd27c5dfb3b450245bf1a37fc1b3414031c7c
Main/System/Tip/ScrollTip.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using UnityEngine;
public class ScrollTip
{
@@ -83,6 +84,21 @@
        return tip;
    }
    public static async UniTask<ScrollTipDetail> RequestAsync()
    {
        ScrollTipDetail tip = null;
        if (pool == null)
        {
            var _prefab = await UILoader.LoadPrefabAsync("Tip");
            pool = GameObjectPoolManager.Instance.GetPool(_prefab);
        }
        if (pool != null)
        {
            tip = pool.Request().AddMissingComponent<ScrollTipDetail>();
        }
        return tip;
    }
    public static void Release(ScrollTipDetail tip, bool next = true)
    {
        if (m_ActiveTips.Contains(tip))