refactor: CreateCoroutine to StartCoroutine

This commit is contained in:
Syntriax 2024-11-24 21:44:10 +03:00
parent 4416f64287
commit eb5345dc77
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ public class CoroutineManager : HierarchyObjectBase
{ {
private readonly List<IEnumerator> enumerators = []; private readonly List<IEnumerator> enumerators = [];
public IEnumerator CreateCoroutine(IEnumerator enumerator) public IEnumerator StartCoroutine(IEnumerator enumerator)
{ {
enumerators.Add(enumerator); enumerators.Add(enumerator);
return enumerator; return enumerator;