Skip to content

Commit 804bfac

Browse files
committed
updated CHANGELOG.md
1 parent f854565 commit 804bfac

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Assets/OxGFrame/CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
- Significantly optimized loading by refining the logic for checking the `assetName` prefix ("res#"). Utilized `AsSpan` to improve efficiency and reduce GC (achieving almost 0 GC).
1414
- ### Fixes
1515
- Fixed `GroupCache` (GroupBundle & GroupResources) methods by removing the `forceUnload` parameter. Since `GroupCache` uses weak references, this prevents accidental triggering of `forceUnload`, which could lead to reference errors, making the system safer.
16-
- ~~ReleaseBundleRawFiles(int groupId)~~ -> UnloadRawFiles(int groupId)
17-
- ~~ReleaseResourceAssets(int groupId)~~ & ~~ReleaseBundleAssets(int groupId)~~ -> UnloadAssets(int groupId)
1816
- ### Adjustments
1917
- Adjusted `AssetLoaders` Unload-related interfaces. Since `GroupCache` uses weak references, the naming convention now prioritizes the "Unload" prefix.
18+
- ~~ReleaseBundleRawFiles(int groupId)~~ -> UnloadRawFiles(int groupId)
19+
- ~~ReleaseResourceAssets(int groupId)~~ & ~~ReleaseBundleAssets(int groupId)~~ -> UnloadAssets(int groupId)
2020
- Adjusted `AssetLoaders` Release-related interfaces. Unified the Release interface; it no longer distinguishes between `ReleaseBundle` and `ReleaseResources` (now determined by `LoadType`) without affecting efficiency.
2121
- ~~ReleaseBundleScenes~~ -> ReleaseScenes
2222
- ~~ReleaseBundleRawFiles~~ -> ReleaseRawFiles
@@ -39,10 +39,10 @@
3939
- 大幅度優化加載時,需要 Refine 判斷 assetName 前墜的方式 ("res#"),使用 AsSpan 提高效率與降低 GC (幾乎 0 GC)。
4040
- ### 修正
4141
- 修正 GroupCache (GroupBundle & GroupResources) 方法,移除方法中的 forceUnload 參數,主要是 GroupCache 為軟引用,避免誤觸 forceUnload 導致引用錯亂,更安全。
42-
- ~~ReleaseBundleRawFiles(int groupId)~~ -> UnloadRawFiles(int groupId)
43-
- ~~ReleaseResourceAssets(int groupId)~~ & ~~ReleaseBundleAssets(int groupId)~~ -> UnloadAssets(int groupId)
4442
- ### 調整
4543
- 調整 AssetLoaders Unload 相關接口,GroupCache 為軟引用,所以以 Unload 開頭為主。
44+
- ~~ReleaseBundleRawFiles(int groupId)~~ -> UnloadRawFiles(int groupId)
45+
- ~~ReleaseResourceAssets(int groupId)~~ & ~~ReleaseBundleAssets(int groupId)~~ -> UnloadAssets(int groupId)
4646
- 調整 AssetLoaders Release 相關接口,統一 Release 接口,不在區分 ReleaseBundle 跟 ReleaseResources 了 (由 LoadType 決定),不影響效率。
4747
- ~~ReleaseBundleScenes~~ -> ReleaseScenes
4848
- ~~ReleaseBundleRawFiles~~ -> ReleaseRawFiles

0 commit comments

Comments
 (0)