15 lines
547 B
C#
15 lines
547 B
C#
![]() |
using UnityEditor;
|
||
|
|
||
|
namespace AlicizaX.Editor
|
||
|
{
|
||
|
public static class SyncAssemblyContent
|
||
|
{
|
||
|
public static void RefreshAssembly()
|
||
|
{
|
||
|
ScriptableSingletonUtil.Get<FrameworkHotUpdateSettings>().HotUpdateAssemblies = HybridCLR.Editor.SettingsUtil.HotUpdateAssemblyFilesIncludePreserved;
|
||
|
ScriptableSingletonUtil.Get<FrameworkHotUpdateSettings>().AOTMetaAssemblies = HybridCLR.Editor.SettingsUtil.AOTAssemblyNames;
|
||
|
AssetDatabase.Refresh();
|
||
|
AssetDatabase.SaveAssets();
|
||
|
}
|
||
|
}
|
||
|
}
|