diff --git a/Runtime/Helper/EditorOverrideUIHelper.cs b/Runtime/Helper/EditorOverrideUIHelper.cs index fa8dc5d..30dec7a 100644 --- a/Runtime/Helper/EditorOverrideUIHelper.cs +++ b/Runtime/Helper/EditorOverrideUIHelper.cs @@ -2,7 +2,7 @@ using System.Linq; using UnityEngine; using UnityEngine.UI; -using Action = Unity.Plastic.Antlr3.Runtime.Misc.Action; +// using Action = Unity.Plastic.Antlr3.Runtime.Misc.Action; using Object = UnityEngine.Object; #if UNITY_EDITOR @@ -81,7 +81,7 @@ namespace XericUI.Helper } #else private static void ReplaceCommandContext(this Object command, - Func referenceExtractor, Action referenceApplier) + Func referenceExtractor, Action referenceApplier) => throw new Exception("不能在运行时使用XericUIActionVessel编辑器功能"); #endif }