bevy_scriptum/assets/examples/ruby/function_params.rb
2025-05-24 22:47:12 +02:00

6 lines
266 B
Ruby

fun_with_string_param("hello")
fun_with_i64_param(5)
fun_with_multiple_params(5, "hello")
fun_with_i64_and_array_param(5, [1, 2, "third element"])
# TODO: add test for heteregenous array
# TODO: for every runtime add example for wrapping with BevyEntity and BevyVec