lever sound
This commit is contained in:
1 parent
7dd2dab6e3
commit
6a2df611c0
4 files changed
+32
-1
No files matched your search
@@ -18,6 +18,7 @@ func _on_lock_input_event(_camera, event, _position, _normal, _shape_idx):
|
||||
|
||||
func _on_lever_input_event(_camera, event, _position, _normal, _shape_idx):
|
||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||
$Lever/LeverOmhaal.playing = true
|
||||
$Lever.rotation.z = $Lever.rotation.z + PI
|
||||
indirect_light.visible = !indirect_light.visible
|
||||
if indirect_light.visible:
|
||||
|
||||
Reference in new issue
Block a user