10 lines
154 B
GDScript3
10 lines
154 B
GDScript3
|
class_name SceneTestCamera extends Camera3D
|
||
|
|
||
|
@export var test_mode := false
|
||
|
|
||
|
func _ready() -> void:
|
||
|
if test_mode:
|
||
|
make_current()
|
||
|
else:
|
||
|
queue_free()
|