Legacy Documentation: Version 2018.1 (Go to current version)
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.

Did you find this page useful? Please give it a rating: