Ruby support #1

Open
jaroslaw wants to merge 165 commits from ruby into main
Showing only changes of commit c6f52bdc8d - Show all commits

View file

@ -2,10 +2,10 @@
bevy_scriptum provides following types that can be used in Ruby: bevy_scriptum provides following types that can be used in Ruby:
- ```Bevy::Vec3``` - `Bevy::Vec3`
- ```Bevy::Entity``` - `Bevy::Entity`
## Vec3 ## Bevy::Vec3
### Class Methods ### Class Methods
@ -53,15 +53,15 @@ fn set_translation(
} }
``` ```
## BevyEntity ## Bevy::Entity
### Constructor ### Constructor
None - instances can only be acquired by using built-in `entity` global variable. None - instances can only be acquired by using `Bevy::Entity.current`
### Properties ### Class method
- `index: integer` - `index`
### Example Ruby usage ### Example Ruby usage