mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-31 09:49:06 +03: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
9 lines
173 B
GDScript
9 lines
173 B
GDScript
extends Control
|
|
|
|
func _load_2d_demo():
|
|
get_tree().change_scene("res://2d/split_screen.tscn")
|
|
|
|
|
|
func _load_3d_demo():
|
|
get_tree().change_scene("res://3d/split_screen.tscn")
|