上传YomovSDK

This commit is contained in:
Sora丶kong
2026-03-03 03:15:46 +08:00
parent 9096da7e6c
commit eb97f31065
6477 changed files with 1932208 additions and 3 deletions

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using UnityEngine;
namespace Newtonsoft.Json.UnityConverters.Configuration
{
#pragma warning disable CA2235 // Mark all non-serializable fields
[Serializable]
public sealed class UnityConvertersConfig : ScriptableObject
{
internal const string PATH = "Assets/Resources/Newtonsoft.Json-for-Unity.Converters.asset";
internal const string PATH_FOR_RESOURCES_LOAD = "Newtonsoft.Json-for-Unity.Converters";
public bool useUnityContractResolver = true;
public bool useAllOutsideConverters = true;
public List<ConverterConfig> outsideConverters = new List<ConverterConfig>();
public bool useAllUnityConverters = true;
public List<ConverterConfig> unityConverters = new List<ConverterConfig>();
public bool useAllJsonNetConverters;
public List<ConverterConfig> jsonNetConverters = new List<ConverterConfig> {
new ConverterConfig { converterName = typeof(StringEnumConverter).FullName, enabled = true },
new ConverterConfig { converterName = typeof(VersionConverter).FullName, enabled = true },
};
public bool autoSyncConverters = true;
}
#pragma warning restore CA2235 // Mark all non-serializable fields
}