UISFXSelection ​
Inherits: SFXSelection < Resource
Specialized SFX selection for the interface sounds (click, loot, level up, equip an item, a quest done ...): the sounds of the ui_sfx category of the audio library. An event plays one with Play SFX Global, and the game plays the same ones for its own interface (the item, crafting and window sounds are interface sounds).
Properties ​
String | audio_type | "" |
Methods ​
Array[String] | get_available_audio_types() |
Array[String] | get_available_files() |
AudioStream | get_sound_resource() |
Property descriptions ​
String audio_type = "" ​
The interface sound: the name of a folder of the ui_sfx category (click, confirm, level_up ...)
Method descriptions ​
Array[String] get_available_audio_types() ​
The names of the interface sounds the audio library has (for the editor list).
Array[String] get_available_files() ​
The sound files the library has for the sound now (for the editor list).
AudioStream get_sound_resource() ​
The sound this selection points to, or null when it is not set.