(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| using System; | |
| namespace Entitas { | |
| /** Used in the *AnyChangeObservable methods to observe multiple change types */ | |
| [Flags] | |
| public enum ChangeType : short{ | |
| Addition = 1 << 0, | |
| Replacement = 1 << 1, | |
| Removal = 1 << 2, |
| using UnityEngine; | |
| using UniRx; | |
| using UniRx.Triggers; | |
| // NOTE: Unity won't actually let you put two MonoBehaviours in one file. | |
| // They're both listed here just for convenience. | |
| namespace Assets.Scripts.v2 { | |
| public class InputsV2 : MonoBehaviour { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.