Skip to content

Commit

Permalink
Timer: Fix type error in SimpleTimer.
Browse files Browse the repository at this point in the history
Signed-off-by: Raven <[email protected]>
  • Loading branch information
az-raven committed Oct 15, 2023
1 parent 5ba5ba4 commit 7e34b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimpleTimer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void Start()
StaticCoroutineHandler.StartCoroutineStatic(Timer());
}

private void Execute(Action<float> action, float value) {
private void Execute(UnityEvent<float> action, float value) {
try {
action?.Invoke(value);
} catch {
Expand Down

0 comments on commit 7e34b4a

Please sign in to comment.