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

6 lines
124 B
GDScript3
Raw Normal View History

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