1.全阶段异步加载与AB包预加载2.node加载无效的问题依然存在

This commit is contained in:
2025-10-06 16:09:52 +08:00
parent 8f8dfcbb64
commit 334f55a250
27 changed files with 1274 additions and 1220 deletions

View File

@@ -59,9 +59,9 @@ namespace Demo.Game
</summary>
<param name=""ab""></param>
")]
public void Load(string ab)
public IEnumerator Load(string ab)
{
SkyAssetBundleLoading = this.LoadAssetBundle(ab, x =>
yield return this.LoadAssetBundle(ab, x =>
{
SkyAssetBundlePath = ab;
SkyAssetBundle = x;