fix: 删除 RemoteConfigBase 内OnChange 回调的JSON 属性
Signed-off-by: huyufei <yufei.hu@castbox.fm>main
							parent
							
								
									660303e45d
								
							
						
					
					
						commit
						2075f676b9
					
				|  | @ -1,6 +1,8 @@ | |||
| namespace Guru | ||||
| { | ||||
|     using System; | ||||
|     using UnityEngine; | ||||
|     using Newtonsoft.Json; | ||||
|      | ||||
|     public abstract class RemoteConfigBase<T>: IRemoteConfig<T> where T : IRemoteConfig<T> | ||||
|     { | ||||
|  | @ -8,6 +10,8 @@ namespace Guru | |||
|         /// 配置是否可用 | ||||
|         /// </summary> | ||||
|         public bool enable { get; set; } = true; | ||||
|          | ||||
|         [JsonIgnore] | ||||
|         public Action<T> OnValueChanged { get; set; } | ||||
|         /// <summary> | ||||
|         /// 转为Json | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue