feat : 弱引用资源句柄

This commit is contained in:
何冠峰
2025-09-09 18:31:02 +08:00
parent a71c46d1c4
commit 19f1d67a61
6 changed files with 126 additions and 19 deletions
@@ -47,6 +47,15 @@ namespace YooAsset
/// WebGL平台强制同步加载资源对象
/// </summary>
public bool WebGLForceSyncLoadAsset = false;
#if YOOASSET_EXPERIMENTAL
/// <summary>
/// 启用弱引用资源句柄
/// </summary>
public bool UseWeakReferenceHandle = false;
#else
internal bool UseWeakReferenceHandle = false;
#endif
}
/// <summary>