mirror of
https://github.com/bevyengine/bevy
synced 2024-11-28 23:50:20 +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
127 B
Text
9 lines
127 B
Text
(
|
|
setup: (
|
|
frame_time: Some(0.03),
|
|
),
|
|
events: [
|
|
(100, Screenshot),
|
|
(300, AppExit),
|
|
]
|
|
)
|