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