Skip to content

Conversation

lewiszlw
Copy link
Member

Objective

  • add more Onxxx helper.

Solution

  • Add OnPreUpdate and OnPostUpdate

@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events C-Usability A targeted quality-of-life change that makes Bevy easier to use X-Controversial There is active debate or serious implications around merging this PR labels Feb 14, 2023
@alice-i-cecile
Copy link
Member

I think that these are specific enough and easy enough to create that I would prefer end users do this manually when they need it. OnPreUpdate is particularly odd, since it occurs before the default state transitions.

@lewiszlw
Copy link
Member Author

Pr just for feedback. Seems we'd like to remove OnUpdate from cart's comment #7676 (comment) . Closing.

@lewiszlw lewiszlw closed this Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Usability A targeted quality-of-life change that makes Bevy easier to use X-Controversial There is active debate or serious implications around merging this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants