mirror of https://github.com/tuyoogame/YooAsset
Update runtime code
parent
4eca73303b
commit
38c0ca0ce1
|
@ -86,7 +86,7 @@ namespace YooAsset
|
|||
public string FallbackHostServer = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 查询服务类
|
||||
/// 内置资源查询服务接口
|
||||
/// </summary>
|
||||
public IQueryServices QueryServices = null;
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue