Ejemplo n.º 1
0
 internal RunnableContextSection(CoroutineScheduler scheduler, IRunnable context)
 {
     this.scheduler           = scheduler;
     previousContext          = scheduler.currentRoutine;
     scheduler.currentRoutine = context;
 }
Ejemplo n.º 2
0
 internal CoroutineContextSection(CoroutineScheduler scheduler, Coroutine context)
 {
     this.scheduler             = scheduler;
     previousContext            = scheduler.currentCoroutine;
     scheduler.currentCoroutine = context;
 }