bevy_mod_scripting 0.19.0

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

assert_throws(||{
    world.push_children.call(fake_entity, [fake_entity]);
}, "Missing or invalid entity");

let entity = world.spawn_.call();
assert_throws(||{
    world.push_children.call(entity, [fake_entity]);
}, "Missing or invalid entity");