summaryrefslogtreecommitdiff
path: root/GameCode/DelayedEvent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'GameCode/DelayedEvent.cs')
-rw-r--r--GameCode/DelayedEvent.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/GameCode/DelayedEvent.cs b/GameCode/DelayedEvent.cs
new file mode 100644
index 0000000..cfde350
--- /dev/null
+++ b/GameCode/DelayedEvent.cs
@@ -0,0 +1,14 @@
+using System;
+using UnityEngine.Events;
+
+[Serializable]
+public class DelayedEvent
+{
+ public UnityEvent eventTrigger;
+
+ public float delay;
+
+ public int cycles = 1;
+
+ public int cyclesPerLvl;
+}