Skip to content

Commit

Permalink
markdown styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jul 11, 2023
1 parent a5d7b6b commit b9d5d63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ fn my_system(mut commands: Commands){
If the component being eased is not already a component of the entity, the component should first be inserted for the target entity.

### Easing using EaseMethod

The EaseMethod enum can be used to provide easing methods that are not avaliable in EaseFunction.

```rust
pub enum EaseMethod {
/// Follow `EaseFunction`
Expand All @@ -73,7 +75,9 @@ pub enum EaseMethod {
CustomFunction(fn(f32) -> f32),
}
```

This is shown below

```rust
use bevy::prelude::*;
use bevy_easings::*;
Expand Down Expand Up @@ -103,7 +107,6 @@ fn my_system(mut commands: Commands){
}
```


### Chaining easing

You can chain easings, if they are not set to repeat they will happen in sequence.
Expand Down

0 comments on commit b9d5d63

Please sign in to comment.