Moved player input
This commit is contained in:
@@ -8,13 +8,10 @@ func canInteract() -> bool:
|
||||
return false
|
||||
return true
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
func interact() -> void:
|
||||
if !canInteract():
|
||||
return
|
||||
|
||||
if !Input.is_action_just_pressed("interact"):
|
||||
return
|
||||
|
||||
var overlapping = interactableArea.get_overlapping_areas()
|
||||
var interactable: InteractableArea = null
|
||||
|
||||
|
Reference in New Issue
Block a user