TinyAdventure/scenes/game_scene.gd

7 lines
112 B
GDScript
Raw Normal View History

2024-08-02 00:06:50 +02:00
extends Node3D
@onready var camera_3d = %Camera3D
func _on_visibility_changed():
camera_3d.current = visible