flashlight click
This commit is contained in:
@@ -24,6 +24,7 @@ func _input(event):
|
||||
mouse_mode = mouse_mode ^ 1
|
||||
Input.set_mouse_mode(mouse_mode)
|
||||
elif event.is_action_pressed("alt") and has_flashlight:
|
||||
$Pivot/Camera/FlashLight/Klik.playing = true
|
||||
$Pivot/Camera/FlashLight/SpotLight3D.visible = !$Pivot/Camera/FlashLight/SpotLight3D.visible
|
||||
|
||||
func _physics_process(delta):
|
||||
|
||||
Reference in New Issue
Block a user