Skip to content

Add the root entity of a scene to the list of hooked entities#7

Merged
nicopap merged 1 commit intonicopap:mainfrom
ickk:hook_scene_root
Aug 30, 2023
Merged

Add the root entity of a scene to the list of hooked entities#7
nicopap merged 1 commit intonicopap:mainfrom
ickk:hook_scene_root

Conversation

@ickk
Copy link
Copy Markdown
Contributor

@ickk ickk commented Aug 30, 2023

I need to add or change components on the root entity of a scene after the scene has loaded, but as it is bevy-scene-hook only provides the children. This is a small patch that adds the root entity.

@nicopap
Copy link
Copy Markdown
Owner

nicopap commented Aug 30, 2023

Looks good. I'll merge this quickly

@nicopap nicopap merged commit 5149108 into nicopap:main Aug 30, 2023
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