mirror of https://github.com/Cysharp/UniTask
23 lines
555 B
C#
23 lines
555 B
C#
|
#if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6))
|
|||
|
|
|||
|
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
|||
|
|
|||
|
using System.Diagnostics;
|
|||
|
using System.Runtime.CompilerServices;
|
|||
|
|
|||
|
namespace UniRx.Async.CompilerServices
|
|||
|
{
|
|||
|
internal class MoveNextRunner<TStateMachine>
|
|||
|
where TStateMachine : IAsyncStateMachine
|
|||
|
{
|
|||
|
public TStateMachine StateMachine;
|
|||
|
|
|||
|
[DebuggerHidden]
|
|||
|
public void Run()
|
|||
|
{
|
|||
|
StateMachine.MoveNext();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
#endif
|