11 lines
253 B
GDScript
11 lines
253 B
GDScript
extends Node
|
|
|
|
var effect: AudioEffectRecord
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
var idx = AudioServer.get_bus_index("Record")
|
|
effect = AudioServer.get_bus_effect(idx, 0)
|
|
effect.set_recording_active(true)
|
|
|