use bevy::prelude::*; use bevy_scriptum::runtimes::lua::prelude::*; use bevy_scriptum::{prelude::*, BuildScriptingRuntime}; fn main() { App::new() .add_plugins(DefaultPlugins) .add_scripting::(|_| {}) .add_systems(Startup, startup) .run(); } fn startup(mut commands: Commands, assets_server: Res) { commands.spawn(Script::::new( assets_server.load("examples/lua/entity_variable.lua"), )); }