diff --git a/Assets/Resources/Games/animalAcrobat.prefab b/Assets/Resources/Games/animalAcrobat.prefab index ba356f859..a070cc3e4 100644 --- a/Assets/Resources/Games/animalAcrobat.prefab +++ b/Assets/Resources/Games/animalAcrobat.prefab @@ -84,90 +84,6 @@ SpriteRenderer: m_WasSpriteAssigned: 1 m_MaskInteraction: 0 m_SpriteSortPoint: 0 ---- !u!1 &1656566310696174815 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2862566463406601529} - - component: {fileID: 5888581678473645314} - m_Layer: 0 - m_Name: FireBack - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &2862566463406601529 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1656566310696174815} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0.105, y: 0.77544594, z: -0.72976404} - m_LocalScale: {x: 0.62614006, y: 0.62614006, z: 0.62614} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 6491225738966221083} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!212 &5888581678473645314 -SpriteRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1656566310696174815} - m_Enabled: 1 - m_CastShadows: 0 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 0 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 0 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 3 - m_Sprite: {fileID: -352876532, guid: 462e87ccfd1084f4ab799f329db7c3bf, type: 3} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_FlipX: 0 - m_FlipY: 0 - m_DrawMode: 0 - m_Size: {x: 3.02, y: 2.99} - m_AdaptiveModeThreshold: 0.5 - m_SpriteTileMode: 0 - m_WasSpriteAssigned: 1 - m_MaskInteraction: 0 - m_SpriteSortPoint: 0 --- !u!1 &2076957619233421627 GameObject: m_ObjectHideFlags: 0 @@ -534,7 +450,7 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 5840730152797502065} - m_RootOrder: 5 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &5383238869548644250 SpriteRenderer: @@ -588,61 +504,6 @@ SpriteRenderer: m_WasSpriteAssigned: 1 m_MaskInteraction: 0 m_SpriteSortPoint: 0 ---- !u!1 &5430937415738440206 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6491225738966221083} - - component: {fileID: 7397408571317179620} - m_Layer: 0 - m_Name: FireHoop - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &6491225738966221083 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5430937415738440206} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 7, y: 4.85, z: 1.1265} - m_LocalScale: {x: 1.5436507, y: 1.5436507, z: 1.5436507} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 884797938054514604} - - {fileID: 2862566463406601529} - m_Father: {fileID: 5840730152797502065} - m_RootOrder: 8 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!95 &7397408571317179620 -Animator: - serializedVersion: 5 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5430937415738440206} - m_Enabled: 1 - m_Avatar: {fileID: 0} - m_Controller: {fileID: 9100000, guid: 69abea4ef8fadff4bad1df905dbaa8ab, type: 2} - m_CullingMode: 0 - m_UpdateMode: 0 - m_ApplyRootMotion: 0 - m_LinearVelocityBlending: 0 - m_StabilizeFeet: 0 - m_WarningMessage: - m_HasTransformHierarchy: 1 - m_AllowConstantClipSamplingOptimization: 1 - m_KeepAnimatorStateOnDisable: 0 - m_WriteDefaultValuesOnDisable: 0 --- !u!1 &5719573208726547716 GameObject: m_ObjectHideFlags: 0 @@ -985,7 +846,7 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 5840730152797502065} - m_RootOrder: 6 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &3210442149020197414 SpriteRenderer: @@ -1070,7 +931,7 @@ Transform: m_Children: - {fileID: 8794133928851332470} m_Father: {fileID: 5840730152797502065} - m_RootOrder: 7 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &8577280407175396528 SpriteRenderer: @@ -1154,14 +1015,9 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 2661844662320053337} - - {fileID: 1255668799032437719} - - {fileID: 3889598707938276953} - - {fileID: 8464454851943455006} - - {fileID: 4414543230127360685} - {fileID: 4037202497222682790} - {fileID: 4618914047223908314} - {fileID: 4131922717252530528} - - {fileID: 6491225738966221083} m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1181,351 +1037,15 @@ MonoBehaviour: EligibleHits: [] scheduledInputs: [] firstEnable: 0 ---- !u!1 &9118173636884650442 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 884797938054514604} - - component: {fileID: 5156330089746530007} - m_Layer: 0 - m_Name: FireFront - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &884797938054514604 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9118173636884650442} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0.1279273, y: 0.77544594, z: -0.72976404} - m_LocalScale: {x: 0.62614006, y: 0.62614006, z: 0.62614} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 6491225738966221083} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!212 &5156330089746530007 -SpriteRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9118173636884650442} - m_Enabled: 1 - m_CastShadows: 0 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 0 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 0 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 60 - m_Sprite: {fileID: -789170432, guid: 462e87ccfd1084f4ab799f329db7c3bf, type: 3} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_FlipX: 0 - m_FlipY: 0 - m_DrawMode: 0 - m_Size: {x: 3.02, y: 2.99} - m_AdaptiveModeThreshold: 0.5 - m_SpriteTileMode: 0 - m_WasSpriteAssigned: 1 - m_MaskInteraction: 0 - m_SpriteSortPoint: 0 ---- !u!1001 &2477417332023181993 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 5840730152797502065} - m_Modifications: - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalPosition.x - value: 4.08 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalPosition.y - value: 0.01 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2939598505969617365, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - propertyPath: m_Name - value: 'Giraffe ' - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} ---- !u!4 &3889598707938276953 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1701002327333926128, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} - m_PrefabInstance: {fileID: 2477417332023181993} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &4188648219152544643 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 5840730152797502065} - m_Modifications: - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_RootOrder - value: 4 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalPosition.x - value: 16.72 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalPosition.y - value: 0.03 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1656536018348746482, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - propertyPath: m_Name - value: WhiteMonkey - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} ---- !u!4 &4414543230127360685 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 532140475066366254, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} - m_PrefabInstance: {fileID: 4188648219152544643} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &5068582788322912365 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 5840730152797502065} - m_Modifications: - - target: {fileID: 2616646720197201304, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalRotation.w - value: 0.999962 - objectReference: {fileID: 0} - - target: {fileID: 2616646720197201304, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalRotation.z - value: 0.008726558 - objectReference: {fileID: 0} - - target: {fileID: 2616646720197201304, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 3701238526261399543, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_SpriteSortPoint - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalPosition.x - value: -0.004 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalPosition.y - value: -0.002 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7540716611123628191, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - propertyPath: m_Name - value: Elephant - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: b3040fc162a3d6342971f82026e4335f, type: 3} ---- !u!4 &1255668799032437719 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 6285390310926959546, guid: b3040fc162a3d6342971f82026e4335f, type: 3} - m_PrefabInstance: {fileID: 5068582788322912365} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &6543232482502089069 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 5840730152797502065} - m_Modifications: - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_RootOrder - value: 3 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalPosition.x - value: 11.03 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7969179947406382610, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - propertyPath: m_Name - value: WhiteMonkeys - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} ---- !u!4 &8464454851943455006 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 3439047595127619699, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} - m_PrefabInstance: {fileID: 6543232482502089069} - m_PrefabAsset: {fileID: 0} + elephantRef: {fileID: -5564384145903586768, guid: b3040fc162a3d6342971f82026e4335f, type: 3} + elephantDistance: 10.304 + elephantStart: 0.004 + giraffeRef: {fileID: 5248028064811562821, guid: 72e69b6337a6bc04f86ffcf5bcedab92, type: 3} + giraffeDistance: 0 + giraffeStart: 0 + monkeysRef: {fileID: -3114631264593203074, guid: f52ef60e472be3047bb77f54d5a3229d, type: 3} + monkeysDistance: 0 + monkeysStart: 0 + oneMonkeyRef: {fileID: 7370747047491091311, guid: 0dfca7cb5fedf0d40aa26ffd9b4595ae, type: 3} + oneMonkeyDistance: 0 + oneMonkeyStart: 0 diff --git a/Assets/Resources/Prefabs/Games/AnimalAcrobat/Elephant.prefab b/Assets/Resources/Prefabs/Games/AnimalAcrobat/Elephant.prefab index a8f20a619..807f707b8 100644 --- a/Assets/Resources/Prefabs/Games/AnimalAcrobat/Elephant.prefab +++ b/Assets/Resources/Prefabs/Games/AnimalAcrobat/Elephant.prefab @@ -466,6 +466,7 @@ GameObject: m_Component: - component: {fileID: 6285390310926959546} - component: {fileID: 6198430257364661693} + - component: {fileID: -5564384145903586768} m_Layer: 0 m_Name: Elephant m_TagString: Untagged @@ -513,6 +514,23 @@ Animator: m_AllowConstantClipSamplingOptimization: 1 m_KeepAnimatorStateOnDisable: 0 m_WriteDefaultValuesOnDisable: 0 +--- !u!114 &-5564384145903586768 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7540716611123628191} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2f9ee457016acdc4eb5dbfdc03be0d6f, type: 3} + m_Name: + m_EditorClassIdentifier: + holdLength: 2 + fullRotateAngle: 160 + anim: {fileID: 6198430257364661693} + type: 0 + rotatePivot: {fileID: 2616646720197201304} --- !u!1 &7805847212563886084 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Resources/Prefabs/Games/AnimalAcrobat/FireHoop.prefab b/Assets/Resources/Prefabs/Games/AnimalAcrobat/FireHoop.prefab new file mode 100644 index 000000000..42210af0d --- /dev/null +++ b/Assets/Resources/Prefabs/Games/AnimalAcrobat/FireHoop.prefab @@ -0,0 +1,225 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &881221652386977366 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9148948264794654768} + - component: {fileID: 3836519420147020107} + m_Layer: 0 + m_Name: FireFront + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &9148948264794654768 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 881221652386977366} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.1279273, y: 0.77544594, z: -0.72976404} + m_LocalScale: {x: 0.62614006, y: 0.62614006, z: 0.62614} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2928905027278573191} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &3836519420147020107 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 881221652386977366} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 60 + m_Sprite: {fileID: -789170432, guid: 462e87ccfd1084f4ab799f329db7c3bf, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 3.02, y: 2.99} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &4174388522033640850 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2928905027278573191} + - component: {fileID: 1447950261345950584} + m_Layer: 0 + m_Name: FireHoop + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2928905027278573191 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4174388522033640850} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 7, y: 4.85, z: 1.1265} + m_LocalScale: {x: 1.5436507, y: 1.5436507, z: 1.5436507} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 9148948264794654768} + - {fileID: 6127457322994514597} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!95 &1447950261345950584 +Animator: + serializedVersion: 5 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4174388522033640850} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 69abea4ef8fadff4bad1df905dbaa8ab, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_StabilizeFeet: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorStateOnDisable: 0 + m_WriteDefaultValuesOnDisable: 0 +--- !u!1 &7227633878588132163 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6127457322994514597} + - component: {fileID: 2524418388457177758} + m_Layer: 0 + m_Name: FireBack + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6127457322994514597 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7227633878588132163} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.105, y: 0.77544594, z: -0.72976404} + m_LocalScale: {x: 0.62614006, y: 0.62614006, z: 0.62614} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2928905027278573191} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &2524418388457177758 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7227633878588132163} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 3 + m_Sprite: {fileID: -352876532, guid: 462e87ccfd1084f4ab799f329db7c3bf, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 3.02, y: 2.99} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 diff --git a/Assets/Resources/Prefabs/Games/AnimalAcrobat/FireHoop.prefab.meta b/Assets/Resources/Prefabs/Games/AnimalAcrobat/FireHoop.prefab.meta new file mode 100644 index 000000000..e0db16a5c --- /dev/null +++ b/Assets/Resources/Prefabs/Games/AnimalAcrobat/FireHoop.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b686e40c4f8fe43488d5c4342ad982f0 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Prefabs/Games/AnimalAcrobat/Giraffe.prefab b/Assets/Resources/Prefabs/Games/AnimalAcrobat/Giraffe.prefab index 65a5926f8..6044e10b3 100644 --- a/Assets/Resources/Prefabs/Games/AnimalAcrobat/Giraffe.prefab +++ b/Assets/Resources/Prefabs/Games/AnimalAcrobat/Giraffe.prefab @@ -262,6 +262,7 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 1701002327333926128} + - component: {fileID: 5248028064811562821} m_Layer: 0 m_Name: Giraffe m_TagString: Untagged @@ -283,9 +284,27 @@ Transform: m_Children: - {fileID: 4208995891253938729} - {fileID: 6894944639908941258} + - {fileID: 4901673226720149316} m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &5248028064811562821 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2939598505969617365} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2f9ee457016acdc4eb5dbfdc03be0d6f, type: 3} + m_Name: + m_EditorClassIdentifier: + holdLength: 4 + fullRotateAngle: 120 + anim: {fileID: 7772794942310833959} + type: 1 + rotatePivot: {fileID: 4208995891253938729} --- !u!1 &3911272779464478738 GameObject: m_ObjectHideFlags: 0 @@ -595,3 +614,65 @@ SpriteRenderer: m_WasSpriteAssigned: 1 m_MaskInteraction: 0 m_SpriteSortPoint: 0 +--- !u!1001 &7828296629277553091 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1701002327333926128} + m_Modifications: + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalPosition.x + value: 25.04 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalPosition.y + value: 4.85 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalPosition.z + value: 1.1265 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4174388522033640850, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + propertyPath: m_Name + value: FireHoop + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} +--- !u!4 &4901673226720149316 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2928905027278573191, guid: b686e40c4f8fe43488d5c4342ad982f0, type: 3} + m_PrefabInstance: {fileID: 7828296629277553091} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Resources/Prefabs/Games/AnimalAcrobat/WhiteMonkey.prefab b/Assets/Resources/Prefabs/Games/AnimalAcrobat/WhiteMonkey.prefab index ef989702a..2491562d3 100644 --- a/Assets/Resources/Prefabs/Games/AnimalAcrobat/WhiteMonkey.prefab +++ b/Assets/Resources/Prefabs/Games/AnimalAcrobat/WhiteMonkey.prefab @@ -93,6 +93,7 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 532140475066366254} + - component: {fileID: 7370747047491091311} m_Layer: 0 m_Name: WhiteMonkey m_TagString: Untagged @@ -116,6 +117,23 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &7370747047491091311 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1656536018348746482} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2f9ee457016acdc4eb5dbfdc03be0d6f, type: 3} + m_Name: + m_EditorClassIdentifier: + holdLength: 1 + fullRotateAngle: 120 + anim: {fileID: 0} + type: 3 + rotatePivot: {fileID: 2068126119450832752} --- !u!1 &3823740494665398411 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Resources/Prefabs/Games/AnimalAcrobat/WhiteMonkeys.prefab b/Assets/Resources/Prefabs/Games/AnimalAcrobat/WhiteMonkeys.prefab index b391e224b..26c3d0a5f 100644 --- a/Assets/Resources/Prefabs/Games/AnimalAcrobat/WhiteMonkeys.prefab +++ b/Assets/Resources/Prefabs/Games/AnimalAcrobat/WhiteMonkeys.prefab @@ -1890,6 +1890,7 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 3439047595127619699} + - component: {fileID: -3114631264593203074} m_Layer: 0 m_Name: WhiteMonkeys m_TagString: Untagged @@ -1915,6 +1916,23 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &-3114631264593203074 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7969179947406382610} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2f9ee457016acdc4eb5dbfdc03be0d6f, type: 3} + m_Name: + m_EditorClassIdentifier: + holdLength: 3 + fullRotateAngle: 120 + anim: {fileID: 8483464683545527156} + type: 2 + rotatePivot: {fileID: 3903953954711634507} --- !u!1 &8302616130811808557 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Resources/Sfx/games/animalAcrobat.meta b/Assets/Resources/Sfx/games/animalAcrobat.meta new file mode 100644 index 000000000..11a9de967 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 76c6daf451884d24786291144b13aa1d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/audienceCheer.ogg b/Assets/Resources/Sfx/games/animalAcrobat/audienceCheer.ogg new file mode 100644 index 000000000..04d023134 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/audienceCheer.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/audienceCheer.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/audienceCheer.ogg.meta new file mode 100644 index 000000000..33af16122 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/audienceCheer.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: b1fe51a2f72820f4b99f4fa77ebb93ee +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/beginningLeap.ogg b/Assets/Resources/Sfx/games/animalAcrobat/beginningLeap.ogg new file mode 100644 index 000000000..98cfe1ff1 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/beginningLeap.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/beginningLeap.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/beginningLeap.ogg.meta new file mode 100644 index 000000000..2628b3bc9 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/beginningLeap.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 198f0969e798286468a7832edcc84201 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/cymbal.ogg b/Assets/Resources/Sfx/games/animalAcrobat/cymbal.ogg new file mode 100644 index 000000000..1b5e2a8fe Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/cymbal.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/cymbal.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/cymbal.ogg.meta new file mode 100644 index 000000000..4a151b738 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/cymbal.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: b1c14ff688b4a4b44984038e94cd5e81 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/eek.ogg b/Assets/Resources/Sfx/games/animalAcrobat/eek.ogg new file mode 100644 index 000000000..37414be19 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/eek.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/eek.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/eek.ogg.meta new file mode 100644 index 000000000..fe3478a54 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/eek.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 5f4efa68ecb75f148a224956e98ae430 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/eekUnused.ogg b/Assets/Resources/Sfx/games/animalAcrobat/eekUnused.ogg new file mode 100644 index 000000000..c5b3993bf Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/eekUnused.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/eekUnused.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/eekUnused.ogg.meta new file mode 100644 index 000000000..8abf8e859 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/eekUnused.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 4aef3a4a10dcbe0429443ceca48935ee +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/flip.ogg b/Assets/Resources/Sfx/games/animalAcrobat/flip.ogg new file mode 100644 index 000000000..e15c60554 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/flip.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/flip.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/flip.ogg.meta new file mode 100644 index 000000000..2b3d44beb --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/flip.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 853d788bb0a1fd6428de4d810c731658 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/giraffeRelease.ogg b/Assets/Resources/Sfx/games/animalAcrobat/giraffeRelease.ogg new file mode 100644 index 000000000..4bebf24c3 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/giraffeRelease.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/giraffeRelease.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/giraffeRelease.ogg.meta new file mode 100644 index 000000000..74edf8ea3 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/giraffeRelease.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 0d19ba00d6009924fa2e8a4bf4baae6f +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/giraffeReleaseLoop.ogg b/Assets/Resources/Sfx/games/animalAcrobat/giraffeReleaseLoop.ogg new file mode 100644 index 000000000..0ff9adb52 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/giraffeReleaseLoop.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/giraffeReleaseLoop.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/giraffeReleaseLoop.ogg.meta new file mode 100644 index 000000000..8b70dc7b1 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/giraffeReleaseLoop.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 20d5b59d0250a3b46b71eac99149b460 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/grab.ogg b/Assets/Resources/Sfx/games/animalAcrobat/grab.ogg new file mode 100644 index 000000000..158b2fe98 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/grab.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/grab.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/grab.ogg.meta new file mode 100644 index 000000000..93871946d --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/grab.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 623891bef14a8d84fbde980f0331eb41 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/landing.ogg b/Assets/Resources/Sfx/games/animalAcrobat/landing.ogg new file mode 100644 index 000000000..72206f5a8 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/landing.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/landing.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/landing.ogg.meta new file mode 100644 index 000000000..508c404a9 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/landing.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: b13d3a46f86d4414d848c0dd3b506542 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/poppers.ogg b/Assets/Resources/Sfx/games/animalAcrobat/poppers.ogg new file mode 100644 index 000000000..e9468b620 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/poppers.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/poppers.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/poppers.ogg.meta new file mode 100644 index 000000000..3ed347435 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/poppers.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 0fc56e2a74b63fc4180cc06a92ae2d99 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/release.ogg b/Assets/Resources/Sfx/games/animalAcrobat/release.ogg new file mode 100644 index 000000000..34db3d0b4 Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/release.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/release.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/release.ogg.meta new file mode 100644 index 000000000..2863c6bb0 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/release.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 3f91cc4997fe6554c826e568e09a93e2 +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: diff --git a/Assets/Resources/Sfx/games/animalAcrobat/ringOfFireCymbal.ogg b/Assets/Resources/Sfx/games/animalAcrobat/ringOfFireCymbal.ogg new file mode 100644 index 000000000..f08ef343d Binary files /dev/null and b/Assets/Resources/Sfx/games/animalAcrobat/ringOfFireCymbal.ogg differ diff --git a/Assets/Resources/Sfx/games/animalAcrobat/ringOfFireCymbal.ogg.meta b/Assets/Resources/Sfx/games/animalAcrobat/ringOfFireCymbal.ogg.meta new file mode 100644 index 000000000..5c4cd6281 --- /dev/null +++ b/Assets/Resources/Sfx/games/animalAcrobat/ringOfFireCymbal.ogg.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 734854c137d0ea747b40510d92894ae6 +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: diff --git a/Assets/Resources/Sprites/Games/AnimalAcrobat/Animations/ElephantEar.anim b/Assets/Resources/Sprites/Games/AnimalAcrobat/Animations/ElephantEar.anim index 92abda1a1..9e7ce1e15 100644 --- a/Assets/Resources/Sprites/Games/AnimalAcrobat/Animations/ElephantEar.anim +++ b/Assets/Resources/Sprites/Games/AnimalAcrobat/Animations/ElephantEar.anim @@ -164,7 +164,7 @@ AnimationClip: m_Level: 0 m_CycleOffset: 0 m_HasAdditiveReferencePose: 0 - m_LoopTime: 1 + m_LoopTime: 0 m_LoopBlend: 0 m_LoopBlendOrientation: 0 m_LoopBlendPositionY: 0 diff --git a/Assets/Resources/Sprites/Games/AnimalAcrobat/Animations/GiraffeEar.anim b/Assets/Resources/Sprites/Games/AnimalAcrobat/Animations/GiraffeEar.anim index fcd239876..f40e622d8 100644 --- a/Assets/Resources/Sprites/Games/AnimalAcrobat/Animations/GiraffeEar.anim +++ b/Assets/Resources/Sprites/Games/AnimalAcrobat/Animations/GiraffeEar.anim @@ -196,7 +196,7 @@ AnimationClip: m_Level: 0 m_CycleOffset: 0 m_HasAdditiveReferencePose: 0 - m_LoopTime: 1 + m_LoopTime: 0 m_LoopBlend: 0 m_LoopBlendOrientation: 0 m_LoopBlendPositionY: 0 diff --git a/Assets/Scripts/Games/AnimalAcrobat/AcrobatObstacle.cs b/Assets/Scripts/Games/AnimalAcrobat/AcrobatObstacle.cs new file mode 100644 index 000000000..2413c5261 --- /dev/null +++ b/Assets/Scripts/Games/AnimalAcrobat/AcrobatObstacle.cs @@ -0,0 +1,84 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using HeavenStudio.Util; + +namespace HeavenStudio.Games.Scripts_AnimalAcrobat +{ + public class AcrobatObstacle : MonoBehaviour + { + private enum ObstacleType + { + Elephant, + Giraffe, + Monkeys, + Monkey + } + [Header("Properties")] + [SerializeField] private float holdLength = 2f; + [SerializeField] private float fullRotateAngle = 120f; + [SerializeField] private Animator anim; + [SerializeField] private ObstacleType type; + [SerializeField] private Transform rotatePivot; + private double startBeat = double.MinValue; + private float halfAngle; + private EasingFunction.Function func; + + private void Awake() + { + halfAngle = fullRotateAngle / 2; + func = EasingFunction.GetEasingFunction(EasingFunction.Ease.EaseInOutQuad); + } + + public void Init(double beat, double gameSwitchBeat) + { + startBeat = beat; + MultiSound.Play(new MultiSound.Sound[] + { + new MultiSound.Sound("animalAcrobat/eek", startBeat + holdLength - 2), + new MultiSound.Sound("animalAcrobat/eek", startBeat + holdLength - 1), + }); + if (type is ObstacleType.Elephant or ObstacleType.Giraffe) + { + bool isElephant = type is ObstacleType.Elephant; + BeatAction.New(gameObject, new List() + { + new BeatAction.Action(startBeat + holdLength - 2, delegate + { + anim.DoScaledAnimationAsync(isElephant ? "ElephantEar" : "GiraffeEar", 0.5f); + }), + new BeatAction.Action(startBeat + holdLength - 1, delegate + { + anim.DoScaledAnimationAsync(isElephant ? "ElephantEar" : "GiraffeEar", 0.5f); + }), + }); + } + Update(); + } + + private void Update() + { + var cond = Conductor.instance; + if (startBeat != double.MinValue) + { + SwingUpdate(cond); + } + } + + private void SwingUpdate(Conductor cond) + { + float normalizedSwingBeat = cond.GetPositionFromBeat(startBeat, holdLength); + float negativeOffset = (normalizedSwingBeat < 0) ? -1 : 0; + if ((Mathf.Floor(normalizedSwingBeat) + negativeOffset) % 2 == 0) + { + rotatePivot.localEulerAngles = new Vector3(0, 0, func(-halfAngle, halfAngle, Mathf.Abs(normalizedSwingBeat % 1))); + } + else + { + rotatePivot.localEulerAngles = new Vector3(0, 0, func(halfAngle, -halfAngle, Mathf.Abs(normalizedSwingBeat % 1))); + } + } + } +} + + diff --git a/Assets/Scripts/Games/AnimalAcrobat/AcrobatObstacle.cs.meta b/Assets/Scripts/Games/AnimalAcrobat/AcrobatObstacle.cs.meta new file mode 100644 index 000000000..997be66d0 --- /dev/null +++ b/Assets/Scripts/Games/AnimalAcrobat/AcrobatObstacle.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2f9ee457016acdc4eb5dbfdc03be0d6f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Games/AnimalAcrobat/AnimalAcrobat.cs b/Assets/Scripts/Games/AnimalAcrobat/AnimalAcrobat.cs index a0267eb7a..58421857d 100644 --- a/Assets/Scripts/Games/AnimalAcrobat/AnimalAcrobat.cs +++ b/Assets/Scripts/Games/AnimalAcrobat/AnimalAcrobat.cs @@ -2,6 +2,8 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; using HeavenStudio.Util; +using HeavenStudio.Games.Scripts_AnimalAcrobat; +using Jukebox; namespace HeavenStudio.Games.Loaders { @@ -12,7 +14,26 @@ namespace HeavenStudio.Games.Loaders { return new Minigame("animalAcrobat", "Animal Acrobat", "FFFFFF", false, false, new List() { - + new GameAction("elephant", "Elephant") + { + defaultLength = 4 + }, + new GameAction("giraffe", "Giraffe") + { + defaultLength = 8 + }, + new GameAction("monkeys", "Monkeys") + { + defaultLength = 8 + }, + new GameAction("monkeyLong", "Monkey Line Standalone") + { + defaultLength = 5 + }, + new GameAction("monkeyShort", "Monkey Standalone") + { + defaultLength = 3 + } }); } } @@ -22,12 +43,101 @@ namespace HeavenStudio.Games { public class AnimalAcrobat : Minigame { + [Header("Elephant")] + [SerializeField] private AcrobatObstacle elephantRef; + [SerializeField] private float elephantDistance; + [SerializeField] private float elephantStart = 0.004f; + [Header("Giraffe")] + [SerializeField] private AcrobatObstacle giraffeRef; + [SerializeField] private float giraffeDistance; + [SerializeField] private float giraffeStart; + [Header("Monkeys")] + [SerializeField] private AcrobatObstacle monkeysRef; + [SerializeField] private float monkeysDistance; + [SerializeField] private float monkeysStart; + [Header("One Monkey")] + [SerializeField] private AcrobatObstacle oneMonkeyRef; + [SerializeField] private float oneMonkeyDistance; + [SerializeField] private float oneMonkeyStart; + public static AnimalAcrobat instance; private void Awake() { instance = this; } + + public override void OnPlay(double beat) + { + SpawnAnimals(beat); + } + + public override void OnGameSwitch(double beat) + { + SpawnAnimals(beat); + } + + private void SpawnAnimals(double gameSwitchBeat) + { + var animalEvents = EventCaller.GetAllInGameManagerList("animalAcrobat", new string[] { "elephant", "giraffe", "monkeys", "monkeyLong", "monkeyShort"}); + if (animalEvents.Count == 0) return; + animalEvents.Sort((x, y) => x.beat.CompareTo(y.beat)); + double nextBeat = animalEvents[0].beat; + float startPos = animalEvents[0].datamodel switch + { + "animalAcrobat/elephant" => elephantStart - elephantDistance, + "animalAcrobat/giraffe" => giraffeStart - giraffeDistance, + "animalAcrobat/monkeys" => monkeysStart - monkeysDistance, + "animalAcrobat/monkeyLong" => monkeysStart - monkeysDistance, + "animalAcrobat/monkeyShort" => oneMonkeyStart - oneMonkeyDistance, + _ => throw new System.NotImplementedException() + }; + foreach (var animal in animalEvents) + { + if (animal.beat == nextBeat) + { + nextBeat += animal.length; + switch (animal.datamodel) + { + case "animalAcrobat/elephant": + startPos += elephantDistance; + AcrobatObstacle spawnedElephant = Instantiate(elephantRef, transform); + spawnedElephant.transform.position = new Vector3(startPos, 0, 0); + spawnedElephant.Init(animal.beat, gameSwitchBeat); + break; + case "animalAcrobat/giraffe": + startPos += giraffeDistance; + AcrobatObstacle spawnedGiraffe = Instantiate(giraffeRef, transform); + spawnedGiraffe.transform.position = new Vector3(startPos, 0, 0); + spawnedGiraffe.Init(animal.beat, gameSwitchBeat); + break; + case "animalAcrobat/monkeys": + startPos += monkeysDistance; + AcrobatObstacle spawnedMonkeyLong = Instantiate(monkeysRef, transform); + spawnedMonkeyLong.transform.position = new Vector3(startPos, 0, 0); + spawnedMonkeyLong.Init(animal.beat, gameSwitchBeat); + startPos += oneMonkeyDistance; + AcrobatObstacle spawnedOneMonkeyS = Instantiate(oneMonkeyRef, transform); + spawnedOneMonkeyS.transform.position = new Vector3(startPos, 0, 0); + spawnedOneMonkeyS.Init(animal.beat, gameSwitchBeat); + break; + case "animalAcrobat/monkeyLong": + startPos += monkeysDistance; + AcrobatObstacle spawnedMonkeys = Instantiate(monkeysRef, transform); + spawnedMonkeys.transform.position = new Vector3(startPos, 0, 0); + spawnedMonkeys.Init(animal.beat, gameSwitchBeat); + break; + case "animalAcrobat/monkeyShort": + startPos += oneMonkeyDistance; + AcrobatObstacle spawnedOneMonkey = Instantiate(oneMonkeyRef, transform); + spawnedOneMonkey.transform.position = new Vector3(startPos, 0, 0); + spawnedOneMonkey.Init(animal.beat, gameSwitchBeat); + break; + default: break; + } + } + } + } } }