Skip to content

Commit

Permalink
add: audio manager
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjae11 committed Dec 18, 2024
1 parent a46a175 commit 6bfd06c
Show file tree
Hide file tree
Showing 23 changed files with 14,150 additions and 167 deletions.
84 changes: 29 additions & 55 deletions Assets/SWPPT3/Prefabs/ManagerObject/BGMManager.prefab
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &9004826887171524396
--- !u!1 &1668920933197848699
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5738853835620020929}
- component: {fileID: -6992532304191015254}
- component: {fileID: 7005309707630517163}
- component: {fileID: 8052317497436327816}
- component: {fileID: 779789520593926237}
- component: {fileID: 7899002356694208638}
- component: {fileID: 2628450506921645462}
- component: {fileID: 8442885966704038397}
- component: {fileID: 786297010456100092}
- component: {fileID: 315591718204123359}
- component: {fileID: 6993244184863104778}
m_Layer: 0
m_Name: BGMManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5738853835620020929
--- !u!4 &2628450506921645462
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9004826887171524396}
m_GameObject: {fileID: 1668920933197848699}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
Expand All @@ -36,40 +35,40 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &-6992532304191015254
--- !u!114 &8442885966704038397
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9004826887171524396}
m_GameObject: {fileID: 1668920933197848699}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 70218b8d03764a0594ff6524590c1df6, type: 3}
m_Name:
m_EditorClassIdentifier:
bgmSource: {fileID: 7005309707630517163}
failSound: {fileID: 8052317497436327816}
successSound: {fileID: 779789520593926237}
bgmLowPassFilter: {fileID: 7899002356694208638}
bgmSource: {fileID: 786297010456100092}
failSound: {fileID: 315591718204123359}
successSound: {fileID: 6993244184863104778}
bgmLowPassFilter: {fileID: 0}
masterMixer: {fileID: 24100000, guid: 6280190b476bd43cabe8b653ca9ded11, type: 2}
bgmMixerGroupName: BGM
--- !u!82 &7005309707630517163
--- !u!82 &786297010456100092
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9004826887171524396}
m_GameObject: {fileID: 1668920933197848699}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 1587688466822251702, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 1
m_audioClip: {fileID: 8300000, guid: dd69f5094c94c524caa27e947585ff73, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Loop: 0
Loop: 1
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Expand Down Expand Up @@ -151,22 +150,22 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!82 &8052317497436327816
--- !u!82 &315591718204123359
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9004826887171524396}
m_GameObject: {fileID: 1668920933197848699}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 1587688466822251702, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 1
m_audioClip: {fileID: 8300000, guid: bead0199fb2cd8d40832fcf68aeefc5f, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Loop: 0
Loop: 1
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Expand Down Expand Up @@ -248,22 +247,22 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!82 &779789520593926237
--- !u!82 &6993244184863104778
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9004826887171524396}
m_GameObject: {fileID: 1668920933197848699}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 1587688466822251702, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 1
m_audioClip: {fileID: 8300000, guid: 6a07dc99e42ef3642b1081beddb5f417, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Loop: 0
Loop: 1
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Expand Down Expand Up @@ -345,28 +344,3 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!169 &7899002356694208638
AudioLowPassFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9004826887171524396}
m_Enabled: 1
serializedVersion: 3
m_LowpassResonanceQ: 1
lowpassLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.22727273
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/ManagerObject/BGMManager.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/Puzzle/Button.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 1689b1b8a5075405f9fcb328f0d532a0, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/Puzzle/Button_Stone.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: d4a7952ebb861462b92df5cdbb5177e0, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/Puzzle/Electric_Wire_Set.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: cd5efdb448fd9564ab502ff906b89b44, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/Puzzle/Magic_Circle.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 61e73f3e692c640eb9f9c7ee724ac862, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/Puzzle/Shield.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 9ae32f8e1a94c486c9929faca77ff03b, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/Puzzle/Vent.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 85e890e800369403ea5af9b10adecb94, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/UI/BasicButton.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 33b6cd7837c7642958dac012307e9086, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/UI/MainMenuButton.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 33b6cd7837c7642958dac012307e9086, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/UI/NextButton.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 33b6cd7837c7642958dac012307e9086, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/UI/OutButton.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 33b6cd7837c7642958dac012307e9086, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/UI/PauseButton.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 33b6cd7837c7642958dac012307e9086, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/UI/RestartButton.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 33b6cd7837c7642958dac012307e9086, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/SWPPT3/Prefabs/UI/ResumeButton.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -1235528271599055872, guid: 6280190b476bd43cabe8b653ca9ded11,
type: 2}
m_audioClip: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 33b6cd7837c7642958dac012307e9086, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Expand Down
77 changes: 77 additions & 0 deletions Assets/SWPPT3/Scenes/Start.unity
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,82 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1044164030
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1956572137}
m_Modifications:
- target: {fileID: 1668920933197848699, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_Name
value: BGMManager
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 0}
m_SourcePrefab: {fileID: 100100000, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2, type: 3}
--- !u!4 &1044164031 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2628450506921645462, guid: 3aa48a9bcac0e4749a7bf9dc103a40c2,
type: 3}
m_PrefabInstance: {fileID: 1044164030}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1432908444
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1005,6 +1081,7 @@ Transform:
- {fileID: 692768423}
- {fileID: 107014579}
- {fileID: 630443866}
- {fileID: 1044164031}
m_Father: {fileID: 0}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
Expand Down
Loading

0 comments on commit 6bfd06c

Please sign in to comment.