From 687366cd8215f4372f0e4d596d8eb83921241039 Mon Sep 17 00:00:00 2001 From: walon Date: Wed, 19 Oct 2022 11:57:53 +0800 Subject: [PATCH] =?UTF-8?q?[new]=20HybridCLRSettings=E6=96=B0=E5=A2=9E=20p?= =?UTF-8?q?atchAOTAssemblies=E5=AD=97=E6=AE=B5=E7=94=A8=E4=BA=8E=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=A1=A5=E5=85=85=E5=85=83=E6=95=B0=E6=8D=AEdll?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Settings/HybridCLRSettingProvider.cs | 3 +++ Editor/Settings/HybridCLRSettings.cs | 3 +++ package.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Editor/Settings/HybridCLRSettingProvider.cs b/Editor/Settings/HybridCLRSettingProvider.cs index 7d5af07..ab0a594 100644 --- a/Editor/Settings/HybridCLRSettingProvider.cs +++ b/Editor/Settings/HybridCLRSettingProvider.cs @@ -15,6 +15,7 @@ namespace HybridCLR.Editor private SerializedProperty _hotUpdateAssemblyDefinitions; private SerializedProperty _hotUpdateAssemblies; private SerializedProperty _preserveHotUpdateAssemblies; + private SerializedProperty _patchAOTAssemblies; private SerializedProperty _collectAssetReferenceTypes; private SerializedProperty _outputLinkFile; private SerializedProperty _outputAOTGenericReferenceFile; @@ -34,6 +35,7 @@ namespace HybridCLR.Editor _hotUpdateAssemblyDefinitions = _serializedObject.FindProperty("hotUpdateAssemblyDefinitions"); _hotUpdateAssemblies = _serializedObject.FindProperty("hotUpdateAssemblies"); _preserveHotUpdateAssemblies = _serializedObject.FindProperty("preserveHotUpdateAssemblies"); + _patchAOTAssemblies = _serializedObject.FindProperty("patchAOTAssemblies"); _collectAssetReferenceTypes = _serializedObject.FindProperty("collectAssetReferenceTypes"); _outputLinkFile = _serializedObject.FindProperty("outputLinkFile"); _outputAOTGenericReferenceFile = _serializedObject.FindProperty("outputAOTGenericReferenceFile"); @@ -107,6 +109,7 @@ namespace HybridCLR.Editor EditorGUILayout.PropertyField(_hotUpdateAssemblyDefinitions); EditorGUILayout.PropertyField(_hotUpdateAssemblies); EditorGUILayout.PropertyField(_preserveHotUpdateAssemblies); + EditorGUILayout.PropertyField(_patchAOTAssemblies); EditorGUILayout.PropertyField(_collectAssetReferenceTypes); EditorGUILayout.PropertyField(_outputLinkFile); EditorGUILayout.PropertyField(_outputAOTGenericReferenceFile); diff --git a/Editor/Settings/HybridCLRSettings.cs b/Editor/Settings/HybridCLRSettings.cs index afd345f..f5af0e3 100644 --- a/Editor/Settings/HybridCLRSettings.cs +++ b/Editor/Settings/HybridCLRSettings.cs @@ -23,6 +23,9 @@ namespace HybridCLR.Editor [Header("预留的热更新dlls")] public string[] preserveHotUpdateAssemblies; + [Header("补充元数据AOT dlls")] + public string[] patchAOTAssemblies; + [Header("生成link.xml时扫描asset中引用的类型")] public bool collectAssetReferenceTypes; diff --git a/package.json b/package.json index b5872a6..825038d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "0.7.1", + "version": "0.7.2", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",