ezEngine  Release 25.03
ezScriptCoroutineCreationMode Struct Reference

Mode that decides what should happen if a new coroutine is created while there is already another coroutine running with the same name on a given instance. More...

#include <ScriptCoroutine.h>

Inheritance diagram for ezScriptCoroutineCreationMode:

Public Types

enum  Enum { StopOther, DontCreateNew, AllowOverlap, Default = StopOther }
 
using StorageType = ezUInt8
 

Detailed Description

Mode that decides what should happen if a new coroutine is created while there is already another coroutine running with the same name on a given instance.

See also
ezScriptWorldModule::CreateCoroutine

Member Enumeration Documentation

◆ Enum

Enumerator
StopOther 

Stop the other coroutine before creating a new one with the same name.

DontCreateNew 

Don't create a new coroutine if there is already one running with the same name.

AllowOverlap 

Allow multiple overlapping coroutines with the same name.


The documentation for this struct was generated from the following file: