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