Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Assets/Scripts/SongManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ public class SongManager : MonoBehaviour {
public AudioSource audio1;
public AudioSource audio2;

float MAX_VOLUME = 1;
float MAX_VOLUME = 0.3f;

private bool checkVolume = false;


// 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;
Expand Down Expand Up @@ -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)
{
Expand Down
23 changes: 11 additions & 12 deletions ProjectSettings/GraphicsSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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