-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useS-Needs-SMEDecision or review from an SME is requiredDecision or review from an SME is requiredX-ControversialThere is active debate or serious implications around merging this PRThere is active debate or serious implications around merging this PR
Milestone
Description
Trigger
fields have been confusing to use, discussion on discord from https://discord.com/channels/691052431525675048/692572690833473578/1328735161474482216 suggested a new implementation:
current | proposed | comment |
---|---|---|
??? (when exposed through event (see pointer: trigger.event().target)) | trigger.target | the thing that event was fired on |
trigger.target | trigger.observed_on | the thing that the event was received on |
trigger.observer | trigger.observed_by | the entity holding the observer state |
I'd personally like to see a practical implications of that over recent work of #19245.
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useS-Needs-SMEDecision or review from an SME is requiredDecision or review from an SME is requiredX-ControversialThere is active debate or serious implications around merging this PRThere is active debate or serious implications around merging this PR
Type
Projects
Status
Observer overhaul