mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Fix doc for Timer::percent_left (#6198)
# Objective - Fix a mistake in documentation.
This commit is contained in:
parent
6b75589e2c
commit
cf86f275a9
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ impl Timer {
|
|||
self.elapsed().as_secs_f32() / self.duration().as_secs_f32()
|
||||
}
|
||||
|
||||
/// Returns the percentage of the timer remaining time (goes from 0.0 to 1.0).
|
||||
/// Returns the percentage of the timer remaining time (goes from 1.0 to 0.0).
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue