From f5f0541a1b903c9c6243bee824db5baad077e9e3 Mon Sep 17 00:00:00 2001 From: Sagittaeri Date: Sun, 22 Jan 2017 14:07:50 +1100 Subject: [PATCH] amb and bgm and fixed camera --- .../Assets/Scripts/AudioController.cs | 233 ++++++++++++++++++ .../Assets/Scripts/AudioController.cs.meta | 12 + .../Assets/Scripts/CustomSmoothFollow.cs | 5 +- .../Assets/Scripts/TestMoveController.cs | 8 +- .../Assets/Scripts/UIPanel.cs | 1 + ...f167c9b1594cec30b8e540.meta => Sound.meta} | 5 +- IronToad_UnityProject/Assets/Sound/Music.meta | 9 + ...22-1245ironToad(attack).wav => attack.wav} | Bin ...nToad(attack).wav.meta => attack.wav.meta} | 4 +- ...-1245ironToad(spotted).wav => spotted.wav} | Bin ...oad(spotted).wav.meta => spotted.wav.meta} | 4 +- .../{22-1245ironToad(tense).wav => tense.wav} | Bin ...ronToad(tense).wav.meta => tense.wav.meta} | 4 +- IronToad_UnityProject/Assets/Sound/SFX.meta | 9 + .../Assets/Sound/SFX/assassination.wav.meta | 4 +- .../Assets/Sound/SFX/createWave.wav.meta | 4 +- .../Assets/Sound/SFX/createWave_2.wav.meta | 4 +- .../Assets/Sound/SFX/createWave_3.wav.meta | 4 +- .../Assets/Sound/SFX/oceanAmbience.wav.meta | 4 +- .../Assets/Sound/SFX/rockWater_1.wav.meta | 4 +- .../Assets/Sound/SFX/rockWater_2.wav.meta | 4 +- .../Assets/Sound/SFX/rockWater_3.wav.meta | 4 +- .../Assets/Sound/SFX/runAground.wav.meta | 4 +- .../Assets/Sound/SFX/shipSpotted.wav.meta | 4 +- .../Assets/Sound/SFX/sinkingShip.wav.meta | 4 +- .../Assets/Sound/SFX/spottedDialogue.wav.meta | 4 +- .../Assets/_Scenes/LighthouseTestScene.unity | Bin 136944 -> 137496 bytes 27 files changed, 303 insertions(+), 39 deletions(-) create mode 100644 IronToad_UnityProject/Assets/Scripts/AudioController.cs create mode 100644 IronToad_UnityProject/Assets/Scripts/AudioController.cs.meta rename IronToad_UnityProject/Assets/{Sound.meta~4053ea0ea1489f4604c1626fb0538989dd66037b.meta~927ced4c4317bc1f86f167c9b1594cec30b8e540.meta => Sound.meta} (54%) create mode 100644 IronToad_UnityProject/Assets/Sound/Music.meta rename IronToad_UnityProject/Assets/Sound/Music/{22-1245ironToad(attack).wav => attack.wav} (100%) rename IronToad_UnityProject/Assets/Sound/Music/{22-1245ironToad(attack).wav.meta => attack.wav.meta} (92%) rename IronToad_UnityProject/Assets/Sound/Music/{22-1245ironToad(spotted).wav => spotted.wav} (100%) rename IronToad_UnityProject/Assets/Sound/Music/{22-1245ironToad(spotted).wav.meta => spotted.wav.meta} (92%) rename IronToad_UnityProject/Assets/Sound/Music/{22-1245ironToad(tense).wav => tense.wav} (100%) rename IronToad_UnityProject/Assets/Sound/Music/{22-1245ironToad(tense).wav.meta => tense.wav.meta} (92%) create mode 100644 IronToad_UnityProject/Assets/Sound/SFX.meta diff --git a/IronToad_UnityProject/Assets/Scripts/AudioController.cs b/IronToad_UnityProject/Assets/Scripts/AudioController.cs new file mode 100644 index 0000000..2502665 --- /dev/null +++ b/IronToad_UnityProject/Assets/Scripts/AudioController.cs @@ -0,0 +1,233 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class AudioController : MonoBehaviour +{ + public AudioSource[] bgmSources; + public AudioSource[] ambSources; + public AudioSource[] sfxSources; + + public AudioClip[] bgmClips; + public AudioClip[] ambClips; + public AudioClip[] sfxClips; + + void Awake() + { + NotificationServer.register("play bgm", playBgm); + NotificationServer.register("play amb", playAmb); + NotificationServer.register("play sfx", playSfx); + + NotificationServer.register("fade bgm", fadeBgm); + NotificationServer.register("fade amb", fadeAmb); + } + + void Start() + { + foreach (AudioSource s in bgmSources) + s.volume = 0f; + foreach (AudioSource s in ambSources) + s.volume = 0f; + foreach (AudioSource s in sfxSources) + s.volume = 0f; + + NotificationServer.notify("play amb", "oceanAmbience:0.5"); + } + + public void playAmb(object audioNameObj) + { + string audioName = audioNameObj as string; + if (audioName == null || audioName == "") + return; + + string[] tokens = audioName.ToLower().Split(':'); + audioName = tokens[0]; + float volume = 1f; + if (tokens.Length > 1) + float.TryParse(tokens[1], out volume); + + AudioClip clip = null; + foreach (AudioClip c in ambClips) + { + if (c.name.ToLower() == audioName) + { + clip = c; + break; + } + } + + if (clip == null) + return; + + bool foundEmpty = false; + foreach (AudioSource s in ambSources) + { + if (s.isPlaying) + { + LeanTween.cancel(s.gameObject); + LeanTween.value(s.gameObject, s.volume, 0f, 0.5f).setOnUpdate((float val)=>{ + s.volume = val; + }).setOnComplete(()=>{ + s.Stop(); + s.clip = null; + }).setIgnoreTimeScale(true); + } + else if (!foundEmpty) + { + LeanTween.cancel(s.gameObject); + foundEmpty = true; + s.clip = clip; + s.Play(); + LeanTween.value(s.gameObject, s.volume, volume, 0.5f).setOnUpdate((float val)=>{ + s.volume = val; + }).setIgnoreTimeScale(true); + } + } + } + + public void playSfx(object audioNameObj) + { + string audioName = audioNameObj as string; + if (audioName == null || audioName == "") + return; + + string[] tokens = audioName.ToLower().Split(':'); + audioName = tokens[0]; + float volume = 1f; + if (tokens.Length > 1) + float.TryParse(tokens[1], out volume); + + AudioClip clip = null; + foreach (AudioClip c in sfxClips) + { + if (c.name.ToLower() == audioName) + { + clip = c; + break; + } + } + + if (clip == null) + return; + + foreach (AudioSource s in sfxSources) + { + if (!s.isPlaying) + { + LeanTween.cancel(s.gameObject); + s.clip = clip; + s.volume = volume; + s.Play(); + } + } + } + + public void playBgm(object audioNameObj) + { + string audioNames = audioNameObj as string; + if (audioNames == null || audioNames == "") + return; + + audioNames = audioNames.ToLower(); + string[] tokens = audioNames.Split('/'); + if (tokens.Length > 1) + { + foreach (string t in tokens) + playBgm(t.Trim()); + return; + } + string[] tokens2 = audioNames.Split(':'); + string audioName = tokens2[0]; + float volume = 1f; + if (tokens2.Length > 1) + float.TryParse(tokens2[1], out volume); + + AudioClip clip = null; + foreach (AudioClip c in bgmClips) + { + if (c.name.ToLower() == audioName) + { + clip = c; + break; + } + } + + if (clip == null) + return; + + AudioSource foundEmpty = null; + foreach (AudioSource s in bgmSources) + { + if (s.clip != null && s.clip == clip) + { + LeanTween.cancel(s.gameObject); + foundEmpty = s; + } + else if (s.isPlaying) + { + LeanTween.cancel(s.gameObject); + LeanTween.value(s.gameObject, s.volume, 0f, 0.5f).setOnUpdate((float val)=>{ + s.volume = val; + }).setOnComplete(()=>{ + s.Stop(); + s.clip = null; + }).setIgnoreTimeScale(true); + } + else if (foundEmpty == null) + { + LeanTween.cancel(s.gameObject); + foundEmpty = s; + } + } + if (foundEmpty != null && !foundEmpty.isPlaying) + { + LeanTween.cancel(foundEmpty.gameObject); + foundEmpty.clip = clip; + foundEmpty.Play(); + LeanTween.value(foundEmpty.gameObject, foundEmpty.volume, volume, 0.5f).setOnUpdate((float val)=>{ + foundEmpty.volume = val; + }).setIgnoreTimeScale(true); + } + else if (foundEmpty != null && foundEmpty.isPlaying) + { + LeanTween.cancel(foundEmpty.gameObject); + LeanTween.value(foundEmpty.gameObject, foundEmpty.volume, volume, 0.5f).setOnUpdate((float val)=>{ + foundEmpty.volume = val; + }).setIgnoreTimeScale(true); + } + } + + public void fadeBgm() + { + foreach (AudioSource s in bgmSources) + { + if (s.isPlaying) + { + LeanTween.cancel(s.gameObject); + LeanTween.value(s.gameObject, s.volume, 0f, 0.5f).setOnUpdate((float val)=>{ + s.volume = val; + }).setOnComplete(()=>{ + s.Stop(); + s.clip = null; + }).setIgnoreTimeScale(true); + } + } + } + + public void fadeAmb() + { + foreach (AudioSource s in ambSources) + { + if (s.isPlaying) + { + LeanTween.cancel(s.gameObject); + LeanTween.value(s.gameObject, s.volume, 0f, 0.5f).setOnUpdate((float val)=>{ + s.volume = val; + }).setOnComplete(()=>{ + s.Stop(); + s.clip = null; + }).setIgnoreTimeScale(true); + } + } + } +} diff --git a/IronToad_UnityProject/Assets/Scripts/AudioController.cs.meta b/IronToad_UnityProject/Assets/Scripts/AudioController.cs.meta new file mode 100644 index 0000000..b4a3ecb --- /dev/null +++ b/IronToad_UnityProject/Assets/Scripts/AudioController.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 66e9541bf46304a888e3e492fda8055d +timeCreated: 1485043076 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Scripts/CustomSmoothFollow.cs b/IronToad_UnityProject/Assets/Scripts/CustomSmoothFollow.cs index 76a0265..ee23660 100644 --- a/IronToad_UnityProject/Assets/Scripts/CustomSmoothFollow.cs +++ b/IronToad_UnityProject/Assets/Scripts/CustomSmoothFollow.cs @@ -42,7 +42,7 @@ public class CustomSmoothFollow : MonoBehaviour RaycastHit hitInfo; if (Physics.Raycast(wantedPos, target.position-wantedPos, out hitInfo, (target.position-wantedPos).magnitude * 2f)) { - Debug.LogWarning (hitInfo.collider.name + " -- " + hitInfo.collider.gameObject.layer + " -- " + layerMask); +// Debug.LogWarning (hitInfo.collider.name + " -- " + hitInfo.collider.gameObject.layer + " -- " + layerMask); if (hitInfo.collider.gameObject.layer == layerMask) isBlocked = true; } @@ -51,6 +51,8 @@ public class CustomSmoothFollow : MonoBehaviour { wantedPos.y = target.position.y + altHeight; wantedPos.z = target.position.z + altDistance; + wantedPos.x = target.position.x; + wantedPos = RotatePointAroundPivot(wantedPos, target.transform.position, offsetAngle); } float currentHeight = transform.position.y; @@ -73,7 +75,6 @@ public class CustomSmoothFollow : MonoBehaviour // Set the height of the camera transform.position = new Vector3(currentSide, currentHeight, currentDistance); - // Always look at the target Vector3 lookTarget = target.position; lookTarget.z = transform.position.z; diff --git a/IronToad_UnityProject/Assets/Scripts/TestMoveController.cs b/IronToad_UnityProject/Assets/Scripts/TestMoveController.cs index adf5328..94168c6 100644 --- a/IronToad_UnityProject/Assets/Scripts/TestMoveController.cs +++ b/IronToad_UnityProject/Assets/Scripts/TestMoveController.cs @@ -9,12 +9,12 @@ public class TestMoveController : MonoBehaviour void Update () { if (Input.GetKey(KeyCode.S) || Input.GetKey(KeyCode.DownArrow)) - transform.Translate(Vector3.back * Time.deltaTime * speed); + transform.Translate(Vector3.right * Time.deltaTime * speed); if (Input.GetKey(KeyCode.A) || Input.GetKey(KeyCode.LeftArrow)) - transform.Translate(Vector3.left * Time.deltaTime * speed); + transform.Translate(Vector3.back * Time.deltaTime * speed); if (Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.UpArrow)) - transform.Translate(Vector3.forward * Time.deltaTime * speed); + transform.Translate(Vector3.left * Time.deltaTime * speed); if (Input.GetKey(KeyCode.D) || Input.GetKey(KeyCode.RightArrow)) - transform.Translate(Vector3.right * Time.deltaTime * speed); + transform.Translate(Vector3.forward * Time.deltaTime * speed); } } diff --git a/IronToad_UnityProject/Assets/Scripts/UIPanel.cs b/IronToad_UnityProject/Assets/Scripts/UIPanel.cs index 3135ea3..8df274b 100644 --- a/IronToad_UnityProject/Assets/Scripts/UIPanel.cs +++ b/IronToad_UnityProject/Assets/Scripts/UIPanel.cs @@ -162,6 +162,7 @@ public class UIPanel : MonoBehaviour public void startGame() { NotificationServer.notify("show GameUI"); + NotificationServer.notify("play bgm", "tense:0.75"); unpauseGame(); } diff --git a/IronToad_UnityProject/Assets/Sound.meta~4053ea0ea1489f4604c1626fb0538989dd66037b.meta~927ced4c4317bc1f86f167c9b1594cec30b8e540.meta b/IronToad_UnityProject/Assets/Sound.meta similarity index 54% rename from IronToad_UnityProject/Assets/Sound.meta~4053ea0ea1489f4604c1626fb0538989dd66037b.meta~927ced4c4317bc1f86f167c9b1594cec30b8e540.meta rename to IronToad_UnityProject/Assets/Sound.meta index a8292de..f9c1bfe 100644 --- a/IronToad_UnityProject/Assets/Sound.meta~4053ea0ea1489f4604c1626fb0538989dd66037b.meta~927ced4c4317bc1f86f167c9b1594cec30b8e540.meta +++ b/IronToad_UnityProject/Assets/Sound.meta @@ -1,7 +1,6 @@ fileFormatVersion: 2 -guid: 599e1530282487c46b63fa0f00f5c846 -timeCreated: 1485039717 -licenseType: Pro +guid: 0fbabcae9313543ffbf1429aeac3664d +folderAsset: yes DefaultImporter: userData: assetBundleName: diff --git a/IronToad_UnityProject/Assets/Sound/Music.meta b/IronToad_UnityProject/Assets/Sound/Music.meta new file mode 100644 index 0000000..44ebcac --- /dev/null +++ b/IronToad_UnityProject/Assets/Sound/Music.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: be2c14b0c562c483bbe057367939b479 +folderAsset: yes +timeCreated: 1485052376 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(attack).wav b/IronToad_UnityProject/Assets/Sound/Music/attack.wav similarity index 100% rename from IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(attack).wav rename to IronToad_UnityProject/Assets/Sound/Music/attack.wav diff --git a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(attack).wav.meta b/IronToad_UnityProject/Assets/Sound/Music/attack.wav.meta similarity index 92% rename from IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(attack).wav.meta rename to IronToad_UnityProject/Assets/Sound/Music/attack.wav.meta index b58e257..a556686 100644 --- a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(attack).wav.meta +++ b/IronToad_UnityProject/Assets/Sound/Music/attack.wav.meta @@ -5,11 +5,11 @@ licenseType: Free AudioImporter: serializedVersion: 6 defaultSettings: - loadType: 0 + loadType: 2 sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 diff --git a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(spotted).wav b/IronToad_UnityProject/Assets/Sound/Music/spotted.wav similarity index 100% rename from IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(spotted).wav rename to IronToad_UnityProject/Assets/Sound/Music/spotted.wav diff --git a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(spotted).wav.meta b/IronToad_UnityProject/Assets/Sound/Music/spotted.wav.meta similarity index 92% rename from IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(spotted).wav.meta rename to IronToad_UnityProject/Assets/Sound/Music/spotted.wav.meta index 8a9a1eb..a4aa32b 100644 --- a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(spotted).wav.meta +++ b/IronToad_UnityProject/Assets/Sound/Music/spotted.wav.meta @@ -5,11 +5,11 @@ licenseType: Free AudioImporter: serializedVersion: 6 defaultSettings: - loadType: 0 + loadType: 2 sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 diff --git a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(tense).wav b/IronToad_UnityProject/Assets/Sound/Music/tense.wav similarity index 100% rename from IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(tense).wav rename to IronToad_UnityProject/Assets/Sound/Music/tense.wav diff --git a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(tense).wav.meta b/IronToad_UnityProject/Assets/Sound/Music/tense.wav.meta similarity index 92% rename from IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(tense).wav.meta rename to IronToad_UnityProject/Assets/Sound/Music/tense.wav.meta index 7a09aec..be52b85 100644 --- a/IronToad_UnityProject/Assets/Sound/Music/22-1245ironToad(tense).wav.meta +++ b/IronToad_UnityProject/Assets/Sound/Music/tense.wav.meta @@ -5,11 +5,11 @@ licenseType: Free AudioImporter: serializedVersion: 6 defaultSettings: - loadType: 0 + loadType: 2 sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 diff --git a/IronToad_UnityProject/Assets/Sound/SFX.meta b/IronToad_UnityProject/Assets/Sound/SFX.meta new file mode 100644 index 0000000..2d35fa0 --- /dev/null +++ b/IronToad_UnityProject/Assets/Sound/SFX.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: bb5698073b8d847298f0287fcfbdd0de +folderAsset: yes +timeCreated: 1485052376 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/assassination.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/assassination.wav.meta index efbf86b..d6e8833 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/assassination.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/assassination.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/createWave.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/createWave.wav.meta index ba6ea07..c28f259 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/createWave.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/createWave.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/createWave_2.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/createWave_2.wav.meta index 90bcef1..5e664e8 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/createWave_2.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/createWave_2.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/createWave_3.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/createWave_3.wav.meta index 35d4d69..25a6976 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/createWave_3.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/createWave_3.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/oceanAmbience.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/oceanAmbience.wav.meta index 465f525..3846181 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/oceanAmbience.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/oceanAmbience.wav.meta @@ -5,11 +5,11 @@ licenseType: Free AudioImporter: serializedVersion: 6 defaultSettings: - loadType: 0 + loadType: 2 sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 diff --git a/IronToad_UnityProject/Assets/Sound/SFX/rockWater_1.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/rockWater_1.wav.meta index 9472e49..00b8793 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/rockWater_1.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/rockWater_1.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/rockWater_2.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/rockWater_2.wav.meta index a3e20ce..2d79e6c 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/rockWater_2.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/rockWater_2.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/rockWater_3.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/rockWater_3.wav.meta index 44f4631..79c3a48 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/rockWater_3.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/rockWater_3.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/runAground.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/runAground.wav.meta index 61d8e34..0d018fd 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/runAground.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/runAground.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/shipSpotted.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/shipSpotted.wav.meta index d4ebbdd..15eed3e 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/shipSpotted.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/shipSpotted.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/sinkingShip.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/sinkingShip.wav.meta index 148c11c..e6eafc3 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/sinkingShip.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/sinkingShip.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/Sound/SFX/spottedDialogue.wav.meta b/IronToad_UnityProject/Assets/Sound/SFX/spottedDialogue.wav.meta index cf7471b..fa08255 100644 --- a/IronToad_UnityProject/Assets/Sound/SFX/spottedDialogue.wav.meta +++ b/IronToad_UnityProject/Assets/Sound/SFX/spottedDialogue.wav.meta @@ -9,12 +9,12 @@ AudioImporter: sampleRateSetting: 0 sampleRateOverride: 44100 compressionFormat: 1 - quality: 1 + quality: 0.7 conversionMode: 0 platformSettingOverrides: {} forceToMono: 0 normalize: 1 - preloadAudioData: 1 + preloadAudioData: 0 loadInBackground: 0 3D: 1 userData: diff --git a/IronToad_UnityProject/Assets/_Scenes/LighthouseTestScene.unity b/IronToad_UnityProject/Assets/_Scenes/LighthouseT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