diff --git a/Runtime/GuruRemote/Runtime/RemoteConfigBase.cs b/Runtime/GuruRemote/Runtime/RemoteConfigBase.cs index 7059290..28f7aa6 100644 --- a/Runtime/GuruRemote/Runtime/RemoteConfigBase.cs +++ b/Runtime/GuruRemote/Runtime/RemoteConfigBase.cs @@ -1,6 +1,8 @@ namespace Guru { using System; + using UnityEngine; + using Newtonsoft.Json; public abstract class RemoteConfigBase: IRemoteConfig where T : IRemoteConfig { @@ -8,6 +10,8 @@ namespace Guru /// 配置是否可用 /// public bool enable { get; set; } = true; + + [JsonIgnore] public Action OnValueChanged { get; set; } /// /// 转为Json