la souris fait bouger qu'au clic gauche
This commit is contained in:
@@ -7,7 +7,7 @@ var player: Human
|
||||
var hasMouseInside = false
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if event is InputEventMouseButton or event is InputEventScreenTouch:
|
||||
if event.is_action_pressed("touch") or event is InputEventScreenTouch:
|
||||
if event.pressed:
|
||||
if clueEnabled:
|
||||
if hasMouseInside:
|
||||
|
||||
Reference in New Issue
Block a user