bevy_scriptum/assets/tests/ruby/call_script_function_with_params.rb
2025-05-14 15:37:09 +02:00

7 lines
90 B
Ruby

$state = {
'called_with' => nil
}
def test_func(val)
$state['called_with'] = val
end