bevy_scriptum/assets/examples/ruby/function_params.rb
2025-05-23 21:30:44 +02:00

6 lines
268 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