Skip to content

Commit cd6449d

Browse files
committed
CoroutineHandleの実装方法を修正
1 parent 01b3b10 commit cd6449d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Assets/UnityScreenNavigator/Runtime/Foundation/CoroutineSystem/CoroutineHandle.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ public CoroutineHandle(IEnumerator routine)
2121
/// </summary>
2222
public CoroutineStepResult Step()
2323
{
24+
if (Status.IsFaulted)
25+
return CoroutineStepResult.Faulted;
26+
2427
if (Status.IsCompleted)
2528
return CoroutineStepResult.Completed;
2629

0 commit comments

Comments
 (0)