From ea58978a02116f3e43f558b527fcf7f1aca58a71 Mon Sep 17 00:00:00 2001 From: Himusoka Date: Tue, 24 Apr 2018 03:15:58 +0200 Subject: [PATCH] slide funtionfix --- Assets/Scenes/CodeDEV.unity | 25 +++++++++++++++++++++++++ Assets/Scripts/AudioControl.cs | 2 +- Assets/sound/AudioMixer.mixer | 4 +++- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Assets/Scenes/CodeDEV.unity b/Assets/Scenes/CodeDEV.unity index c9edd5c..30e1a6e 100644 --- a/Assets/Scenes/CodeDEV.unity +++ b/Assets/Scenes/CodeDEV.unity @@ -1502,6 +1502,31 @@ Prefab: propertyPath: m_Color.b value: 0.2233001 objectReference: {fileID: 0} + - target: {fileID: 114516921110256910, guid: 460d856ea4eb14cedb5fecde1fe6d743, + type: 2} + propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 881384373} + - target: {fileID: 114516921110256910, guid: 460d856ea4eb14cedb5fecde1fe6d743, + type: 2} + propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: SetMasterVolume + objectReference: {fileID: 0} + - target: {fileID: 114516921110256910, guid: 460d856ea4eb14cedb5fecde1fe6d743, + type: 2} + propertyPath: m_MinValue + value: -80 + objectReference: {fileID: 0} + - target: {fileID: 114516921110256910, guid: 460d856ea4eb14cedb5fecde1fe6d743, + type: 2} + propertyPath: m_MaxValue + value: 20 + objectReference: {fileID: 0} + - target: {fileID: 114516921110256910, guid: 460d856ea4eb14cedb5fecde1fe6d743, + type: 2} + propertyPath: m_Value + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 460d856ea4eb14cedb5fecde1fe6d743, type: 2} m_IsPrefabParent: 0 diff --git a/Assets/Scripts/AudioControl.cs b/Assets/Scripts/AudioControl.cs index 2f6b31a..4c12230 100644 --- a/Assets/Scripts/AudioControl.cs +++ b/Assets/Scripts/AudioControl.cs @@ -20,7 +20,7 @@ public class AudioControl : MonoBehaviour // Use this for initialization void Start() { - + Debug.Log(mixer.name); maintheme.loop = true; menutheme.loop = true; gameovers.loop = true; diff --git a/Assets/sound/AudioMixer.mixer b/Assets/sound/AudioMixer.mixer index 88bdf4c..11b4d77 100644 --- a/Assets/sound/AudioMixer.mixer +++ b/Assets/sound/AudioMixer.mixer @@ -15,7 +15,9 @@ AudioMixerController: m_SuspendThreshold: -80 m_EnableSuspend: 1 m_UpdateMode: 0 - m_ExposedParameters: [] + m_ExposedParameters: + - guid: 43685e8fb476ee342aecf379591bcac4 + name: masterVolume m_AudioMixerGroupViews: - guids: - d902279d5cca5304381939ffef6d4beb