fix docs
Some checks failed
Book / test (pull_request) Has been cancelled
Rust / build (pull_request) Has been cancelled

This commit is contained in:
Jaroslaw Konik 2025-05-27 17:53:19 +02:00
parent 3e6e14fa71
commit c6f52bdc8d

View file

@ -2,10 +2,10 @@
bevy_scriptum provides following types that can be used in Ruby:
- ```Bevy::Vec3```
- ```Bevy::Entity```
- `Bevy::Vec3`
- `Bevy::Entity`
## Vec3
## Bevy::Vec3
### Class Methods
@ -53,15 +53,15 @@ fn set_translation(
}
```
## BevyEntity
## Bevy::Entity
### 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