Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CustomYieldInstruction.keepWaiting

public bool keepWaiting;

Description

Indicates if coroutine should be kept suspended.

To keep coroutine suspended, return true. To let coroutine proceed with execution, return false.