pandemonium_demo_projects/loading/background_load/sculptures.gd

6 lines
123 B
GDScript3
Raw Normal View History

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