Skip to content

Commit 7e34b4a

Browse files
committed
Timer: Fix type error in SimpleTimer.
Signed-off-by: Raven <raven@az-raven.com>
1 parent 5ba5ba4 commit 7e34b4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SimpleTimer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void Start()
3939
StaticCoroutineHandler.StartCoroutineStatic(Timer());
4040
}
4141

42-
private void Execute(Action<float> action, float value) {
42+
private void Execute(UnityEvent<float> action, float value) {
4343
try {
4444
action?.Invoke(value);
4545
} catch {

0 commit comments

Comments
 (0)