Esempio n. 1
0
 public Cooldown(float maximum, IDestroyTracker tracker)
 {
     _maximum = maximum;
     _progress = maximum;
     _isReady = true;
     CooldownManager.AddCooldown(this);
     tracker.OnObjectDestroy += OnDestroy;
 }
Esempio n. 2
0
 public Cooldown(float maximum, IDestroyTracker tracker, bool resetAndStop)
     : this(maximum, tracker)
 {
     ResetAndStop();
 }