Omit the &self parameter for functions on engine singletons
Open
breaking-change
c: engine
quality-of-life
- Dominant language
- Rust
- Stars
- 5.2k
- Forks
- 312
- Avg merge
- 11h 10m
- Merged PRs (30d)
- 10
Description
Instead of `Input::singleton().is_key_pressed()` you should just be able to write `Input::is_key_pressed()`. It's shorter, closer to GDScript, more Rusty, and avoids the overloaded word "singleton" which can also refer to an autoload.
Contributor guide
Assessment
This issue has not been assessed yet.