异步加载AB 图集
作者:互联网
//加载资源
AssetBundle ab = AssetBundle.LoadFromFile(Application.streamingAssetsPath + "地址";
SpriteAtlas spriteAtlas = ab.LoadAsset<SpriteAtlas>("AtlasName");
GetComponent<SpriteRenderer>().sprite = spriteAtlas.GetSprite("imgName");
标签:异步,ab,AssetBundle,GetSprite,AB,spriteAtlas,图集,加载 来源: https://blog.csdn.net/Ydi1115/article/details/123595039