TinyAdventure/scenes/startup_scene.gd

7 lines
112 B
GDScript

extends Node3D
@onready var camera_3d = %Camera3D
func _on_visibility_changed():
camera_3d.current = visible