Ciro Continisio
4 年前
当前提交
826ef58b
共有 67 个文件被更改,包括 3119 次插入 和 1204 次删除
-
8UOP1_Project/Assets/Scenes/Examples/CutsceneExample.unity
-
7UOP1_Project/Assets/Scenes/Initialization.unity
-
227UOP1_Project/Assets/Scenes/TestingGround.unity
-
2UOP1_Project/Assets/ScriptableObjects/EventChannels/ExitGameEvent_Channel.asset
-
2UOP1_Project/Assets/ScriptableObjects/EventChannels/LoadLocationEvent_Channel.asset
-
2UOP1_Project/Assets/ScriptableObjects/EventChannels/MusicEvent_Channel.asset
-
1UOP1_Project/Assets/ScriptableObjects/StateMachine/Protagonist/States/JumpAscending.asset
-
66UOP1_Project/Assets/Scripts/Audio/AudioData/AudioConfigurationSO.cs
-
67UOP1_Project/Assets/Scripts/Audio/AudioManager.cs
-
4UOP1_Project/Assets/Scripts/Audio/AudioManager.cs.meta
-
24UOP1_Project/Assets/Scripts/Audio/SoundEmitters/SoundEmitter.cs
-
2UOP1_Project/Assets/Scripts/Events/ScriptableObjects/AudioCueEventChannelSO.cs
-
2UOP1_Project/Assets/Scripts/Pool/ComponentPoolSO.cs
-
181UOP1_Project/Assets/Settings/Audio/DefaultAudioMixer.mixer
-
2UOP1_Project/ProjectSettings/EditorBuildSettings.asset
-
5UOP1_Project/Assets/Scripts/Audio/AudioCue.cs
-
8UOP1_Project/Assets/Art/Temp.meta
-
1UOP1_Project/Assets/Audio/Test_SFX/TestSFX_8BitJump.wav
-
22UOP1_Project/Assets/Audio/Test_SFX/TestSFX_8BitJump.wav.meta
-
1001UOP1_Project/Assets/Cutscenes/AudioTests.playable
-
8UOP1_Project/Assets/Cutscenes/AudioTests.playable.meta
-
106UOP1_Project/Assets/Materials/Prototyping_Grey_Dynamic.mat
-
8UOP1_Project/Assets/Materials/Prototyping_Grey_Dynamic.mat.meta
-
1001UOP1_Project/Assets/Scenes/Examples/AudioExample.unity
-
7UOP1_Project/Assets/Scenes/Examples/AudioExample.unity.meta
-
33UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/2DSFX_Config.asset
-
8UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/2DSFX_Config.asset.meta
-
33UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/3DSFX_Config.asset
-
33UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/3DSFX_LowPriority_Config.asset
-
8UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/3DSFX_LowPriority_Config.asset.meta
-
33UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/Music_Config.asset
-
8UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/Music_Config.asset.meta
-
33UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/WackySettings_TestConfig.asset
-
8UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/WackySettings_TestConfig.asset.meta
-
19UOP1_Project/Assets/ScriptableObjects/Audio/AudioCues/Music_8Bit.asset
-
8UOP1_Project/Assets/ScriptableObjects/Audio/AudioCues/Music_8Bit.asset.meta
-
19UOP1_Project/Assets/ScriptableObjects/Audio/AudioCues/Music_Mystery.asset
-
8UOP1_Project/Assets/ScriptableObjects/Audio/AudioCues/Music_Mystery.asset.meta
-
19UOP1_Project/Assets/ScriptableObjects/Audio/AudioCues/SFX_1_ChooChoo.asset
-
8UOP1_Project/Assets/ScriptableObjects/Audio/AudioCues/SFX_1_ChooChoo.asset.meta
-
19UOP1_Project/Assets/ScriptableObjects/Audio/AudioCues/SFX_1_Jump.asset
-
8UOP1_Project/Assets/ScriptableObjects/Audio/AudioCues/SFX_1_Jump.asset.meta
-
8UOP1_Project/Assets/ScriptableObjects/EventChannels/MusicEvent_Channel.asset.meta
-
14UOP1_Project/Assets/ScriptableObjects/EventChannels/SFXEvent_Channel.asset
-
19UOP1_Project/Assets/ScriptableObjects/StateMachine/Protagonist/Actions/PlayJumpSound.asset
-
8UOP1_Project/Assets/ScriptableObjects/StateMachine/Protagonist/Actions/PlayJumpSound.asset.meta
-
31UOP1_Project/Assets/Scripts/Audio/AudioConfigApplier.cs
-
11UOP1_Project/Assets/Scripts/Audio/AudioConfigApplier.cs.meta
-
20UOP1_Project/Assets/Scripts/Audio/AudioCueOnTriggerEnter.cs
-
11UOP1_Project/Assets/Scripts/Audio/AudioCueOnTriggerEnter.cs.meta
-
43UOP1_Project/Assets/Scripts/Characters/StateMachine/Actions/PlayAudioCueActionSO.cs
-
11UOP1_Project/Assets/Scripts/Characters/StateMachine/Actions/PlayAudioCueActionSO.cs.meta
-
29UOP1_Project/Assets/Art/Temp/Gear.FBX
-
97UOP1_Project/Assets/Art/Temp/Gear.FBX.meta
-
912UOP1_Project/Assets/Scenes/Examples/Cutscenes.unity
-
7UOP1_Project/Assets/Scenes/Examples/Cutscenes.unity.meta
-
33UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/DefaultConfiguration.asset
-
0/UOP1_Project/Assets/ScriptableObjects/Audio/AudioConfigurations/3DSFX_Config.asset.meta
-
0/UOP1_Project/Assets/ScriptableObjects/EventChannels/ExitGameEvent_Channel.asset.meta
-
0/UOP1_Project/Assets/ScriptableObjects/EventChannels/LoadLocationEvent_Channel.asset.meta
-
0/UOP1_Project/Assets/ScriptableObjects/EventChannels/SFXEvent_Channel.asset.meta
-
0/UOP1_Project/Assets/ScriptableObjects/EventChannels/ExitGameEvent_Channel.asset
-
0/UOP1_Project/Assets/ScriptableObjects/EventChannels/LoadLocationEvent_Channel.asset
-
0/UOP1_Project/Assets/ScriptableObjects/EventChannels/MusicEvent_Channel.asset
-
0/UOP1_Project/Assets/Scripts/Audio/AudioCue.cs.meta
-
0/UOP1_Project/Assets/Scripts/Audio/AudioCue.cs
227
UOP1_Project/Assets/Scenes/TestingGround.unity
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: b56e04999b773894e893ce36a6d16640 |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
1
UOP1_Project/Assets/Audio/Test_SFX/TestSFX_8BitJump.wav
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: 33cb9369784488445b105a52bb82d7c0 |
|||
AudioImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 6 |
|||
defaultSettings: |
|||
loadType: 0 |
|||
sampleRateSetting: 0 |
|||
sampleRateOverride: 44100 |
|||
compressionFormat: 1 |
|||
quality: 1 |
|||
conversionMode: 0 |
|||
platformSettingOverrides: {} |
|||
forceToMono: 0 |
|||
normalize: 1 |
|||
preloadAudioData: 1 |
|||
loadInBackground: 0 |
|||
ambisonic: 0 |
|||
3D: 1 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
1001
UOP1_Project/Assets/Cutscenes/AudioTests.playable
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: 1c564ed53e12af8479ca7f63b4bc1de7 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &-2298478308057384203 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 11 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
|||
m_Name: |
|||
m_EditorClassIdentifier: |
|||
version: 2 |
|||
--- !u!21 &2100000 |
|||
Material: |
|||
serializedVersion: 6 |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: Prototyping_Grey_Dynamic |
|||
m_Shader: {fileID: -6465566751694194690, guid: bf36778a400a0894b86a1f49c422fa62, |
|||
type: 3} |
|||
m_ShaderKeywords: |
|||
m_LightmapFlags: 4 |
|||
m_EnableInstancingVariants: 0 |
|||
m_DoubleSidedGI: 0 |
|||
m_CustomRenderQueue: -1 |
|||
stringTagMap: {} |
|||
disabledShaderPasses: [] |
|||
m_SavedProperties: |
|||
serializedVersion: 3 |
|||
m_TexEnvs: |
|||
- _BaseMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _BumpMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _EmissionMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MainTex: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MainTexture: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MetallicGlossMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _OcclusionMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _SpecGlossMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _SpecularMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
m_Floats: |
|||
- _AlphaClip: 0 |
|||
- _Blend: 0 |
|||
- _BumpScale: 1 |
|||
- _Cull: 2 |
|||
- _Cutoff: 0.5 |
|||
- _DstBlend: 0 |
|||
- _EnvironmentReflections: 1 |
|||
- _GlossMapScale: 0 |
|||
- _Glossiness: 0 |
|||
- _GlossyReflections: 0 |
|||
- _LightProbeContribution: 3.5 |
|||
- _Metallic: 0 |
|||
- _OcclusionStrength: 1 |
|||
- _OutlineDepthSensitivity: 0.1 |
|||
- _OutlineNormalsSensitivity: 0.5 |
|||
- _OutlineThickness: 3 |
|||
- _QueueOffset: 0 |
|||
- _ReceiveShadows: 1 |
|||
- _Smoothness: 0.5 |
|||
- _SmoothnessTextureChannel: 0 |
|||
- _SpecularHighlights: 1 |
|||
- _SrcBlend: 1 |
|||
- _Surface: 0 |
|||
- _WorkflowMode: 1 |
|||
- _ZWrite: 1 |
|||
m_Colors: |
|||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} |
|||
- _Color: {r: 1, g: 1, b: 1, a: 1} |
|||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
|||
- _MainColor: {r: 0.23584908, g: 0.23584908, b: 0.23584908, a: 1} |
|||
- _Offset: {r: 0, g: 0, b: 0, a: 0} |
|||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} |
|||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 0} |
|||
- _Tiling: {r: 1, g: 1, b: 0, a: 0} |
|
|||
fileFormatVersion: 2 |
|||
guid: 1945f0f61421eb84aa9190ce19ecf9b5 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
1001
UOP1_Project/Assets/Scenes/Examples/AudioExample.unity
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: 6712ca6291bdf614fa618bbe1b60d670 |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b357a35b19afa6e4ca9ed9cc1830f6de, type: 3} |
|||
m_Name: 2DSFX_Config |
|||
m_EditorClassIdentifier: |
|||
OutputAudioMixerGroup: {fileID: 8911742078530553623, guid: 548a7f001ca6d3d4cb67c8edf84f62a3, |
|||
type: 2} |
|||
_priorityLevel: 128 |
|||
Mute: 0 |
|||
Volume: 1 |
|||
Pitch: 1 |
|||
PanStereo: 0 |
|||
ReverbZoneMix: 1 |
|||
SpatialBlend: 1 |
|||
RolloffMode: 0 |
|||
MinDistance: 1 |
|||
MaxDistance: 100 |
|||
Spread: 0 |
|||
DopplerLevel: 0 |
|||
BypassEffects: 0 |
|||
BypassListenerEffects: 0 |
|||
BypassReverbZones: 0 |
|||
IgnoreListenerVolume: 0 |
|||
IgnoreListenerPause: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: 6b42c99763682d64ba019b447d78be04 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b357a35b19afa6e4ca9ed9cc1830f6de, type: 3} |
|||
m_Name: 3DSFX_Config |
|||
m_EditorClassIdentifier: |
|||
OutputAudioMixerGroup: {fileID: -6246855377066869883, guid: 548a7f001ca6d3d4cb67c8edf84f62a3, |
|||
type: 2} |
|||
_priorityLevel: 128 |
|||
Mute: 0 |
|||
Volume: 1 |
|||
Pitch: 1 |
|||
PanStereo: 0 |
|||
ReverbZoneMix: 1 |
|||
SpatialBlend: 1 |
|||
RolloffMode: 0 |
|||
MinDistance: 0.1 |
|||
MaxDistance: 50 |
|||
Spread: 0 |
|||
DopplerLevel: 1 |
|||
BypassEffects: 0 |
|||
BypassListenerEffects: 0 |
|||
BypassReverbZones: 0 |
|||
IgnoreListenerVolume: 0 |
|||
IgnoreListenerPause: 0 |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b357a35b19afa6e4ca9ed9cc1830f6de, type: 3} |
|||
m_Name: 3DSFX_LowPriority_Config |
|||
m_EditorClassIdentifier: |
|||
OutputAudioMixerGroup: {fileID: -6246855377066869883, guid: 548a7f001ca6d3d4cb67c8edf84f62a3, |
|||
type: 2} |
|||
_priorityLevel: 194 |
|||
Mute: 0 |
|||
Volume: 1 |
|||
Pitch: 1 |
|||
PanStereo: 0 |
|||
ReverbZoneMix: 1 |
|||
SpatialBlend: 1 |
|||
RolloffMode: 0 |
|||
MinDistance: 0.1 |
|||
MaxDistance: 50 |
|||
Spread: 0 |
|||
DopplerLevel: 1 |
|||
BypassEffects: 0 |
|||
BypassListenerEffects: 0 |
|||
BypassReverbZones: 0 |
|||
IgnoreListenerVolume: 0 |
|||
IgnoreListenerPause: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: 7be6e0f3d774d014ba9ecd997bb18d32 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b357a35b19afa6e4ca9ed9cc1830f6de, type: 3} |
|||
m_Name: Music_Config |
|||
m_EditorClassIdentifier: |
|||
OutputAudioMixerGroup: {fileID: -2919845427630868010, guid: 548a7f001ca6d3d4cb67c8edf84f62a3, |
|||
type: 2} |
|||
_priorityLevel: 128 |
|||
Mute: 0 |
|||
Volume: 0.091 |
|||
Pitch: 1 |
|||
PanStereo: 0 |
|||
ReverbZoneMix: 1 |
|||
SpatialBlend: 0 |
|||
RolloffMode: 0 |
|||
MinDistance: 1 |
|||
MaxDistance: 100 |
|||
Spread: 0 |
|||
DopplerLevel: 0 |
|||
BypassEffects: 0 |
|||
BypassListenerEffects: 0 |
|||
BypassReverbZones: 0 |
|||
IgnoreListenerVolume: 0 |
|||
IgnoreListenerPause: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: 7dc92129d2e4ae84dabc197b593ba446 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b357a35b19afa6e4ca9ed9cc1830f6de, type: 3} |
|||
m_Name: WackySettings_TestConfig |
|||
m_EditorClassIdentifier: |
|||
OutputAudioMixerGroup: {fileID: 24300002, guid: 548a7f001ca6d3d4cb67c8edf84f62a3, |
|||
type: 2} |
|||
_priorityLevel: 64 |
|||
Mute: 1 |
|||
Volume: 0.802 |
|||
Pitch: -0.34 |
|||
PanStereo: 0.15 |
|||
ReverbZoneMix: 0.904 |
|||
SpatialBlend: 0.911 |
|||
RolloffMode: 1 |
|||
MinDistance: 0.76 |
|||
MaxDistance: 78.5 |
|||
Spread: 34 |
|||
DopplerLevel: 1.48 |
|||
BypassEffects: 1 |
|||
BypassListenerEffects: 1 |
|||
BypassReverbZones: 1 |
|||
IgnoreListenerVolume: 1 |
|||
IgnoreListenerPause: 1 |
|
|||
fileFormatVersion: 2 |
|||
guid: 44cda29e6b59acf43b127c01a06f8ce0 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 08e854ccd8588da4694c3ae040c10c5e, type: 3} |
|||
m_Name: Music_8Bit |
|||
m_EditorClassIdentifier: |
|||
looping: 1 |
|||
_audioClipGroups: |
|||
- sequenceMode: 0 |
|||
audioClips: |
|||
- {fileID: 8300000, guid: 544ed3737343a2e469b9767d2deec067, type: 3} |
|
|||
fileFormatVersion: 2 |
|||
guid: 8581dd3dfa47c5c46b3ddf5a2d6f6e4e |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 08e854ccd8588da4694c3ae040c10c5e, type: 3} |
|||
m_Name: Music_Mystery |
|||
m_EditorClassIdentifier: |
|||
looping: 1 |
|||
_audioClipGroups: |
|||
- sequenceMode: 0 |
|||
audioClips: |
|||
- {fileID: 8300000, guid: 51f3b5733102ff746aec062bd88e2f0c, type: 3} |
|
|||
fileFormatVersion: 2 |
|||
guid: ff2d17bc6a681a04792453d8cf74cef6 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 08e854ccd8588da4694c3ae040c10c5e, type: 3} |
|||
m_Name: SFX_1_ChooChoo |
|||
m_EditorClassIdentifier: |
|||
looping: 1 |
|||
_audioClipGroups: |
|||
- sequenceMode: 2 |
|||
audioClips: |
|||
- {fileID: 8300000, guid: 8b7037330a72ab94693661c7b6688cf6, type: 3} |
|
|||
fileFormatVersion: 2 |
|||
guid: d7171ed4960344645a2399b4eb576b83 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 08e854ccd8588da4694c3ae040c10c5e, type: 3} |
|||
m_Name: SFX_1_Jump |
|||
m_EditorClassIdentifier: |
|||
looping: 0 |
|||
_audioClipGroups: |
|||
- sequenceMode: 2 |
|||
audioClips: |
|||
- {fileID: 8300000, guid: 33cb9369784488445b105a52bb82d7c0, type: 3} |
|
|||
fileFormatVersion: 2 |
|||
guid: 5977d168e99dd5443a497ed77990980f |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 51854f522e1d88442a90b878b27ea839 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 273f9313082320e41a484f6faf242dab, type: 3} |
|||
m_Name: SFXEvent_Channel |
|||
m_EditorClassIdentifier: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 7fe1333f4a744134ebafe667cc9f1e1a, type: 3} |
|||
m_Name: PlayJumpSound |
|||
m_EditorClassIdentifier: |
|||
_audioCue: {fileID: 11400000, guid: 5977d168e99dd5443a497ed77990980f, type: 2} |
|||
_audioCueEventChannel: {fileID: 11400000, guid: c3c796b7c31ad3647a3fbae42e74764e, |
|||
type: 2} |
|||
_audioConfiguration: {fileID: 11400000, guid: 8d4217c8fabf9824490196f34baf326a, |
|||
type: 2} |
|
|||
fileFormatVersion: 2 |
|||
guid: 94c42b885a988bf47a8af6a4887c88c1 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using UnityEngine; |
|||
using System.Collections; |
|||
|
|||
/// <summary>
|
|||
/// Helper component, to quickly apply the settings from an <c>AudioConfigurationSO</c> SO to an <c>AudioSource</c>.
|
|||
/// Useful to add a configuration to the AudioSource that a Timeline is pointing to.
|
|||
/// </summary>
|
|||
[RequireComponent(typeof(AudioSource))] |
|||
public class AudioConfigApplier : MonoBehaviour |
|||
{ |
|||
public AudioConfigurationSO config; |
|||
|
|||
private void OnValidate() |
|||
{ |
|||
ConfigureAudioSource(); |
|||
} |
|||
|
|||
private void Start() |
|||
{ |
|||
ConfigureAudioSource(); |
|||
} |
|||
|
|||
private void ConfigureAudioSource() |
|||
{ |
|||
if (config != null) |
|||
{ |
|||
AudioSource audioSource = GetComponent<AudioSource>(); |
|||
config.ApplyTo(audioSource); |
|||
} |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: a0ab45381459188449faa7927f86f1ec |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using UnityEngine; |
|||
using System.Collections; |
|||
|
|||
namespace Assets.Scripts.Audio |
|||
{ |
|||
/// <summary>
|
|||
/// Class to activate AudioCues when a GameObject (i.e. the Player) enters the trigger Collider on this same GameObject.
|
|||
/// This component is mostly used for testing purposes.
|
|||
/// </summary>
|
|||
[RequireComponent(typeof(AudioCue))] |
|||
public class AudioCueOnTriggerEnter : MonoBehaviour |
|||
{ |
|||
[SerializeField] private string _tagToDetect = "Player"; |
|||
private void OnTriggerEnter(Collider other) |
|||
{ |
|||
if(other.gameObject.CompareTag(_tagToDetect)) |
|||
GetComponent<AudioCue>().PlayAudioCue(); |
|||
} |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 7b03f998d7e0acf44adc20ace87be05c |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UOP1.StateMachine; |
|||
using UOP1.StateMachine.ScriptableObjects; |
|||
|
|||
|
|||
[CreateAssetMenu(menuName = "State Machines/Actions/Play AudioCue")] |
|||
public class PlayAudioCueActionSO : StateActionSO |
|||
{ |
|||
[SerializeField] private AudioCueSO _audioCue = default; |
|||
[SerializeField] private AudioCueEventChannelSO _audioCueEventChannel = default; |
|||
[SerializeField] private AudioConfigurationSO _audioConfiguration = default; |
|||
|
|||
protected override StateAction CreateAction() => new PlayAudioCueAction(_audioCue, _audioCueEventChannel, _audioConfiguration); |
|||
} |
|||
|
|||
public class PlayAudioCueAction : StateAction |
|||
{ |
|||
private AudioCueEventChannelSO _audioCueEventChannel; |
|||
private AudioCueSO _audioCue; |
|||
private Transform _stateMachineTransform; |
|||
private AudioConfigurationSO _audioConfiguration; |
|||
|
|||
public PlayAudioCueAction(AudioCueSO audioCue, AudioCueEventChannelSO audioCueEventChannel, AudioConfigurationSO audioConfiguration) |
|||
{ |
|||
_audioCue = audioCue; |
|||
_audioCueEventChannel = audioCueEventChannel; |
|||
_audioConfiguration = audioConfiguration; |
|||
} |
|||
|
|||
public override void Awake(StateMachine stateMachine) |
|||
{ |
|||
_stateMachineTransform = stateMachine.transform; |
|||
} |
|||
|
|||
public override void OnUpdate() { } |
|||
|
|||
public override void OnStateEnter() |
|||
{ |
|||
_audioCueEventChannel.RaiseEvent(_audioCue, _audioConfiguration, _stateMachineTransform.position); |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 7fe1333f4a744134ebafe667cc9f1e1a |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
Kaydara FBX Binary � � FBXHeaderExtension\ FBXHeaderVersionI� x |
|||
FBXVersionI� � EncryptionTypeI � CreationTimeStamp� VersionI� � YearI� � MonthI DayI ' HourI ? MinuteI2 W SecondI t MillisecondIS � ' |