mirror of
https://github.com/lightsoutgames/bevy_tts.git
synced 2024-11-10 03:05:57 +00:00
Port example to Bevy 0.6.
This commit is contained in:
parent
028539874e
commit
7104b75fe0
|
@ -2,13 +2,13 @@ use bevy::prelude::*;
|
|||
use bevy_tts::*;
|
||||
|
||||
fn main() {
|
||||
App::build()
|
||||
App::new()
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_plugin(bevy_tts::TtsPlugin)
|
||||
.add_system(bevy::input::system::exit_on_esc_system.system())
|
||||
.add_startup_system(setup.system())
|
||||
.add_system(event_poll.system())
|
||||
.add_system(greet.system())
|
||||
.add_system(bevy::input::system::exit_on_esc_system)
|
||||
.add_startup_system(setup)
|
||||
.add_system(event_poll)
|
||||
.add_system(greet)
|
||||
.run();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user