Federico-Ciuffardi / GodotTouchInputManager

Asset that improves touch input support (includes new gestures) in the Godot game engine. It also translates mouse input to touch input.
MIT License
526 stars 35 forks source link

Debug mode prints empty messages on console #40

Closed btzr-io closed 8 months ago

btzr-io commented 8 months ago

I'm guessing this is a typo ?

https://github.com/Federico-Ciuffardi/GodotTouchInputManager/blob/89efa65dc9a04d29e91e80f00191f04889603c3f/InputManager.gd#L287

Replacing as_text for as_string shows the debug messages correctly:

if DEBUG: print(val.as_string())

Federico-Ciuffardi commented 8 months ago

Yes! It seems we forgot to change this one when transitioning to Godot 4.

Could you please make a PR?