summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Utils/AsyncUtils.cs
blob: 14bbc863d499eea6b89b02de60f83dee5ff943c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
        }

    }
}