mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 13:30:07 +01:00
* add a 2D version of the dynamic split screen demo * refactor the dynamic split screen demo - both 2D and 3D scenes have the exact same hierarchy - a single camera_controller.gd script instead of one per mode - the third viewport for 2D mode has been removed
7 lines
130 B
GDScript
7 lines
130 B
GDScript
extends Node
|
|
|
|
|
|
func _process(_delta):
|
|
if Input.is_action_just_pressed("ui_cancel"):
|
|
get_tree().change_scene("res://menu.tscn")
|