[3.3.2] - 2025-06-18
English
- Hotfixer
- Added a MenuItem → OxGFrame/Hotfixer/Hotfix Dll Config Generator (hotfixdllconfig.conf), supporting both cipher and plaintext.
- Added direct conversion for
hotfixdllconfig.conf between cipher and plaintext via editor right-click → OxGFrame/Hotfixer/Convert hotfixdllconfig.conf (BYTES [Cipher] <-> JSON [Plaintext]).
- Added overloaded
CheckHotfix methods, supporting automatic loading of the hotfixdllconfig.conf hotfix dlls list.
// Auto try to load hotfixdllconfig.conf from StreamingAssets
Hotfixers.CheckHotfix
(
// Download and load hotfix files from HotfixPackage
"HotfixPackage",
() =>
{
Debug.LogWarning("Error in hotfixdllconfig.conf request callback!");
}
);
- Added the HotfixHelper.ExportHotfixDllConfig(List<string> aotDlls, List<string> hotfixDlls, bool cipher) method, which can be used in a BuildPostProcess to output the hotfixdllconfig.conf file into StreamingAssets.
- Upgraded YooAsset to v2.3.10.
- Organized Samples.
- AssetLoader
- AssetPatcher
- Modified Release method, added the YooAssets.Destroy().
中文
- Hotfixer
- 新增 MenuItem -> OxGFrame/Hotfixer/Hotfix Dll Config Generator (hotfixdllconfig.conf),支持密文跟明文。
- 新增 hotfixdllconfig.conf 直接轉換密文與明文,編輯器右鍵 -> OxGFrame/Hotfixer/Convert hotfixdllconfig.conf (BYTES [Cipher] <-> JSON [Plaintext])。
- 新增 CheckHotfix 多載方法,支持自動加載 hotfixdllconfig.conf 熱更 dlls 清單。
// Auto try to load hotfixdllconfig.conf from StreamingAssets
Hotfixers.CheckHotfix
(
// Download and load hotfix files from HotfixPackage
"HotfixPackage",
() =>
{
Debug.LogWarning("Error in hotfixdllconfig.conf request callback!");
}
);
- 新增 HotfixHelper.ExportHotfixDllConfig(List<string> aotDlls, List<string> hotfixDlls, bool cipher) 方法,可以建立 BuildPostProcess,輸出 hotfixdllconfig.conf 文件至 StreamingAssets。
- 更新 YooAsset 至 v2.3.10。
- 整理 Samples。
- AssetLoader
- AssetPatcher
- 調整 Release 方法,加入 YooAssets.Destroy()。
