2,543
社区成员
发帖
与我相关
我的任务
分享
private IEnumerator Load()
{
string url = "";//此为AssetBundle资源路径,可为本地,也可以是服务端
UnityWebRequest request= UnityWebRequest.GetAssetBundle(url);
yield return request.send();
AssetBundle ab = DownloadHandlerAssetBundle.GetContent (request );
GameObject ao = ab.LoadAsset<GameObject>("Man1");
Instantiate(ao);
}