YarnSpinner-Rust
YarnSpinner-Rust copied to clipboard
Support exporting `.ysls` files
I have this working in a project I'm working on. It works fine for functions as they implement this: https://github.com/YarnSpinnerTool/YarnSpinner-Rust/blob/8918900c9ec0470203ac4ad9bbb19e5f9acb07ea/crates/core/src/yarn_fn/function_wrapping.rs#L57-L60
But commands don't so so I have to implement my commands in quite a hacky way: https://github.com/YarnSpinnerTool/YarnSpinner-Rust/blob/8918900c9ec0470203ac4ad9bbb19e5f9acb07ea/crates/bevy_plugin/src/commands/command_wrapping.rs#L158-L164
I had a look at trying to make this change but I haven't quite figured out how to update the macro correctly.