mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-15 19:28:48 -05:00
Migrate to System.Text.Json in Live2D exporter
- [exp3.json] Fixed format of Blend values (there should be strings according to the official specification) - Fixed BlendType enum
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace CubismLive2DExtractor
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace CubismLive2DExtractor
|
||||
{
|
||||
public class CubismExpression3Json
|
||||
{
|
||||
@@ -11,6 +13,7 @@
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public float Value { get; set; }
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public BlendType Blend { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user