JReact
Unity toolsOpen-source project
I created reactive values and subscription patterns for Unity gameplay systems.
Read my contributionFocusC# · Unity · Reactive values
Subscribe while active. Unsubscribe when done.
[SerializeField] private J_ReactiveInt score;
private void OnEnable() =>
score.Subscribe(OnScoreChanged);
private void OnDisable() =>
score.UnSubscribe(OnScoreChanged);
private void OnScoreChanged(int value) =>
Debug.Log($"Score: {value}");Adapted from the JReact README.
My contribution
- Created reactive values and subscription patterns for Unity gameplay systems.
- Collected reusable events and utilities with source code and usage examples.