hook up baseline button audio

This commit is contained in:
AzaezelX 2024-08-06 08:37:53 -05:00
parent 9b5f137f77
commit e4b1a869a3
5 changed files with 22 additions and 0 deletions

View file

@ -79,6 +79,8 @@ new GuiControlProfile (GuiDefaultProfile)
returnTab = false;
numbersOnly = false;
cursorColor = "0 0 0 255";
soundButtonDownAsset = "Core_GUI:buttonClick";
soundButtonOverAsset = "Core_GUI:buttonHover";
};
if(!isObject(GuiNonModalDefaultProfile))

View file

@ -0,0 +1,10 @@
<SoundAsset
AssetName="buttonClick"
sourceGroup="AudioChannelDefault"
MaxDistance="100">
<SoundAsset.slots>
<slots_beginarray
SoundFile="@assetFile=buttonClick.wav"
MaxDistance="100"/>
</SoundAsset.slots>
</SoundAsset>

View file

@ -0,0 +1,10 @@
<SoundAsset
AssetName="buttonHover"
sourceGroup="AudioChannelDefault"
MaxDistance="100">
<SoundAsset.slots>
<slots_beginarray
SoundFile="@assetFile=buttonHover.wav"
MaxDistance="100"/>
</SoundAsset.slots>
</SoundAsset>