Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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.