mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
hook up baseline button audio
This commit is contained in:
parent
9b5f137f77
commit
e4b1a869a3
5 changed files with 22 additions and 0 deletions
|
|
@ -79,6 +79,8 @@ new GuiControlProfile (GuiDefaultProfile)
|
||||||
returnTab = false;
|
returnTab = false;
|
||||||
numbersOnly = false;
|
numbersOnly = false;
|
||||||
cursorColor = "0 0 0 255";
|
cursorColor = "0 0 0 255";
|
||||||
|
soundButtonDownAsset = "Core_GUI:buttonClick";
|
||||||
|
soundButtonOverAsset = "Core_GUI:buttonHover";
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!isObject(GuiNonModalDefaultProfile))
|
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…
Add table
Add a link
Reference in a new issue