diff --git a/Assets/Scripts/SongManager.cs b/Assets/Scripts/SongManager.cs index f659026..9a7218d 100644 --- a/Assets/Scripts/SongManager.cs +++ b/Assets/Scripts/SongManager.cs @@ -16,7 +16,7 @@ public class SongManager : MonoBehaviour { public AudioSource audio1; public AudioSource audio2; - float MAX_VOLUME = 1; + float MAX_VOLUME = 0.3f; private bool checkVolume = false; @@ -24,8 +24,8 @@ public class SongManager : MonoBehaviour { // Use this for initialization void Start () { - PlayerPrefs.SetFloat("MSTRSlider", 1); - PlayerPrefs.SetFloat("BGSlider", 1); + PlayerPrefs.SetFloat("MSTRSlider", 0.3f); + PlayerPrefs.SetFloat("BGSlider", 0.3f); MAX_VOLUME = SoundSettingCompare("BGSlider"); audio2.volume = 0f; audio1.volume = MAX_VOLUME; @@ -64,7 +64,7 @@ IEnumerator CheckVolumeLevels() MAX_VOLUME = SoundSettingCompare("BGSlider"); if (audio2.isPlaying) { - audio2.volume = MAX_VOLUME; + audio2.volume = MAX_VOLUME ; } else if(audio1.isPlaying) { diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset index 4eed15a..ab4ac83 100644 --- a/ProjectSettings/GraphicsSettings.asset +++ b/ProjectSettings/GraphicsSettings.asset @@ -3,7 +3,7 @@ --- !u!30 &1 GraphicsSettings: m_ObjectHideFlags: 0 - serializedVersion: 9 + serializedVersion: 12 m_Deferred: m_Mode: 1 m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} @@ -36,29 +36,28 @@ GraphicsSettings: - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} m_PreloadedShaders: [] m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} - m_TierSettings_Tier1: - renderingPath: 1 - useCascadedShadowMaps: 0 - m_TierSettings_Tier2: - renderingPath: 1 - useCascadedShadowMaps: 0 - m_TierSettings_Tier3: - renderingPath: 1 - useCascadedShadowMaps: 0 + m_CustomRenderPipeline: {fileID: 0} + m_TransparencySortMode: 0 + m_TransparencySortAxis: {x: 0, y: 0, z: 1} m_DefaultRenderingPath: 1 m_DefaultMobileRenderingPath: 1 m_TierSettings: [] m_LightmapStripping: 0 m_FogStripping: 0 + m_InstancingStripping: 0 m_LightmapKeepPlain: 1 m_LightmapKeepDirCombined: 1 - m_LightmapKeepDirSeparate: 1 m_LightmapKeepDynamicPlain: 1 m_LightmapKeepDynamicDirCombined: 1 - m_LightmapKeepDynamicDirSeparate: 1 + m_LightmapKeepShadowMask: 1 + m_LightmapKeepSubtractive: 1 m_FogKeepLinear: 1 m_FogKeepExp: 1 m_FogKeepExp2: 1 + m_AlbedoSwatchInfos: [] + m_LightsUseLinearIntensity: 0 + m_LightsUseColorTemperature: 0