Skip to content

Commit

Permalink
Fix volumn
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyloc committed Jun 7, 2024
1 parent 1773d09 commit d78aa69
Show file tree
Hide file tree
Showing 4 changed files with 440 additions and 8 deletions.
202 changes: 194 additions & 8 deletions Assets/Loc/Prefab/Audio Manager.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ GameObject:
m_Component:
- component: {fileID: 2978509671711603618}
- component: {fileID: 5495405769709614663}
- component: {fileID: 2966074689967338880}
- component: {fileID: 1112578456422245188}
m_Layer: 0
m_Name: Audio Manager
m_TagString: Untagged
Expand Down Expand Up @@ -302,11 +304,195 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 354f8ca72fe42d04884b36618c4d0c3b, type: 3}
m_Name:
m_EditorClassIdentifier:
musicSource: {fileID: 8318840800526401845}
SFXSource: {fileID: 5259319862963913149}
background: {fileID: 8300000, guid: 475f4837af487ce4a9e68bb227455e4c, type: 3}
death: {fileID: 8300000, guid: 80e397195ea2940b69ee7bdbded856a5, type: 3}
checkpoint: {fileID: 8300000, guid: 52320e590bf774734a288886eba557ba, type: 3}
wallTouch: {fileID: 8300000, guid: 2c5292ba5cf254919a6b9e2b18e04f49, type: 3}
portalIn: {fileID: 8300000, guid: 724131bc8a7f34041bb9f1701f0cb58d, type: 3}
portalOut: {fileID: 8300000, guid: a235d590ef2a04d1b85b61ef4c21337c, type: 3}
--- !u!82 &2966074689967338880
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9032506584211680887}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 475f4837af487ce4a9e68bb227455e4c, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Loop: 1
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!82 &1112578456422245188
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9032506584211680887}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 52320e590bf774734a288886eba557ba, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Loop: 0
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
94 changes: 94 additions & 0 deletions Assets/Loc/Scene/Scene 1.unity
Original file line number Diff line number Diff line change
Expand Up @@ -9362,6 +9362,63 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1097308048}
m_CullTransparentMesh: 1
--- !u!1001 &1130846581
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalPosition.x
value: 6.2255096
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalPosition.y
value: -1.27775
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalPosition.z
value: -0.15398659
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9032506584211680887, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_Name
value: Audio Manager
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
--- !u!4 &1172858885 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7224824951639880692, guid: b4953c13c3e30c74a8f2ac0adb79c971, type: 3}
Expand Down Expand Up @@ -14241,6 +14298,42 @@ PrefabInstance:
propertyPath: m_Name
value: camera
objectReference: {fileID: 0}
- target: {fileID: 3684373580635113500, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_LocalPosition.x
value: 12.616486
objectReference: {fileID: 0}
- target: {fileID: 3684373580635113500, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_LocalPosition.y
value: 3.2550318
objectReference: {fileID: 0}
- target: {fileID: 4871361717997099425, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_LocalPosition.x
value: 12.616486
objectReference: {fileID: 0}
- target: {fileID: 4871361717997099425, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_LocalPosition.y
value: 3.2550318
objectReference: {fileID: 0}
- target: {fileID: 5175426722862019718, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: orthographic size
value: 3
objectReference: {fileID: 0}
- target: {fileID: 5730199893002398593, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_LocalPosition.x
value: 12.616486
objectReference: {fileID: 0}
- target: {fileID: 5730199893002398593, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_LocalPosition.y
value: 3.2550318
objectReference: {fileID: 0}
- target: {fileID: 6167272334685107097, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_LocalPosition.x
value: 12.616486
objectReference: {fileID: 0}
- target: {fileID: 6167272334685107097, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_LocalPosition.y
value: 3.2550318
objectReference: {fileID: 0}
- target: {fileID: 6242263464634670252, guid: 21f14055eefb4134b824020a25f5b118, type: 3}
propertyPath: m_BoundingShape2D
value:
Expand Down Expand Up @@ -14439,3 +14532,4 @@ SceneRoots:
- {fileID: 399600359}
- {fileID: 129128331}
- {fileID: 206826654}
- {fileID: 1130846581}
58 changes: 58 additions & 0 deletions Assets/Loc/Scene/Scene 2.unity
Original file line number Diff line number Diff line change
Expand Up @@ -6560,6 +6560,63 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b4953c13c3e30c74a8f2ac0adb79c971, type: 3}
--- !u!1001 &983695563
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalPosition.x
value: 6.2255096
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalPosition.y
value: -1.27775
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalPosition.z
value: -0.15398659
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2978509671711603618, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9032506584211680887, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
propertyPath: m_Name
value: Audio Manager
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b233cf26b1dcf4949b54a5192a03c51a, type: 3}
--- !u!4 &1044111379 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7224824951639880692, guid: b4953c13c3e30c74a8f2ac0adb79c971, type: 3}
Expand Down Expand Up @@ -20226,3 +20283,4 @@ SceneRoots:
- {fileID: 1927942962}
- {fileID: 1583170674}
- {fileID: 807449765}
- {fileID: 983695563}
Loading

0 comments on commit d78aa69

Please sign in to comment.