time namespace
Manages script execution and engine time.
Time
methods and properties allow you to
- Set up functions that are called every frame or in repeating intervals
- Delay script execution
- Get time data
Methods
schedule | (self, func: Callable[[], None], delay: float) -> Disposable |
Executes a function after a |
|
schedule_repeating | (self, func: Callable[[deltaTime: float], None], period: float) -> Disposable |
Repeats execution of a function every |
|
schedule_repeating | (self, func: Callable[[deltaTime: float], None]) -> Disposable |
Repeats execution of a function every frame. |
Properties
readonly | current_time | float |