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; public string FallbackHostServer = string.Empty;
/// <summary> /// <summary>
/// 查询服务类 /// 内置资源查询服务接口
/// </summary> /// </summary>
public IQueryServices QueryServices = null; public IQueryServices QueryServices = null;
} }

View File

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

View File

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