pull/455/head
何冠峰 2024-12-30 10:27:04 +08:00
parent 8a2dc86cf7
commit 766cf90a19
2 changed files with 12 additions and 2 deletions

View File

@ -71,7 +71,7 @@ namespace YooAsset
{
if (IsWaitForAsyncComplete)
{
// 场景加载无法强制异步转同步
//注意:场景加载无法强制异步转同步
YooLogger.Error("The scene is loading asyn !");
}
else
@ -104,6 +104,11 @@ namespace YooAsset
}
}
}
internal override void InternalWaitForAsyncComplete()
{
//TODO 场景加载不支持异步转同步,为了支持同步加载方法需要实现该方法!
InternalOnUpdate();
}
public override void UnSuspendLoad()
{
_suspendLoad = false;

View File

@ -76,7 +76,7 @@ namespace YooAsset
{
if (IsWaitForAsyncComplete)
{
// 场景加载无法强制异步转同步
// 注意:场景加载无法强制异步转同步
YooLogger.Error("The scene is loading asyn !");
}
else
@ -110,6 +110,11 @@ namespace YooAsset
}
#endif
}
internal override void InternalWaitForAsyncComplete()
{
//TODO 场景加载不支持异步转同步,为了支持同步加载方法需要实现该方法!
InternalOnUpdate();
}
public override void UnSuspendLoad()
{
_suspendLoad = false;