Added gun shoot event and recoil

This commit is contained in:
Michal Sedlák
2024-12-08 11:56:39 +01:00
parent f597af454a
commit 10b694496b
62 changed files with 11377 additions and 7486 deletions
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.
+9 -7
View File
@@ -19408,7 +19408,7 @@
"DisplayName": "Writing Assembly-CSharp.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1445614,
"PayloadLength": 37789,
"PayloadLength": 37843,
"PayloadDebugContentSnippet": "-target:library\n-out:\"Library/",
"Inputs": [],
"Outputs": [
@@ -19420,7 +19420,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp.rsp2",
"DisplayName": "Writing Assembly-CSharp.rsp2",
"ActionType": "WriteFile",
"PayloadOffset": 1483490,
"PayloadOffset": 1483544,
"PayloadLength": 0,
"PayloadDebugContentSnippet": "",
"Inputs": [],
@@ -19721,6 +19721,8 @@
"Assets/KinematicCharacterController/Walkthrough/8- Creating a moving platform/Scripts/MyPlayer.cs",
"Assets/KinematicCharacterController/Walkthrough/9- Custom collision filtering/Scripts/MyCharacterController.cs",
"Assets/KinematicCharacterController/Walkthrough/9- Custom collision filtering/Scripts/MyPlayer.cs",
"Assets/Scripts/Gun.cs",
"Assets/Scripts/GunRecoil.cs",
"Assets/Scripts/PlayerCamMovement.cs",
"Assets/Scripts/PlayerMovement.cs",
"C:/Program Files/Unity/Hub/Editor/2022.3.33f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll",
@@ -19961,7 +19963,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp.dll.mvfrm.rsp",
"DisplayName": "Writing Assembly-CSharp.dll.mvfrm.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1483586,
"PayloadOffset": 1483640,
"PayloadLength": 9366,
"PayloadDebugContentSnippet": "Library\\Bee\\artifacts\\mvdfrm\\U",
"Inputs": [],
@@ -20206,7 +20208,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp-Editor.UnityAdditionalFile.txt",
"DisplayName": "Writing Assembly-CSharp-Editor.UnityAdditionalFile.txt",
"ActionType": "WriteFile",
"PayloadOffset": 1493065,
"PayloadOffset": 1493119,
"PayloadLength": 22,
"PayloadDebugContentSnippet": "D:\\Unity\\3D-FPS\\3D FPS",
"Inputs": [],
@@ -20219,7 +20221,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp-Editor.rsp",
"DisplayName": "Writing Assembly-CSharp-Editor.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1493180,
"PayloadOffset": 1493234,
"PayloadLength": 35170,
"PayloadDebugContentSnippet": "-target:library\n-out:\"Library/",
"Inputs": [],
@@ -20232,7 +20234,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp-Editor.rsp2",
"DisplayName": "Writing Assembly-CSharp-Editor.rsp2",
"ActionType": "WriteFile",
"PayloadOffset": 1528444,
"PayloadOffset": 1528498,
"PayloadLength": 0,
"PayloadDebugContentSnippet": "",
"Inputs": [],
@@ -20558,7 +20560,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp-Editor.dll.mvfrm.rsp",
"DisplayName": "Writing Assembly-CSharp-Editor.dll.mvfrm.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1528547,
"PayloadOffset": 1528601,
"PayloadLength": 10320,
"PayloadDebugContentSnippet": "Library\\Bee\\artifacts\\mvdfrm\\U",
"Inputs": [],
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -409,6 +409,8 @@
"Assets/KinematicCharacterController/Walkthrough/8- Creating a moving platform/Scripts/MyPlayer.cs"
"Assets/KinematicCharacterController/Walkthrough/9- Custom collision filtering/Scripts/MyCharacterController.cs"
"Assets/KinematicCharacterController/Walkthrough/9- Custom collision filtering/Scripts/MyPlayer.cs"
"Assets/Scripts/Gun.cs"
"Assets/Scripts/GunRecoil.cs"
"Assets/Scripts/PlayerCamMovement.cs"
"Assets/Scripts/PlayerMovement.cs"
-langversion:9.0
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+7 -7
View File
@@ -1,10 +1,10 @@
{ "pid": 35942, "tid": -1, "ph": "M", "name": "process_name", "args": { "name": "netcorerun.dll" } },
{ "pid": 35942, "tid": -1, "ph": "M", "name": "process_sort_index", "args": { "sort_index": "-1" } },
{ "pid": 35942, "tid": 1, "ph": "M", "name": "thread_name", "args": { "name": "" } },
{ "pid": 35942, "tid": 1, "ts": 1733603365316220, "dur": 178351, "ph": "X", "name": "BuildProgram", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733603365317186, "dur": 52293, "ph": "X", "name": "BuildProgramContextConstructor", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733603365467840, "dur": 3813, "ph": "X", "name": "OutputData.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733603365471655, "dur": 22911, "ph": "X", "name": "Backend.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733603365472815, "dur": 18340, "ph": "X", "name": "JsonToString", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733603365500584, "dur": 1142, "ph": "X", "name": "", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733603365500221, "dur": 1701, "ph": "X", "name": "Write chrome-trace events", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733653290077259, "dur": 180783, "ph": "X", "name": "BuildProgram", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733653290078292, "dur": 50163, "ph": "X", "name": "BuildProgramContextConstructor", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733653290230603, "dur": 3724, "ph": "X", "name": "OutputData.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733653290234329, "dur": 23706, "ph": "X", "name": "Backend.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733653290235543, "dur": 18385, "ph": "X", "name": "JsonToString", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733653290264069, "dur": 1139, "ph": "X", "name": "", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1733653290263695, "dur": 1717, "ph": "X", "name": "Write chrome-trace events", "args": {} },
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":false,"pivot":{"x":-86.39520263671875,"y":-8.338410377502442,"z":-1.7059766054153443},"rotation":{"x":-0.0469837486743927,"y":0.7188976407051086,"z":-0.04882271960377693,"w":-0.6918103098869324},"size":46.176578521728519,"orthographic":false}
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":false,"pivot":{"x":5.131056308746338,"y":0.6322901248931885,"z":8.284160614013672},"rotation":{"x":0.06777612119913101,"y":0.28618744015693667,"z":-0.02029893733561039,"w":0.9555603861808777},"size":8.02265739440918,"orthographic":false}
+1 -1
View File
@@ -1 +1 @@
19716
13568