IGloaderHandle.cs 583 B

1234567891011121314151617181920
  1. using FairyGUI;
  2. using XGame.Framework.Asyncs;
  3. namespace XGame.Framework.FGUI
  4. {
  5. /// <summary>
  6. /// 自定义GLoader的加载代理
  7. /// 修复图集合批 参考链接:https://zhuanlan.zhihu.com/p/689636245
  8. /// </summary>
  9. public interface IGloaderHandle
  10. {
  11. IAsync LoadNTexture(string addressableName);
  12. /// <summary>
  13. /// 需要先LoadNTexture,才能使用GetNTexture
  14. /// </summary>
  15. /// <param name="addressableName"></param>
  16. /// <returns></returns>
  17. NTexture GetNTexture(string addressableName);
  18. }
  19. }