refactor : remove weak reference handle

This commit is contained in:
何冠峰
2025-12-23 15:07:52 +08:00
parent e5d0a856a5
commit 1884fab0c2
3 changed files with 13 additions and 130 deletions
@@ -19,7 +19,6 @@ namespace YooAsset
// 开发者配置选项
public bool AutoUnloadBundleWhenUnused { private set; get; }
public bool WebGLForceSyncLoadAsset { private set; get; }
public bool UseWeakReferenceHandle { private set; get; }
/// <summary>
/// 所属包裹
@@ -50,7 +49,6 @@ namespace YooAsset
_bundleLoadingMaxConcurrency = parameters.BundleLoadingMaxConcurrency;
AutoUnloadBundleWhenUnused = parameters.AutoUnloadBundleWhenUnused;
WebGLForceSyncLoadAsset = parameters.WebGLForceSyncLoadAsset;
UseWeakReferenceHandle = parameters.UseWeakReferenceHandle;
_bundleQuery = bundleServices;
SceneManager.sceneUnloaded += OnSceneUnloaded;
}