mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
hook up baseline button audio
This commit is contained in:
parent
9b5f137f77
commit
e4b1a869a3
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
<SoundAsset
|
||||
AssetName="buttonClick"
|
||||
sourceGroup="AudioChannelDefault"
|
||||
MaxDistance="100">
|
||||
<SoundAsset.slots>
|
||||
<slots_beginarray
|
||||
SoundFile="@assetFile=buttonClick.wav"
|
||||
MaxDistance="100"/>
|
||||
</SoundAsset.slots>
|
||||
</SoundAsset>
|
||||
BIN
Templates/BaseGame/game/core/gui/sounds/buttonClick.wav
Normal file
BIN
Templates/BaseGame/game/core/gui/sounds/buttonClick.wav
Normal file
Binary file not shown.
|
|
@ -0,0 +1,10 @@
|
|||
<SoundAsset
|
||||
AssetName="buttonHover"
|
||||
sourceGroup="AudioChannelDefault"
|
||||
MaxDistance="100">
|
||||
<SoundAsset.slots>
|
||||
<slots_beginarray
|
||||
SoundFile="@assetFile=buttonHover.wav"
|
||||
MaxDistance="100"/>
|
||||
</SoundAsset.slots>
|
||||
</SoundAsset>
|
||||
BIN
Templates/BaseGame/game/core/gui/sounds/buttonHover.wav
Normal file
BIN
Templates/BaseGame/game/core/gui/sounds/buttonHover.wav
Normal file
Binary file not shown.
Loading…
Reference in a new issue