-
Notifications
You must be signed in to change notification settings - Fork 37
Unit Reference YieldNode
S2NX7 edited this page Sep 30, 2025
·
2 revisions
The Yield node pauses execution until a specified Unity coroutine or yieldable instruction completes.
It allows Visual Scripting graphs to wait on IEnumerator, Coroutine, CustomYieldInstruction or YieldInstruction like WaitForSeconds. You can switch between the type of Yield in the Unit Header.
Input Ports
-
instruction : A
YieldInstruction(e.g.,WaitForSeconds,WaitForEndOfFrame) or aCustomYieldInstruction(e.g.,WaitUntil,WaitWhile) that determines how long execution will pause. -
enumerator : An
IEnumeratorthat will be stepped through until it is completed. -
coroutine : A running
Coroutineinstance to yield on until it finishes execution.
Output Ports
- exit : Triggered once the yield operation completes, continuing the control flow.