bevy_mod_scripting 0.24.0

Multi language scripting in Bevy
Documentation
1
2
3
4
5
6
7
8
local world = import_namespace("bms").world
local entity_with_component =world._get_entity_with_test_component("TestComponent")

local component_type = world.get_type_by_name("test_utils::test_data::TestComponent")

function bench()
    world.get_component(entity_with_component, component_type)
end