pandemonium_demo_projects/loading/background_load/paintings.gd

6 lines
124 B
GDScript3
Raw Permalink Normal View History

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