Assets
Using Metadata Instead of Assets
title: Start
---
Granny: It's hard to believe that it's over, isn't it? #smiling
Granny: Funny how we get attached to the struggle. #laughing
Granny: Promise me that you'll take care of yourself, okay? #smiling
===Asset Providers
fn spawn_dialogue_runner(mut commands: Commands, project: Res<YarnProject>) {
let mut dialogue_runner = project
.build_dialogue_runner()
.add_asset_provider(AudioAssetProvider::new())
.build();
dialogue_runner.start_node("Start");
commands.spawn(dialogue_runner);
}Last updated
Was this helpful?
