Whiff sound!!!
This commit is contained in:
parent
61ffd1cf76
commit
f9142760ab
BIN
Assets/Resources/Sfx/games/blueBear/whiff.wav
Normal file
BIN
Assets/Resources/Sfx/games/blueBear/whiff.wav
Normal file
Binary file not shown.
22
Assets/Resources/Sfx/games/blueBear/whiff.wav.meta
Normal file
22
Assets/Resources/Sfx/games/blueBear/whiff.wav.meta
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2448776798073114dbaa07b1c4a83cd8
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 6
|
||||
defaultSettings:
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 44100
|
||||
compressionFormat: 1
|
||||
quality: 1
|
||||
conversionMode: 0
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 1
|
||||
preloadAudioData: 1
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -292,10 +292,12 @@ namespace HeavenStudio.Games
|
|||
|
||||
if (PlayerInput.GetIsAction(InputAction_Left) && !IsExpectingInputNow(InputAction_Left.inputLockCategory))
|
||||
{
|
||||
SoundByte.PlayOneShotGame("blueBear/whiff");
|
||||
Bite(true);
|
||||
}
|
||||
else if (PlayerInput.GetIsAction(InputAction_Right) && !IsExpectingInputNow(InputAction_Right.inputLockCategory))
|
||||
{
|
||||
SoundByte.PlayOneShotGame("blueBear/whiff");
|
||||
Bite(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue