Example #1
0
 public ViewModel(IntReactiveProperty hp)
 {
     this.hp = hp.AddTo(Disposable);
 }
Example #2
0
 private void Start()
 {
     _readyTime.AddTo(this);
     _remainingTime.AddTo(this);
     CountDownAsync(this.GetCancellationTokenOnDestroy()).Forget();
 }
Example #3
0
 private void Start()
 {
     StartCoroutine(CountDownCoroutine());
     _current.AddTo(this);
 }