fix docs
This commit is contained in:
parent
3e6e14fa71
commit
c6f52bdc8d
1 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue