private void Awake()
 {
     runner = new RunnerChangeValue <bool>(newState, toChange.SetActive, GetActive);
     timer.SubscribeToStarted(Run);
     timer.SubscribeToStopped(Stop);
 }
예제 #2
0
 private void Awake()
 {
     runner = new RunnerChangeValue <TValue>(value, accessor.Set, accessor.Get);
     timer.SubscribeToStarted(Run);
     timer.SubscribeToStopped(Stop);
 }
 private void Awake()
 {
     timer.SubscribeToStopped(Fire);
 }