bevy_mod_scripting 0.19.0

Multi language scripting in Bevy
Documentation
1
2
3
4
5
6
7
8
9
10
local fake_entity = _make_invalid_entity()

assert_throws(function()
    world.push_children(fake_entity, { fake_entity })
end, "Missing or invalid entity")

local entity = world.spawn()
assert_throws(function()
    world.push_children(entity, { fake_entity })
end, "Missing or invalid entity")