We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2311322 commit 14bb044Copy full SHA for 14bb044
crates/bevy_api_gen/templates/footer.tera
@@ -16,6 +16,8 @@ impl ::bevy::app::Plugin for {{ "ScriptingPlugin" | prefix_cratename | convert_c
16
{%- for function in item.functions -%}
17
.overwrite_script_function("{{ function.ident }}", |
18
{%- for arg in function.args -%}
19
+ {%- if arg.proxy_ty is matching("Mut.*")-%}
20
+ mut {% endif -%}
21
{%- if arg.ident != "self" -%}
22
{{- arg.ident -}}
23
{%- else -%}
0 commit comments