File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 5
5
using System . Reflection ;
6
6
using System . Text ;
7
7
using System . Threading ;
8
- using UnityEditorInternal ;
9
8
using UnityEngine ;
10
9
11
10
namespace Gameframe . Async . Coroutines
@@ -19,7 +18,7 @@ public class CoroutineWrapper
19
18
public CoroutineWrapper ( )
20
19
{
21
20
}
22
-
21
+
23
22
public CoroutineWrapper ( CancellationToken token )
24
23
{
25
24
_token = token ;
@@ -33,7 +32,7 @@ public CoroutineAwaiter GetAwaiter()
33
32
}
34
33
return _awaiter ;
35
34
}
36
-
35
+
37
36
public IEnumerator Run ( IEnumerator coroutine )
38
37
{
39
38
_processStack . Push ( coroutine ) ;
@@ -69,11 +68,11 @@ public IEnumerator Run(IEnumerator coroutine)
69
68
yield return currentCoroutine . Current ;
70
69
}
71
70
}
72
-
71
+
73
72
}
74
73
75
74
_awaiter ? . Complete ( null ) ;
76
75
}
77
76
}
78
-
77
+
79
78
}
You can’t perform that action at this time.
0 commit comments