godotengine / godotengine/godot-csharp-visualstudio
IsMouseButtonPressed should allow ButtonList
Open
enhancement
- Dominant language
- C#
- Stars
- 276
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
In order to use such methods for inputs it requires an int type. However you can't use ``ButtonList`` enum.
Meaning you have to do this instead.
``Input.IsMouseButtonPressed((int)ButtonList.Left)``
Simply suggest to have an override on all related methods to allow ``ButtonList`` ...
It can even simply do the conversion, just as long the developer doesn't explicit need to make the cast.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.