Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| private ControlOutput OnEnter(Flow flow) | ||
| { | ||
| var condition = flow.GetValue<bool>(m_Condition); | ||
| return condition ? m_IfTrue : m_IfFalse; |
There was a problem hiding this comment.
Provide exit continuation from IfElseUnit branches
The new IfElseUnit only returns either ifTrue or ifFalse from OnEnter and defines no exit/control output to rejoin after the branch, so when the condition is false and the graph leaves the ifFalse port unconnected (the common case when modelling a Scratch “if/else” with an empty else), the script dead‑ends instead of continuing to the next block as Scratch does and as IfThenUnit already does with its exit output. This will halt scripts whenever the else branch is empty or not wired, diverging from Scratch control flow.
Useful? React with 👍 / 👎.
Summary
Testing
Codex Task