From 2324ef1588d6cd06cd2842180f2cea93bb6b6ab9 Mon Sep 17 00:00:00 2001 From: ev <85412919+evdial@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:06:39 -0400 Subject: [PATCH] attack fix --- Assets/Resources/Games/shootEmUp.prefab | 2 +- .../ShootEmUp/Animations/enemyAttack.anim | 82 ++++++++++++++++++- 2 files changed, 82 insertions(+), 2 deletions(-) diff --git a/Assets/Resources/Games/shootEmUp.prefab b/Assets/Resources/Games/shootEmUp.prefab index 53ccc05d5..207eba90c 100644 --- a/Assets/Resources/Games/shootEmUp.prefab +++ b/Assets/Resources/Games/shootEmUp.prefab @@ -5087,7 +5087,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &2865458385928011202 Transform: m_ObjectHideFlags: 0 diff --git a/Assets/Resources/Sprites/Games/ShootEmUp/Animations/enemyAttack.anim b/Assets/Resources/Sprites/Games/ShootEmUp/Animations/enemyAttack.anim index 679fae8f2..a10a1fa8c 100644 --- a/Assets/Resources/Sprites/Games/ShootEmUp/Animations/enemyAttack.anim +++ b/Assets/Resources/Sprites/Games/ShootEmUp/Animations/enemyAttack.anim @@ -151,7 +151,23 @@ AnimationClip: m_PostInfinity: 2 m_RotationOrder: 4 path: sprite/impact - m_ScaleCurves: [] + m_ScaleCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: 1.9800001, y: 1.9800001, z: 1.9800001} + inSlope: {x: Infinity, y: 0, z: 0} + outSlope: {x: Infinity, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0, y: 0.33333334, z: 0.33333334} + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: sprite m_FloatCurves: - curve: serializedVersion: 2 @@ -413,6 +429,13 @@ AnimationClip: typeID: 4 customType: 0 isPPtrCurve: 0 + - serializedVersion: 2 + path: 891129758 + attribute: 3 + script: {fileID: 0} + typeID: 4 + customType: 0 + isPPtrCurve: 0 - serializedVersion: 2 path: 891129758 attribute: 1140649264 @@ -1159,6 +1182,63 @@ AnimationClip: path: sprite/impact classID: 4 script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1.9800001 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalScale.x + path: sprite + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1.9800001 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalScale.y + path: sprite + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1.9800001 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalScale.z + path: sprite + classID: 4 + script: {fileID: 0} m_EulerEditorCurves: [] m_HasGenericRootTransform: 0 m_HasMotionFloatCurves: 0