stick-the-quick/test/SceneTestCamera.gd

10 lines
154 B
GDScript

class_name SceneTestCamera extends Camera3D
@export var test_mode := false
func _ready() -> void:
if test_mode:
make_current()
else:
queue_free()