diff --git a/Assets/YooAsset/Runtime/InitializeParameters.cs b/Assets/YooAsset/Runtime/InitializeParameters.cs index 1f1872a..58946b7 100644 --- a/Assets/YooAsset/Runtime/InitializeParameters.cs +++ b/Assets/YooAsset/Runtime/InitializeParameters.cs @@ -86,7 +86,7 @@ namespace YooAsset public string FallbackHostServer = string.Empty; /// - /// 查询服务类 + /// 内置资源查询服务接口 /// public IQueryServices QueryServices = null; } diff --git a/Assets/YooAsset/Runtime/YooAssets.cs b/Assets/YooAsset/Runtime/YooAssets.cs index 8b75e71..a55404f 100644 --- a/Assets/YooAsset/Runtime/YooAssets.cs +++ b/Assets/YooAsset/Runtime/YooAssets.cs @@ -12,7 +12,7 @@ namespace YooAsset private static readonly List _packages = new List(); /// - /// 初始化 + /// 初始化资源系统 /// public static void Initialize() { @@ -37,7 +37,7 @@ namespace YooAsset } /// - /// 更新 + /// 更新资源系统 /// internal static void Update() { @@ -54,7 +54,7 @@ namespace YooAsset } /// - /// 销毁 + /// 销毁资源系统 /// internal static void Destroy() { diff --git a/Assets/YooAsset/Runtime/YooAssetsExtension.cs b/Assets/YooAsset/Runtime/YooAssetsExtension.cs index 5e7e34e..5d3d9fd 100644 --- a/Assets/YooAsset/Runtime/YooAssetsExtension.cs +++ b/Assets/YooAsset/Runtime/YooAssetsExtension.cs @@ -21,7 +21,7 @@ namespace YooAsset /// /// 异步初始化 /// - 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.");