OpticTraveler/Florian/Map/lights.gd

7 lines
82 B
GDScript

extends Node3D
func _turn_on_off_lights():
if visible:
hide()
else:
show()