feat: ticker is decoupled from stopwatch and added timer and stopwatch tickers
This commit is contained in:
@@ -53,7 +53,7 @@ public class Timer : Behaviour, IUpdate, ITimer
|
||||
OnStopped?.Invoke(this);
|
||||
}
|
||||
|
||||
public void Update()
|
||||
public virtual void Update()
|
||||
{
|
||||
if (State is not TimerState.Ticking)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user