7 lines
75 B
GDScript
7 lines
75 B
GDScript
extends Node3D
|
|
|
|
func _turn_on_off():
|
|
if visible:
|
|
hide()
|
|
else:
|
|
show()
|