add sky to train scene
This commit is contained in:
@@ -51,6 +51,11 @@ func _process(_delta: float) -> void:
|
||||
|
||||
if Input.is_action_just_pressed("ui_cancel"):
|
||||
SceneSwitcher.switch_scene(main_scene.resource_path)
|
||||
|
||||
if Input.is_action_just_pressed("toggle_debug"):
|
||||
var sky := get_node_or_null("DynamicSky") as DynamicSkyRoot
|
||||
if sky and sky._debug_canvas_layer:
|
||||
sky._debug_canvas_layer.visible = not sky._debug_canvas_layer.visible
|
||||
|
||||
|
||||
func _update_ui() -> void:
|
||||
|
||||
Reference in New Issue
Block a user