godot-demo-projects/misc/background_load/paintings.gd

6 lines
112 B
GDScript3
Raw Normal View History

2018-07-23 00:28:36 +02:00
extends Node2D
func _on_switch_pressed():
$switch.hide()
background_load.load_scene("res://sculptures.tscn")