diff --git a/Assets/Art/MainCharacters/Trafalgar/Normal/EatCookie/CookieEatingTimeline_N.playable b/Assets/Art/MainCharacters/Trafalgar/Normal/EatCookie/CookieEatingTimeline_N.playable index f6cb08ae..c08d3f1e 100644 --- a/Assets/Art/MainCharacters/Trafalgar/Normal/EatCookie/CookieEatingTimeline_N.playable +++ b/Assets/Art/MainCharacters/Trafalgar/Normal/EatCookie/CookieEatingTimeline_N.playable @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 15c38f6fa1940124db1ab7f6fe7268d1, type: 3} m_Name: Signal Emitter m_EditorClassIdentifier: Unity.Timeline::UnityEngine.Timeline.SignalEmitter - m_Time: 6.3 + m_Time: 7.124604166666667 m_Retroactive: 0 m_EmitOnce: 0 m_Asset: {fileID: 11400000, guid: a93981b77464bc348bcdee14088cd322, type: 2} @@ -40,6 +40,23 @@ MonoBehaviour: m_Markers: m_Objects: - {fileID: -9018495397904873737} +--- !u!114 &-4702508517441630998 +MonoBehaviour: + m_ObjectHideFlags: 1 + 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: 4f10dd60657c6004587f237a7e90f8e4, type: 3} + m_Name: AudioPlayableAsset + m_EditorClassIdentifier: Unity.Timeline::UnityEngine.Timeline.AudioPlayableAsset + m_Clip: {fileID: 8300000, guid: fce446f959ee14b4a9b03d657279ebcb, type: 3} + m_Loop: 0 + m_bufferingTime: 0.1 + m_ClipProperties: + volume: 1 --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 @@ -57,12 +74,366 @@ MonoBehaviour: - {fileID: 509216733298267447} - {fileID: -8547476031309807575} - {fileID: 7872897156657723126} + - {fileID: 362317104414040321} m_FixedDuration: 0 m_EditorSettings: m_Framerate: 30 m_ScenePreview: 1 m_DurationMode: 0 m_MarkerTrack: {fileID: 0} +--- !u!114 &37972417601471288 +MonoBehaviour: + m_ObjectHideFlags: 1 + 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: 4f10dd60657c6004587f237a7e90f8e4, type: 3} + m_Name: AudioPlayableAsset + m_EditorClassIdentifier: Unity.Timeline::UnityEngine.Timeline.AudioPlayableAsset + m_Clip: {fileID: 8300000, guid: a0a3fbb3178fbe943a1f039ddbe960a4, type: 3} + m_Loop: 0 + m_bufferingTime: 0.1 + m_ClipProperties: + volume: 1 +--- !u!114 &362317104414040321 +MonoBehaviour: + m_ObjectHideFlags: 1 + 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: 8b22792c3b570444eb18cb78c2af3a74, type: 3} + m_Name: Audio Track + m_EditorClassIdentifier: Unity.Timeline::UnityEngine.Timeline.AudioTrack + m_Version: 3 + m_AnimClip: {fileID: 0} + m_Locked: 0 + m_Muted: 0 + m_CustomPlayableFullTypename: + m_Curves: {fileID: 0} + m_Parent: {fileID: 11400000} + m_Children: [] + m_Clips: + - m_Version: 1 + m_Start: 1.1666666666666667 + m_ClipIn: 0 + m_Asset: {fileID: 37972417601471288} + m_Duration: 0.3137916666666667 + m_TimeScale: 1 + m_ParentTrack: {fileID: 362317104414040321} + m_EaseInDuration: 0 + m_EaseOutDuration: 0 + m_BlendInDuration: -1 + m_BlendOutDuration: -1 + m_MixInCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_MixOutCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_BlendInCurveMode: 0 + m_BlendOutCurveMode: 0 + m_ExposedParameterNames: [] + m_AnimationCurves: {fileID: 0} + m_Recordable: 0 + m_PostExtrapolationMode: 0 + m_PreExtrapolationMode: 0 + m_PostExtrapolationTime: 0 + m_PreExtrapolationTime: 0 + m_DisplayName: traf_factory_chewcookie1 + - m_Version: 1 + m_Start: 2.033333333333333 + m_ClipIn: 0 + m_Asset: {fileID: 8088879766579214714} + m_Duration: 0.2921458333333333 + m_TimeScale: 1 + m_ParentTrack: {fileID: 362317104414040321} + m_EaseInDuration: 0 + m_EaseOutDuration: 0 + m_BlendInDuration: -1 + m_BlendOutDuration: -1 + m_MixInCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_MixOutCurve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_BlendInCurveMode: 0 + m_BlendOutCurveMode: 0 + m_ExposedParameterNames: [] + m_AnimationCurves: {fileID: 0} + m_Recordable: 0 + m_PostExtrapolationMode: 0 + m_PreExtrapolationMode: 0 + m_PostExtrapolationTime: 0 + m_PreExtrapolationTime: 0 + m_DisplayName: traf_factory_chewcookie2 + - m_Version: 1 + m_Start: 3.033333333333333 + m_ClipIn: 0 + m_Asset: {fileID: -4702508517441630998} + m_Duration: 0.34625 + m_TimeScale: 1 + m_ParentTrack: {fileID: 362317104414040321} + m_EaseInDuration: 0 + m_EaseOutDuration: 0 + m_BlendInDuration: -1 + m_BlendOutDuration: -1 + m_MixInCurve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_MixOutCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_BlendInCurveMode: 0 + m_BlendOutCurveMode: 0 + m_ExposedParameterNames: [] + m_AnimationCurves: {fileID: 0} + m_Recordable: 0 + m_PostExtrapolationMode: 0 + m_PreExtrapolationMode: 0 + m_PostExtrapolationTime: 0 + m_PreExtrapolationTime: 0 + m_DisplayName: traf_factory_chewcookie3 + - m_Version: 1 + m_Start: 3.933333333333333 + m_ClipIn: 0 + m_Asset: {fileID: 2392773854331542905} + m_Duration: 0.4328125 + m_TimeScale: 1 + m_ParentTrack: {fileID: 362317104414040321} + m_EaseInDuration: 0 + m_EaseOutDuration: 0 + m_BlendInDuration: -1 + m_BlendOutDuration: -1 + m_MixInCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_MixOutCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_BlendInCurveMode: 0 + m_BlendOutCurveMode: 0 + m_ExposedParameterNames: [] + m_AnimationCurves: {fileID: 0} + m_Recordable: 0 + m_PostExtrapolationMode: 0 + m_PreExtrapolationMode: 0 + m_PostExtrapolationTime: 0 + m_PreExtrapolationTime: 0 + m_DisplayName: traf_factory_chewcookie4 + - m_Version: 1 + m_Start: 4.733333333333333 + m_ClipIn: 0 + m_Asset: {fileID: 778332760970370116} + m_Duration: 2.3912708333333335 + m_TimeScale: 1 + m_ParentTrack: {fileID: 362317104414040321} + m_EaseInDuration: 0 + m_EaseOutDuration: 0 + m_BlendInDuration: -1 + m_BlendOutDuration: -1 + m_MixInCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_MixOutCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_BlendInCurveMode: 0 + m_BlendOutCurveMode: 0 + m_ExposedParameterNames: [] + m_AnimationCurves: {fileID: 0} + m_Recordable: 0 + m_PostExtrapolationMode: 0 + m_PreExtrapolationMode: 0 + m_PostExtrapolationTime: 0 + m_PreExtrapolationTime: 0 + m_DisplayName: traf_factory_spitoutcookie + m_Markers: + m_Objects: [] + m_TrackProperties: + volume: 1 + stereoPan: 0 + spatialBlend: 0 --- !u!114 &509216733298267447 MonoBehaviour: m_ObjectHideFlags: 1 @@ -173,6 +544,40 @@ MonoBehaviour: m_OpenClipOffsetRotation: {x: 0, y: 0, z: 0, w: 1} m_Rotation: {x: 0, y: 0, z: 0, w: 1} m_ApplyOffsets: 0 +--- !u!114 &778332760970370116 +MonoBehaviour: + m_ObjectHideFlags: 1 + 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: 4f10dd60657c6004587f237a7e90f8e4, type: 3} + m_Name: AudioPlayableAsset + m_EditorClassIdentifier: Unity.Timeline::UnityEngine.Timeline.AudioPlayableAsset + m_Clip: {fileID: 8300000, guid: 7ec3233f8e4ada443b4cab4fdfe85108, type: 3} + m_Loop: 0 + m_bufferingTime: 0.1 + m_ClipProperties: + volume: 1 +--- !u!114 &2392773854331542905 +MonoBehaviour: + m_ObjectHideFlags: 1 + 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: 4f10dd60657c6004587f237a7e90f8e4, type: 3} + m_Name: AudioPlayableAsset + m_EditorClassIdentifier: Unity.Timeline::UnityEngine.Timeline.AudioPlayableAsset + m_Clip: {fileID: 8300000, guid: 25f102199518b7d4dbd9c67c9f4bae2b, type: 3} + m_Loop: 0 + m_bufferingTime: 0.1 + m_ClipProperties: + volume: 1 --- !u!114 &4621162860728092524 MonoBehaviour: m_ObjectHideFlags: 1 @@ -232,7 +637,7 @@ MonoBehaviour: m_Start: 0 m_ClipIn: 0 m_Asset: {fileID: 5629759548021528438} - m_Duration: 6.3 + m_Duration: 7.124604166666667 m_TimeScale: 1 m_ParentTrack: {fileID: 7872897156657723126} m_EaseInDuration: 0 @@ -300,3 +705,20 @@ MonoBehaviour: m_Markers: m_Objects: [] m_PostPlaybackState: 3 +--- !u!114 &8088879766579214714 +MonoBehaviour: + m_ObjectHideFlags: 1 + 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: 4f10dd60657c6004587f237a7e90f8e4, type: 3} + m_Name: AudioPlayableAsset + m_EditorClassIdentifier: Unity.Timeline::UnityEngine.Timeline.AudioPlayableAsset + m_Clip: {fileID: 8300000, guid: 0ee393b2411a9284eae64f867aa96f24, type: 3} + m_Loop: 0 + m_bufferingTime: 0.1 + m_ClipProperties: + volume: 1 diff --git a/Assets/Scenes/Levels/CementFactory.unity b/Assets/Scenes/Levels/CementFactory.unity index 36d93146..de9ea507 100644 --- a/Assets/Scenes/Levels/CementFactory.unity +++ b/Assets/Scenes/Levels/CementFactory.unity @@ -2665,6 +2665,124 @@ Transform: m_CorrespondingSourceObject: {fileID: 1343096875615152793, guid: ff5ce55321520324ba6db2066ea13bb8, type: 3} m_PrefabInstance: {fileID: 255114305} m_PrefabAsset: {fileID: 0} +--- !u!1 &263884440 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1633504097008730386, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + m_PrefabInstance: {fileID: 4379605726634850461} + m_PrefabAsset: {fileID: 0} +--- !u!114 &263884444 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 263884440} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 242e6101be071f44fb14c3c12641c833, type: 3} + m_Name: + m_EditorClassIdentifier: AppleHillsScripts::AppleAudioSource + audioSourceType: 3 + audioSource: {fileID: 0} + clipPriority: 0 + sourcePriority: 0 +--- !u!82 &263884445 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 263884440} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_Resource: {fileID: 0} + 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 --- !u!1 &266884557 GameObject: m_ObjectHideFlags: 0 @@ -317582,6 +317700,36 @@ SpriteRenderer: m_SpriteTileMode: 0 m_WasSpriteAssigned: 1 m_SpriteSortPoint: 0 +--- !u!1 &1148527460 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 8730696775677266663, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + m_PrefabInstance: {fileID: 4379605726634850461} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1148527462 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4198811507267703318, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + m_PrefabInstance: {fileID: 4379605726634850461} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1148527460} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 242e6101be071f44fb14c3c12641c833, type: 3} + m_Name: + m_EditorClassIdentifier: AppleHillsScripts::AppleAudioSource +--- !u!114 &1148527464 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1148527460} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4cd7d9f56dc72734b92d39b2331afaf5, type: 3} + m_Name: + m_EditorClassIdentifier: '::' + audioSource: {fileID: 1148527462} + cookieDiscoveredAudio: {fileID: 8300000, guid: 4d7ac525c7309df4f963628f41dd8b8c, type: 3} --- !u!1001 &1154121004 PrefabInstance: m_ObjectHideFlags: 0 @@ -330273,10 +330421,98 @@ PrefabInstance: serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: + - target: {fileID: 1633504097008730386, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1929144154533087108, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.size + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 1929144154533087108, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_Mode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1929144154533087108, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_Target + value: + objectReference: {fileID: 1148527462} + - target: {fileID: 1929144154533087108, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 1929144154533087108, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName + value: Stop + objectReference: {fileID: 0} + - target: {fileID: 1929144154533087108, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName + value: AppleAudioSource, AppleHillsScripts + objectReference: {fileID: 0} + - target: {fileID: 1929144154533087108, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} + - target: {fileID: 2207469316128300641, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: m_Enabled + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2207469316128300641, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: m_InitialState + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2207469316128300641, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: m_SceneBindings.Array.size + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 2207469316128300641, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: m_SceneBindings.Array.data[3].key + value: + objectReference: {fileID: 362317104414040321, guid: 7d839c0fcfce65b42afcb31c65739ac6, type: 2} + - target: {fileID: 2207469316128300641, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: m_SceneBindings.Array.data[3].value + value: + objectReference: {fileID: 263884445} + - target: {fileID: 3227046881050279041, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: m_Size.x + value: 5.81 + objectReference: {fileID: 0} + - target: {fileID: 3227046881050279041, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: m_Size.y + value: 7.58 + objectReference: {fileID: 0} + - target: {fileID: 3631332773280684099, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.size + value: 2 + objectReference: {fileID: 0} - target: {fileID: 3631332773280684099, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} propertyPath: characterArrived.m_PersistentCalls.m_Calls.Array.data[0].m_Target value: objectReference: {fileID: 707715399} + - target: {fileID: 3631332773280684099, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_Mode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3631332773280684099, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_Target + value: + objectReference: {fileID: 1148527464} + - target: {fileID: 3631332773280684099, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 3631332773280684099, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName + value: DiscoverCookie + objectReference: {fileID: 0} + - target: {fileID: 3631332773280684099, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName + value: CookieAudioBehaviour, AppleHillsScripts + objectReference: {fileID: 0} + - target: {fileID: 3631332773280684099, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + propertyPath: interactionComplete.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} - target: {fileID: 4430075211479250192, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} propertyPath: m_Name value: Puzzle_Cookie_KitchenCabinet @@ -330328,7 +330564,16 @@ PrefabInstance: m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] - m_AddedComponents: [] + m_AddedComponents: + - targetCorrespondingSourceObject: {fileID: 1633504097008730386, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + insertIndex: -1 + addedObject: {fileID: 263884445} + - targetCorrespondingSourceObject: {fileID: 1633504097008730386, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + insertIndex: -1 + addedObject: {fileID: 263884444} + - targetCorrespondingSourceObject: {fileID: 8730696775677266663, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} + insertIndex: -1 + addedObject: {fileID: 1148527464} m_SourcePrefab: {fileID: 100100000, guid: fec1899a9a4c86e439f40065a2e37456, type: 3} --- !u!1001 &5177428124333897334 PrefabInstance: diff --git a/Assets/Scripts/StateMachines/CementFactory/CookieAudioBehaviour.cs b/Assets/Scripts/StateMachines/CementFactory/CookieAudioBehaviour.cs new file mode 100644 index 00000000..106db308 --- /dev/null +++ b/Assets/Scripts/StateMachines/CementFactory/CookieAudioBehaviour.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityEngine.Audio; + +public class CookieAudioBehaviour : MonoBehaviour +{ + public AppleAudioSource audioSource; + public AudioResource cookieDiscoveredAudio; + + public void DiscoverCookie() + { + audioSource.audioSource.resource = cookieDiscoveredAudio; + audioSource.Play(0); + } +} diff --git a/Assets/Scripts/StateMachines/CementFactory/CookieAudioBehaviour.cs.meta b/Assets/Scripts/StateMachines/CementFactory/CookieAudioBehaviour.cs.meta new file mode 100644 index 00000000..5cee790b --- /dev/null +++ b/Assets/Scripts/StateMachines/CementFactory/CookieAudioBehaviour.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4cd7d9f56dc72734b92d39b2331afaf5 \ No newline at end of file