mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
HotUpdateAssemblies 剔除.dll后缀
HotUpdateAssemblies 剔除.dll后缀
This commit is contained in:
@@ -45,6 +45,12 @@ namespace TEngine.Editor
|
|||||||
if (isHotChanged)
|
if (isHotChanged)
|
||||||
{
|
{
|
||||||
HybridCLRSettings.Instance.hotUpdateAssemblies = updateSetting.HotUpdateAssemblies.ToArray();
|
HybridCLRSettings.Instance.hotUpdateAssemblies = updateSetting.HotUpdateAssemblies.ToArray();
|
||||||
|
for (int i = 0; i < HotUpdateAssemblies.Count; i++)
|
||||||
|
{
|
||||||
|
var assemblyName = HotUpdateAssemblies[i];
|
||||||
|
string assemblyNameWithoutExtension = assemblyName.Substring(0, assemblyName.LastIndexOf('.'));
|
||||||
|
HybridCLRSettings.Instance.hotUpdateAssemblies[i] = assemblyNameWithoutExtension;
|
||||||
|
}
|
||||||
Debug.Log("HotUpdateAssemblies changed");
|
Debug.Log("HotUpdateAssemblies changed");
|
||||||
}
|
}
|
||||||
if (isAOTChanged)
|
if (isAOTChanged)
|
||||||
|
@@ -12,14 +12,14 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: e189374413a3f00468e49d51d8b27a09, type: 3}
|
m_Script: {fileID: 11500000, guid: e189374413a3f00468e49d51d8b27a09, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
enable: 0
|
enable: 1
|
||||||
useGlobalIl2cpp: 0
|
useGlobalIl2cpp: 0
|
||||||
hybridclrRepoURL: https://gitee.com/focus-creative-games/hybridclr
|
hybridclrRepoURL: https://gitee.com/focus-creative-games/hybridclr
|
||||||
il2cppPlusRepoURL: https://gitee.com/focus-creative-games/il2cpp_plus
|
il2cppPlusRepoURL: https://gitee.com/focus-creative-games/il2cpp_plus
|
||||||
hotUpdateAssemblyDefinitions: []
|
hotUpdateAssemblyDefinitions: []
|
||||||
hotUpdateAssemblies:
|
hotUpdateAssemblies:
|
||||||
- GameProto.dll
|
- GameProto
|
||||||
- GameLogic.dll
|
- GameLogic
|
||||||
preserveHotUpdateAssemblies: []
|
preserveHotUpdateAssemblies: []
|
||||||
hotUpdateDllCompileOutputRootDir: HybridCLRData/HotUpdateDlls
|
hotUpdateDllCompileOutputRootDir: HybridCLRData/HotUpdateDlls
|
||||||
externalHotUpdateAssembliyDirs: []
|
externalHotUpdateAssembliyDirs: []
|
||||||
|
Reference in New Issue
Block a user