using FairyGUI;
using XGame.Framework.Asyncs;

namespace XGame.Framework.FGUI
{
    /// <summary>
    /// 自定义GLoader的加载代理
    /// 修复图集合批 参考链接:https://zhuanlan.zhihu.com/p/689636245
    /// </summary>
    public interface IGloaderHandle
    {
        IAsync LoadNTexture(string addressableName);
        /// <summary>
        /// 需要先LoadNTexture，才能使用GetNTexture
        /// </summary>
        /// <param name="addressableName"></param>
        /// <returns></returns>
        NTexture GetNTexture(string addressableName);
    }
}