Update runtime code

pull/51/head
hevinci 2022-10-08 12:09:34 +08:00
parent 4eca73303b
commit 38c0ca0ce1
3 changed files with 5 additions and 5 deletions

View File

@ -86,7 +86,7 @@ namespace YooAsset
public string FallbackHostServer = string.Empty;
/// <summary>
/// 查询服务类
/// 内置资源查询服务接口
/// </summary>
public IQueryServices QueryServices = null;
}

View File

@ -12,7 +12,7 @@ namespace YooAsset
private static readonly List<YooAssetPackage> _packages = new List<YooAssetPackage>();
/// <summary>
/// 初始化
/// 初始化资源系统
/// </summary>
public static void Initialize()
{
@ -37,7 +37,7 @@ namespace YooAsset
}
/// <summary>
/// 更新
/// 更新资源系统
/// </summary>
internal static void Update()
{
@ -54,7 +54,7 @@ namespace YooAsset
}
/// <summary>
/// 销毁
/// 销毁资源系统
/// </summary>
internal static void Destroy()
{

View File

@ -21,7 +21,7 @@ namespace YooAsset
/// <summary>
/// 异步初始化
/// </summary>
public static InitializationOperation InitializeAsync(string packageName, InitializeParameters parameters)
public static InitializationOperation InitializeAsync(InitializeParameters parameters, string packageName = "DefaultPackage")
{
if (_mainPackage != null)
throw new Exception("Main package is initialized yet.");