From b28dd6626c6f51a5bd722b0637ac41f98861d222 Mon Sep 17 00:00:00 2001 From: Pasha Date: Thu, 22 Jan 2026 18:11:29 +0000 Subject: [PATCH] Added blocking animation --- Assets/Prefabs/PlayerReplayer.prefab | 124 +++++++++++- Assets/Scripts/PlayerController.cs | 19 +- Assets/Scripts/PlayerFrameDump.cs | 188 +++++++++---------- Assets/Tmp/Character/Character_V002.fbx.meta | 6 +- 4 files changed, 227 insertions(+), 110 deletions(-) diff --git a/Assets/Prefabs/PlayerReplayer.prefab b/Assets/Prefabs/PlayerReplayer.prefab index 4f0dc8a..de1c1df 100644 --- a/Assets/Prefabs/PlayerReplayer.prefab +++ b/Assets/Prefabs/PlayerReplayer.prefab @@ -101,6 +101,7 @@ Transform: - {fileID: 5020301824866751461} - {fileID: 8852994287323472227} - {fileID: 8969276565425859046} + - {fileID: 2906680558879758316} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1013965729963872153 @@ -123,7 +124,8 @@ MonoBehaviour: DeathIndices: be000000f8000000eb0100005a0200008f020000 ExternalCamera: {fileID: 0} FrontLayerImage: {fileID: 0} - PlayerAnimator: {fileID: 7092592538514510748} + StillObject: {fileID: 2530260195553021270} + MovingObject: {fileID: 2870226596601462640} --- !u!20 &7220179918976106526 Camera: m_ObjectHideFlags: 0 @@ -437,6 +439,11 @@ PrefabInstance: propertyPath: m_Name value: Character objectReference: {fileID: 0} + - target: {fileID: 371116989439902891, guid: 16ff033aae936014092803accad2be58, + type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} - target: {fileID: 6812304174526681661, guid: 16ff033aae936014092803accad2be58, type: 3} propertyPath: m_LocalScale.x @@ -460,12 +467,12 @@ PrefabInstance: - target: {fileID: 6812304174526681661, guid: 16ff033aae936014092803accad2be58, type: 3} propertyPath: m_LocalPosition.y - value: -0.804 + value: -0.8 objectReference: {fileID: 0} - target: {fileID: 6812304174526681661, guid: 16ff033aae936014092803accad2be58, type: 3} propertyPath: m_LocalPosition.z - value: -0.016 + value: 0 objectReference: {fileID: 0} - target: {fileID: 6812304174526681661, guid: 16ff033aae936014092803accad2be58, type: 3} @@ -508,13 +515,122 @@ PrefabInstance: value: 1 objectReference: {fileID: 0} m_RemovedComponents: [] - m_RemovedGameObjects: [] + m_RemovedGameObjects: + - {fileID: 3700374945101385335, guid: 16ff033aae936014092803accad2be58, type: 3} m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 16ff033aae936014092803accad2be58, type: 3} +--- !u!1 &2870226596601462640 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 371116989439902891, guid: 16ff033aae936014092803accad2be58, + type: 3} + m_PrefabInstance: {fileID: 2518478724410866651} + m_PrefabAsset: {fileID: 0} --- !u!4 &8969276565425859046 stripped Transform: m_CorrespondingSourceObject: {fileID: 6812304174526681661, guid: 16ff033aae936014092803accad2be58, type: 3} m_PrefabInstance: {fileID: 2518478724410866651} m_PrefabAsset: {fileID: 0} +--- !u!1001 &3448670911533854727 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 1807660236798938897} + m_Modifications: + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalScale.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalScale.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalScale.z + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.8 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_ConstrainProportionsScale + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 919132149155446097, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + propertyPath: m_Name + value: Character_V002 + objectReference: {fileID: 0} + m_RemovedComponents: + - {fileID: 5866666021909216657, guid: a5e9b155d3591d148a80b7c45f032f9f, type: 3} + m_RemovedGameObjects: + - {fileID: 65702495048144492, guid: a5e9b155d3591d148a80b7c45f032f9f, type: 3} + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a5e9b155d3591d148a80b7c45f032f9f, type: 3} +--- !u!1 &2530260195553021270 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + m_PrefabInstance: {fileID: 3448670911533854727} + m_PrefabAsset: {fileID: 0} +--- !u!4 &2906680558879758316 stripped +Transform: + m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: a5e9b155d3591d148a80b7c45f032f9f, + type: 3} + m_PrefabInstance: {fileID: 3448670911533854727} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 75687a4..c41d693 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -17,7 +17,8 @@ namespace InterfaceOff.WorldScene [SerializeField] private int[] DeathIndices; [SerializeField] private ExternalCamera ExternalCamera; [SerializeField] private Image FrontLayerImage; - [SerializeField] private Animator PlayerAnimator; + [SerializeField] private GameObject StillObject; + [SerializeField] private GameObject MovingObject; private const int MAX_WINDOWS = 20; @@ -30,6 +31,12 @@ namespace InterfaceOff.WorldScene Frames = JsonUtility.FromJson(PlayerFrameDump.DUMPED_STRING).FrameInfo; } + private void SetAnimationState(bool active) + { + StillObject.SetActive(active); + MovingObject.SetActive(!active); + } + private void FixedUpdate() { if (PlayerAlive) @@ -47,8 +54,6 @@ namespace InterfaceOff.WorldScene private void Update() { - PlayerAnimator.Play("Block"); - if (PlayerAlive) { /* Updates the position according to the lerp */ @@ -62,12 +67,8 @@ namespace InterfaceOff.WorldScene Vector2 rotation = Vector2.Lerp(frameA.Rotation, frameB.Rotation, LerpValue); transform.rotation = Quaternion.Euler(rotation.x, rotation.y, 0); - /* Updates the gun state */ - BulletTracerRenderer.positionCount = 2; - BulletTracerRenderer.SetPosition(index: 0, BulletTracerStart.position); - BulletTracerRenderer.SetPosition(index: 1, BulletTracerEnd.position); - - BulletTracerRenderer.enabled = Frames[FrameIndex].ShootGun; + /* Updates the blocking state */ + SetAnimationState(!Frames[FrameIndex].ShootGun); } } diff --git a/Assets/Scripts/PlayerFrameDump.cs b/Assets/Scripts/PlayerFrameDump.cs index e9fee6d..ff33274 100644 --- a/Assets/Scripts/PlayerFrameDump.cs +++ b/Assets/Scripts/PlayerFrameDump.cs @@ -92,7 +92,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 437 }, { @@ -105,7 +105,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 438 }, { @@ -118,7 +118,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 439 }, { @@ -131,7 +131,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 440 }, { @@ -144,7 +144,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 441 }, { @@ -157,7 +157,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 442 }, { @@ -170,7 +170,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 443 }, { @@ -183,7 +183,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 444 }, { @@ -196,7 +196,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 445 }, { @@ -209,7 +209,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 446 }, { @@ -222,7 +222,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 447 }, { @@ -235,7 +235,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 448 }, { @@ -248,7 +248,7 @@ ""x"" : 0.21100156009197236, ""y"" : 89.9379653930664 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 449 }, { @@ -1873,7 +1873,7 @@ ""x"" : -0.6288225650787354, ""y"" : 5.753941535949707 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 574 }, { @@ -1886,7 +1886,7 @@ ""x"" : -0.7871460914611816, ""y"" : 6.240077972412109 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 575 }, { @@ -1899,7 +1899,7 @@ ""x"" : -0.9094575643539429, ""y"" : 6.501068592071533 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 576 }, { @@ -1912,7 +1912,7 @@ ""x"" : -0.9094575643539429, ""y"" : 6.526178359985352 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 577 }, { @@ -2185,7 +2185,7 @@ ""x"" : -0.5136780738830566, ""y"" : 0.526685893535614 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 598 }, { @@ -2198,7 +2198,7 @@ ""x"" : -0.5586405992507935, ""y"" : 0.5049194097518921 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 599 }, { @@ -2211,7 +2211,7 @@ ""x"" : -0.5838360786437988, ""y"" : 0.38488340377807619 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 600 }, { @@ -2224,7 +2224,7 @@ ""x"" : -0.5838360786437988, ""y"" : 0.3405914306640625 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 601 }, { @@ -2237,7 +2237,7 @@ ""x"" : -0.5838360786437988, ""y"" : 0.3405914306640625 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 602 }, { @@ -2289,7 +2289,7 @@ ""x"" : -0.3111090362071991, ""y"" : 1.745255947113037 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 606 }, { @@ -2302,7 +2302,7 @@ ""x"" : -0.3111090362071991, ""y"" : 2.454737663269043 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 607 }, { @@ -2315,7 +2315,7 @@ ""x"" : -0.3111090362071991, ""y"" : 2.592391014099121 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 608 }, { @@ -2328,7 +2328,7 @@ ""x"" : -0.3111090362071991, ""y"" : 2.614466428756714 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 609 }, { @@ -2341,7 +2341,7 @@ ""x"" : -0.3111090362071991, ""y"" : 2.614466428756714 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 610 }, { @@ -2406,7 +2406,7 @@ ""x"" : -0.3111090362071991, ""y"" : 2.135327100753784 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 615 }, { @@ -2419,7 +2419,7 @@ ""x"" : -0.3111090362071991, ""y"" : 1.649808645248413 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 616 }, { @@ -2432,7 +2432,7 @@ ""x"" : -0.34288352727890017, ""y"" : 0.7196466326713562 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 617 }, { @@ -2445,7 +2445,7 @@ ""x"" : -0.3724920153617859, ""y"" : 0.014619598165154457 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 618 }, { @@ -2458,7 +2458,7 @@ ""x"" : -0.3724920153617859, ""y"" : -0.3290514051914215 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 619 }, { @@ -3160,7 +3160,7 @@ ""x"" : -0.04116436094045639, ""y"" : -31.892066955566408 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 673 }, { @@ -3173,7 +3173,7 @@ ""x"" : -0.3491894006729126, ""y"" : -33.98923873901367 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 674 }, { @@ -3186,7 +3186,7 @@ ""x"" : -0.41271141171455386, ""y"" : -35.54460525512695 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 675 }, { @@ -3199,7 +3199,7 @@ ""x"" : -0.3874303996562958, ""y"" : -36.79218292236328 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 676 }, { @@ -3277,7 +3277,7 @@ ""x"" : -0.18340490758419038, ""y"" : -40.08409881591797 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 682 }, { @@ -3290,7 +3290,7 @@ ""x"" : -0.13059741258621217, ""y"" : -40.136905670166019 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 683 }, { @@ -3303,7 +3303,7 @@ ""x"" : -0.13059741258621217, ""y"" : -40.07571792602539 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 684 }, { @@ -3316,7 +3316,7 @@ ""x"" : -0.13059741258621217, ""y"" : -40.07571792602539 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 685 }, { @@ -3381,7 +3381,7 @@ ""x"" : -0.05906540900468826, ""y"" : -41.755584716796878 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 690 }, { @@ -3394,7 +3394,7 @@ ""x"" : -0.03560391068458557, ""y"" : -42.79477310180664 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 691 }, { @@ -3407,7 +3407,7 @@ ""x"" : -0.17283141613006593, ""y"" : -44.48176574707031 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 692 }, { @@ -3420,7 +3420,7 @@ ""x"" : -0.19413591921329499, ""y"" : -45.59421157836914 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 693 }, { @@ -3433,7 +3433,7 @@ ""x"" : -0.08323491364717484, ""y"" : -46.4254150390625 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 694 }, { @@ -3498,7 +3498,7 @@ ""x"" : 0.32651862502098086, ""y"" : -44.678001403808597 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 699 }, { @@ -3511,7 +3511,7 @@ ""x"" : 0.37488460540771487, ""y"" : -43.69071578979492 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 700 }, { @@ -3524,7 +3524,7 @@ ""x"" : 0.4583776295185089, ""y"" : -42.40319061279297 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 701 }, { @@ -3537,7 +3537,7 @@ ""x"" : 0.5929815769195557, ""y"" : -40.150733947753909 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 702 }, { @@ -3550,7 +3550,7 @@ ""x"" : 0.6847980618476868, ""y"" : -38.873226165771487 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 703 }, { @@ -5240,7 +5240,7 @@ ""x"" : 0.96249920129776, ""y"" : -25.408294677734376 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 833 }, { @@ -5253,7 +5253,7 @@ ""x"" : 0.96249920129776, ""y"" : -25.408294677734376 }, - ""ShootGun"" : true, + ""ShootGun"" : false, ""FrameIndex"" : 834 }, { @@ -6150,7 +6150,7 @@ ""x"" : -2.1917505264282228, ""y"" : -59.53367233276367 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 903 }, { @@ -6163,7 +6163,7 @@ ""x"" : -2.4064934253692629, ""y"" : -60.78291702270508 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 904 }, { @@ -6176,7 +6176,7 @@ ""x"" : -2.5277445316314699, ""y"" : -61.670780181884769 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 905 }, { @@ -6254,7 +6254,7 @@ ""x"" : -2.4084854125976564, ""y"" : -61.890079498291019 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 911 }, { @@ -6267,7 +6267,7 @@ ""x"" : -2.365184783935547, ""y"" : -61.55440902709961 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 912 }, { @@ -6280,7 +6280,7 @@ ""x"" : -2.2948901653289797, ""y"" : -60.7474365234375 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 913 }, { @@ -6293,7 +6293,7 @@ ""x"" : -2.3158257007598879, ""y"" : -60.36709976196289 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 914 }, { @@ -6358,7 +6358,7 @@ ""x"" : -1.6296565532684327, ""y"" : -57.40775680541992 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 919 }, { @@ -6371,7 +6371,7 @@ ""x"" : -1.6842910051345826, ""y"" : -57.146453857421878 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 920 }, { @@ -6384,7 +6384,7 @@ ""x"" : -1.6842910051345826, ""y"" : -57.146453857421878 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 921 }, { @@ -6397,7 +6397,7 @@ ""x"" : -1.6842910051345826, ""y"" : -57.146453857421878 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 922 }, { @@ -6462,7 +6462,7 @@ ""x"" : -1.6324524879455567, ""y"" : -56.25873947143555 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 927 }, { @@ -6475,7 +6475,7 @@ ""x"" : -1.6324524879455567, ""y"" : -56.25873947143555 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 928 }, { @@ -6488,7 +6488,7 @@ ""x"" : -1.6324524879455567, ""y"" : -56.23888397216797 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 929 }, { @@ -6501,7 +6501,7 @@ ""x"" : -1.6324524879455567, ""y"" : -56.108585357666019 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 930 }, { @@ -6566,7 +6566,7 @@ ""x"" : -1.4238775968551636, ""y"" : -54.728858947753909 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 935 }, { @@ -6579,7 +6579,7 @@ ""x"" : -1.3269506692886353, ""y"" : -53.97970962524414 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 936 }, { @@ -6592,7 +6592,7 @@ ""x"" : -1.2172480821609498, ""y"" : -53.3502082824707 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 937 }, { @@ -6605,7 +6605,7 @@ ""x"" : -1.1686991453170777, ""y"" : -53.01140594482422 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 938 }, { @@ -7437,7 +7437,7 @@ ""x"" : 2.6339519023895265, ""y"" : 30.735763549804689 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1002 }, { @@ -7450,7 +7450,7 @@ ""x"" : 2.4986250400543215, ""y"" : 32.93830490112305 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1003 }, { @@ -7463,7 +7463,7 @@ ""x"" : 2.3798296451568605, ""y"" : 34.08808517456055 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1004 }, { @@ -7476,7 +7476,7 @@ ""x"" : 2.3314967155456545, ""y"" : 34.89762496948242 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1005 }, { @@ -7554,7 +7554,7 @@ ""x"" : 2.433682441711426, ""y"" : 37.37374496459961 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1011 }, { @@ -7567,7 +7567,7 @@ ""x"" : 2.433682441711426, ""y"" : 37.46458053588867 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1012 }, { @@ -7580,7 +7580,7 @@ ""x"" : 2.433682441711426, ""y"" : 37.854942321777347 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1013 }, { @@ -7593,7 +7593,7 @@ ""x"" : 2.433682441711426, ""y"" : 38.66621780395508 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1014 }, { @@ -7697,7 +7697,7 @@ ""x"" : 2.6750471591949465, ""y"" : 42.21742248535156 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1022 }, { @@ -7710,7 +7710,7 @@ ""x"" : 2.6750471591949465, ""y"" : 42.083770751953128 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1023 }, { @@ -7723,7 +7723,7 @@ ""x"" : 2.6750471591949465, ""y"" : 42.083770751953128 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1024 }, { @@ -8347,7 +8347,7 @@ ""x"" : -0.5243663191795349, ""y"" : -19.416725158691408 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1072 }, { @@ -8360,7 +8360,7 @@ ""x"" : -0.5243663191795349, ""y"" : -19.416725158691408 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1073 }, { @@ -8373,7 +8373,7 @@ ""x"" : -0.5460352897644043, ""y"" : -19.39604377746582 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1074 }, { @@ -8386,7 +8386,7 @@ ""x"" : -0.5669257640838623, ""y"" : -19.328563690185548 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1075 }, { @@ -8451,7 +8451,7 @@ ""x"" : -0.5669257640838623, ""y"" : -19.21514892578125 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1080 }, { @@ -8464,7 +8464,7 @@ ""x"" : -0.5669257640838623, ""y"" : -18.754121780395509 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1081 }, { @@ -8477,7 +8477,7 @@ ""x"" : -0.5878177881240845, ""y"" : -18.353261947631837 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1082 }, { @@ -8490,7 +8490,7 @@ ""x"" : -0.5878177881240845, ""y"" : -18.32958221435547 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1083 }, { @@ -8503,7 +8503,7 @@ ""x"" : -0.6101753115653992, ""y"" : -18.32958221435547 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1084 }, { @@ -8568,7 +8568,7 @@ ""x"" : -0.6101753115653992, ""y"" : -18.759157180786134 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1089 }, { @@ -8581,7 +8581,7 @@ ""x"" : -0.6101753115653992, ""y"" : -18.779104232788087 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1090 }, { @@ -8594,7 +8594,7 @@ ""x"" : -0.5870618224143982, ""y"" : -18.80563735961914 }, - ""ShootGun"" : false, + ""ShootGun"" : true, ""FrameIndex"" : 1091 }, { diff --git a/Assets/Tmp/Character/Character_V002.fbx.meta b/Assets/Tmp/Character/Character_V002.fbx.meta index a4de18f..68a50c8 100644 --- a/Assets/Tmp/Character/Character_V002.fbx.meta +++ b/Assets/Tmp/Character/Character_V002.fbx.meta @@ -36,15 +36,15 @@ ModelImporter: name: Block takeName: rig|rigAction internalID: 3374748389425109202 - firstFrame: 50 - lastFrame: 100 + firstFrame: 54 + lastFrame: 65 wrapMode: 0 orientationOffsetY: 0 level: 0 cycleOffset: 0 loop: 0 hasAdditiveReferencePose: 0 - loopTime: 0 + loopTime: 1 loopBlend: 0 loopBlendOrientation: 0 loopBlendPositionY: 0