immersive-home/app/content/ui/menu/view/view_menu.gd
2024-04-10 00:21:38 +02:00

12 lines
256 B
GDScript

extends Node3D
@onready var mini_view = $Content/MiniView
@onready var background = $Background
func _ready():
background.visible = false
mini_view.on_button_down.connect(func():
House.body.mini_view.small.value=!House.body.mini_view.small.value
)