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 41f2283 commit b856658Copy full SHA for b856658
readme.md
@@ -72,7 +72,7 @@ fn main() -> std::io::Result<()> {
72
)
73
74
// generate events for scripts to pickup
75
- .add_system(trigger_on_update_script_callback)
+ .add_system(trigger_on_update_lua)
76
.add_system(trigger_on_update_rhai)
77
78
// attach script components to entities
@@ -116,7 +116,7 @@ impl<'lua> ToLua<'lua> for MyLuaArg {
116
}
117
118
// event callback generator for lua
119
-pub fn trigger_on_update_script_callback(mut w: PriorityEventWriter<LuaEvent<MyLuaArg>>) {
+pub fn trigger_on_update_lua(mut w: PriorityEventWriter<LuaEvent<MyLuaArg>>) {
120
let event = LuaEvent::<MyLuaArg> {
121
hook_name: "on_update".to_string(),
122
args: Vec::default(),
0 commit comments