R3: Observer Pattern on Steroids

Опубликовано: 07 Октябрь 2025
на канале: git-amend
19,000
883

Reactive Programming is not just for the hardcore devs! R3 is the new, modern reimplementation of Reactive Extensions for C# and the replacement for UniRx... and it's easier to use than you think. If you know the Observer programming pattern and understand what an extension method is, you can use R3 to supercharge your next project in Unity or Godot with Observable Streams, Subjects, Subscriptions and Operators!

NuGet For Unity: https://github.com/GlitchEnzo/NuGetFo...
R3: https://github.com/Cysharp/R3
(Optional) UniTask: https://github.com/Cysharp/UniTask

More Reading:   / r3-a-new-modern-reimplementation-of-reacti...  

Want to support me? 😀
Buy me a coffee! https://ko-fi.com/adammyhre

🔔 Subscribe for more Unity Tutorials    / @git-amend  

Discord:   / discord  

#unity3d #gamedev #indiedev

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 What is R3?
4:25 Installing R3
7:13 Observables
11:20 Subjects
12:42 Subscriptions
14:25 Operators

Correction: 14:09 Make sure to call d?.Dispose()

More Useful Code:
https://github.com/adammyhre?tab=repo...
Unity Utility Library: https://github.com/adammyhre/Unity-Utils

Assets Shown In This Video (Affiliate Links)
KAMGAM UI Particle Effects: https://assetstore.unity.com/publishe...
Tiny Hero FREE: https://assetstore.unity.com/packages...
Kyeoms HyperCasual FX Pack: https://assetstore.unity.com/packages...
Fantastic Nature Pack: https://assetstore.unity.com/packages...
RPG Magic SFX: https://assetstore.unity.com/packages...
Hot Reload: https://assetstore.unity.com/packages...
Hierarchy Icons: https://assetstore.unity.com/packages...
Better Transform: https://assetstore.unity.com/packages...
Better Mesh Filter: https://assetstore.unity.com/packages...
Editor Console Pro: https://assetstore.unity.com/packages...
Any Object Finder: https://assetstore.unity.com/packages...

Follow me!
https://linktr.ee/gitamend