Files
godot-demo-projects/loading/background_load/paintings.gd
2020-01-28 14:19:42 -05:00

6 lines
124 B
GDScript

extends Node2D
func _on_switch_pressed():
$CanvasLayer/switch.hide()
background_load.load_scene("res://sculptures.tscn")