An open API service indexing awesome lists of open source software.

https://github.com/rimurudev/unity-reactiveproperty-helper

Unity Simple Reactive Property -> For small projects, so as not to import UniRx or R3
https://github.com/rimurudev/unity-reactiveproperty-helper

r3 reactive reactive-fields reactive-properties rimuru-dev rimurudev unity-react unity-reactie-property

Last synced: 28 days ago
JSON representation

Unity Simple Reactive Property -> For small projects, so as not to import UniRx or R3

Awesome Lists containing this project

README

          

# Unity ReactiveProperty Helper

# How to use

```csharp
[Serializable]
public class CurrencyData
{
public ReactiveProperty SoftCurrency { get; private set; }
public ReactiveProperty HardCurrency { get; private set; }

public CurrencyData()
{
SoftCurrency = new ReactiveProperty();
HardCurrency = new ReactiveProperty();
}
}
```
# Newtonsoft.Json

```csharp
[Serializable]
public class CurrencyStorage
{
[JsonProperty] public ReactiveProperty SoftCurrency { get; private set; } = new();

[JsonProperty] public ReactiveProperty HardCurrency { get; private set; } = new();
}
```