Core(Box.cs) - Fix json property name for mirror/inflate

This commit is contained in:
miku-666
2025-12-20 12:36:22 +01:00
parent d9e4676b8c
commit 3254bde91a

View File

@@ -15,10 +15,10 @@ namespace PckStudio.Core
[JsonProperty("uv", Required = Required.Always)]
public Vector2 Uv { get; } = uv;
[JsonProperty("mirror", NullValueHandling = NullValueHandling.Ignore)]
[JsonProperty("inflate", NullValueHandling = NullValueHandling.Ignore)]
public float Inflate { get; } = inflate;
[JsonProperty("inflate", NullValueHandling = NullValueHandling.Ignore)]
[JsonProperty("mirror", NullValueHandling = NullValueHandling.Ignore)]
public bool Mirror { get; } = mirror;
}
}