Skip to content

Commit b1f47c6

Browse files
committed
imports
1 parent d081eb7 commit b1f47c6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/bevy_api_gen/templates/footer.tera

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
pub struct {{ "ScriptingPlugin" | prefix_cratename | convert_case(case="upper_camel")}};
99

10-
impl bevy::app::Plugin for {{ "ScriptingPlugin" | prefix_cratename | convert_case(case="upper_camel")}} {
11-
fn build(&self, app: &mut bevy::prelude::App) {
10+
impl ::bevy::app::Plugin for {{ "ScriptingPlugin" | prefix_cratename | convert_case(case="upper_camel")}} {
11+
fn build(&self, app: &mut ::bevy::prelude::App) {
1212
let mut world = app.world_mut();
1313

1414
{% for item in items %}

crates/bevy_api_gen/templates/macros.tera

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn index(_self: Self, idx: usize, lua: &tealr::mlu::mlua::Lua) -> Result<tealr::
2525
_ => "unknown_axis"
2626
};
2727

28-
let parsed_path = bevy::reflect::ParsedPath::parse_static(path).expect("invariant");
28+
let parsed_path = ::bevy::reflect::ParsedPath::parse_static(path).expect("invariant");
2929
curr_ref.index_path(bevy_mod_scripting_core::bindings::ReflectionPathElem::new_reflection(parsed_path));
3030
crate::bindings::reference::LuaReflectReference(curr_ref).to_lua_proxy(lua)
3131
}

crates/bevy_api_gen/templates/mod.tera

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
pub struct {{ api_name }};
1111

12-
impl bevy::app::Plugin for {{ api_name }} {
13-
fn build(&self, app: &mut bevy::prelude::App) {
12+
impl ::bevy::app::Plugin for {{ api_name }} {
13+
fn build(&self, app: &mut ::bevy::prelude::App) {
1414
{% for crate in crates %}
1515
{% set crate_name = crate.name %}
1616
{{ crate_name }}::{{ "ScriptingPlugin" | prefix(val=crate_name) | convert_case(case="upper_camel")}}.build(app);

0 commit comments

Comments
 (0)