Sounds Added

dev-ali
Ali Sharoz 1 week ago
parent 95394ceb58
commit 45f05aba8e

Binary file not shown.

@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: 609c1b54e4d5c434e984329145119f2f
AudioImporter:
externalObjects: {}
serializedVersion: 7
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: 87c5537e5b84cc347909cb5b2cd0c4e2
AudioImporter:
externalObjects: {}
serializedVersion: 7
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

@ -911,8 +911,8 @@ MonoBehaviour:
- {fileID: 8300000, guid: 2f4130c9d5cf48829111e4d372e04dcb, type: 3}
- {fileID: 8300000, guid: 719445bebaa148e7bd7be92373b62244, type: 3}
otherClips:
- {fileID: 0}
- {fileID: 0}
- {fileID: 8300000, guid: 87c5537e5b84cc347909cb5b2cd0c4e2, type: 3}
- {fileID: 8300000, guid: 609c1b54e4d5c434e984329145119f2f, type: 3}
--- !u!82 &1790415148045805081
AudioSource:
m_ObjectHideFlags: 0

@ -157,6 +157,7 @@ public class Cell : MonoBehaviour
{
GamePlayManager.instance.OnButtonClick(this);
}
Sound.instance.Play(Sound.Others.PipeRotation);
});
}
rightRotationValue = lcd.RightRotationValue;

@ -433,6 +433,7 @@ public class GamePlayManager : MonoBehaviour
nextBtn.GetComponentInChildren<TMP_Text>().text = "BACK";
}
nextBtn.interactable = false;
Sound.instance.Play(Sound.Others.LevelComplete);
gameOverPopup.Open();
confettiParticle.Play();
yield return new WaitForSeconds(0.5f);

@ -24,18 +24,18 @@ public class Sound : MonoBehaviour
public enum Others
{
Other1,
Other2
PipeRotation,
LevelComplete,
}
public AudioSource audioSource;
public AudioSource loopAudioSource;
[HideInInspector]
//[HideInInspector]
public AudioClip[] buttonClips;
[HideInInspector]
//[HideInInspector]
public AudioClip[] otherClips;
public static Sound instance;

Loading…
Cancel
Save