Skip to content

CastSFXSelection ​

Inherits: SFXSelection < Resource

Specialized SFX selection for cast sound effects

Properties ​

Stringaudio_type""

Methods ​

Array[String]get_available_audio_types()
Array[String]get_available_files()
AudioStreamget_sound_resource()

Property descriptions ​

String audio_type = "" ​

The cast sound type to use (now dynamic based on discovered folders)

Method descriptions ​

Array[String] get_available_audio_types() ​

Get available cast sound types (for editor dropdown)

Array[String] get_available_files() ​

Get available file names for current audio type (for specific selection)

AudioStream get_sound_resource() ​

The sound this selection points to, or null when it is not set.