modular everything
This commit is contained in:
parent
e4bb42cf6a
commit
297b5e53b6
29 changed files with 660 additions and 1697 deletions
10
Scripts/CameraButton.gd
Normal file
10
Scripts/CameraButton.gd
Normal file
|
@ -0,0 +1,10 @@
|
|||
extends Control
|
||||
|
||||
@export var camera : String
|
||||
@export var base_scene_path : String
|
||||
|
||||
func _ready() -> void:
|
||||
$Button.text = camera
|
||||
|
||||
func _on_button_pressed() -> void:
|
||||
get_node(base_scene_path + camera).current = true;
|
Loading…
Add table
Add a link
Reference in a new issue