feat : add load scene sync method

This commit is contained in:
hevinci
2024-03-08 11:06:48 +08:00
parent c01adad2a0
commit 81747462b1
4 changed files with 119 additions and 38 deletions
@@ -37,6 +37,16 @@ namespace YooAsset
}
}
/// <summary>
/// 等待异步执行完毕
/// </summary>
internal void WaitForAsyncComplete()
{
if (IsValidWithWarning == false)
return;
Provider.WaitForAsyncComplete();
}
/// <summary>
/// 场景名称
/// </summary>
@@ -171,5 +181,7 @@ namespace YooAsset
return operation;
}
}
}
}