mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
[fix] 移除 BuildDLLCommand
构造函数以尝试解决数组被清除的问题
This commit is contained in:
@@ -93,7 +93,6 @@ public static class EventInterfaceGenerate
|
||||
}
|
||||
}
|
||||
|
||||
EditorUtility.SetDirty(HybridCLRSettings.Instance);
|
||||
AssetDatabase.Refresh();
|
||||
Debug.Log("Generate EventInterface Complete");
|
||||
// EditorUtility.DisplayDialog("提示", "代码生成完毕", "OK");
|
||||
|
@@ -6,19 +6,9 @@ using TEngine.Editor;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
[InitializeOnLoad]
|
||||
public static class BuildDLLCommand
|
||||
{
|
||||
private const string EnableHybridClrScriptingDefineSymbol = "ENABLE_HYBRIDCLR";
|
||||
|
||||
static BuildDLLCommand()
|
||||
{
|
||||
#if ENABLE_HYBRIDCLR
|
||||
HybridCLR.Editor.SettingsUtil.Enable = true;
|
||||
#else
|
||||
HybridCLR.Editor.SettingsUtil.Enable = false;
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 禁用HybridCLR宏定义。
|
||||
|
Reference in New Issue
Block a user