Skip to content

Add hooks (before_run, after_run) and interrupts back in#416

Merged
bitbrain merged 3 commits intobitbrain:v3-nodesfrom
LenNerd42:v3-nodes-hooks-interrupts
Oct 3, 2025
Merged

Add hooks (before_run, after_run) and interrupts back in#416
bitbrain merged 3 commits intobitbrain:v3-nodesfrom
LenNerd42:v3-nodes-hooks-interrupts

Conversation

@LenNerd42
Copy link

Description

The methods before_run(), after_run() and interrupt() have been added back in.
These have been integrated into the decorator and composite classes, as well as the tree itself.

Just like with tick(), virtual functions prefixed with _ are exposed to GDScript (e.g. _before_run()).

@bitbrain bitbrain merged commit d25e4e9 into bitbrain:v3-nodes Oct 3, 2025
0 of 2 checks passed
@LenNerd42 LenNerd42 deleted the v3-nodes-hooks-interrupts branch October 3, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants