summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Utils/AsyncUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'WorldlineKeepers/Assets/Scripts/Utils/AsyncUtils.cs')
-rw-r--r--WorldlineKeepers/Assets/Scripts/Utils/AsyncUtils.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/WorldlineKeepers/Assets/Scripts/Utils/AsyncUtils.cs b/WorldlineKeepers/Assets/Scripts/Utils/AsyncUtils.cs
new file mode 100644
index 0000000..14bbc86
--- /dev/null
+++ b/WorldlineKeepers/Assets/Scripts/Utils/AsyncUtils.cs
@@ -0,0 +1,17 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using MovementEffects;
+
+namespace WK
+{
+ public static class AsyncUtils
+ {
+ public static CoroutineHandle AsyncAction(IEnumerator<float> asyncAct)
+ {
+ var handle = Timing.Instance.RunCoroutineOnInstance(asyncAct);
+ return handle;
+ }
+
+ }
+}