bevy_scriptum/assets/examples/ruby/entity_variable.rb
2025-05-23 21:19:22 +02:00

2 lines
150 B
Ruby

# Bevy::Entity.current can be used to access the entity that is currently being processed
puts("Current entity index: #{Bevy::Entity.current.index}")