ReactivePropertyConverter for ReactiveProperty
Dependency:
{
"dependencies": {
"com.unity.nuget.newtonsoft-json": "3.2.1",
}
}
[Serializable]
public class HalloweenUserProgress
{
[JsonProperty("Currency")]
[JsonConverter(typeof(ReactivePropertyConverter))]
public ReactiveProperty<int> Currency = new();
[JsonProperty("LevelProgress")]
[JsonConverter(typeof(ReactivePropertyConverter))]
public ReactiveProperty<List<LevelProgress>> LevelProgress = new();
}