mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
fd4589d8df
# Objective - Current config file is hard to extend ## Solution - Instead of an hard coded list of field, the file now has a list of `(frame, event)`, and will deal with know events (exiting or taking a screenshot), or send an event for others that can be dealt by third party plugins
9 lines
133 B
Text
9 lines
133 B
Text
(
|
|
setup: (
|
|
fixed_frame_time: Some(0.03),
|
|
),
|
|
events: [
|
|
(200, Screenshot),
|
|
(900, AppExit),
|
|
]
|
|
)
|