Added gun shoot event and recoil

This commit is contained in:
2024-12-08 11:56:39 +01:00
parent f597af454a
commit 10b694496b
62 changed files with 11377 additions and 7486 deletions

View File

@@ -19,7 +19,7 @@ MonoBehaviour:
width: 2560
height: 1349
m_ShowMode: 4
m_Title: Game
m_Title: Project
m_RootView: {fileID: 6}
m_MinSize: {x: 875, y: 542}
m_MaxSize: {x: 10000, y: 10000}
@@ -48,7 +48,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 100}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 104
controlID: 107
draggingID: 0
--- !u!114 &3
MonoBehaviour:
@@ -65,12 +65,12 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 2015
x: 2106
y: 0
width: 545
width: 454
height: 1299
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 15}
m_Panes:
- {fileID: 15}
@@ -94,7 +94,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 615
width: 643
height: 812
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
@@ -120,7 +120,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 812
width: 2015
width: 2106
height: 487
m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 10001, y: 10021}
@@ -221,12 +221,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 2015
width: 2106
height: 1299
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 40
controlID: 41
draggingID: 0
--- !u!114 &10
MonoBehaviour:
@@ -247,12 +247,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 2015
width: 2106
height: 812
m_MinSize: {x: 200, y: 50}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 41
controlID: 42
draggingID: 0
--- !u!114 &11
MonoBehaviour:
@@ -269,9 +269,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 615
x: 643
y: 0
width: 1400
width: 1463
height: 812
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
@@ -387,7 +387,7 @@ MonoBehaviour:
m_OverlaysVisible: 1
m_LockTracker:
m_IsLocked: 0
m_LastSelectedObjectID: -28328
m_LastSelectedObjectID: -1234
--- !u!114 &14
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -410,7 +410,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 885
width: 2014
width: 2105
height: 466
m_SerializedDataModeController:
m_DataMode: 0
@@ -433,7 +433,7 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets
- Assets/Scripts
m_Globs: []
m_OriginalText:
m_ImportLogFlags: 0
@@ -441,16 +441,16 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 64
m_LastFolders:
- Assets
- Assets/Scripts
m_LastFoldersGridSize: -1
m_LastProjectPath: D:\Unity\3D-FPS\3D FPS
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: ee5a0000
m_LastClickedID: 23278
m_ExpandedIDs: 00000000ee5a0000185b0000ee5b000000ca9a3bffffff7f
m_SelectedIDs: 0c5b0000
m_LastClickedID: 23308
m_ExpandedIDs: 00000000fe5a000000ca9a3bffffff7f
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -478,7 +478,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000ee5a0000
m_ExpandedIDs: 00000000fe5a0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -554,9 +554,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 2015
x: 2106
y: 73
width: 544
width: 453
height: 1278
m_SerializedDataModeController:
m_DataMode: 0
@@ -603,7 +603,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 73
width: 614
width: 642
height: 791
m_SerializedDataModeController:
m_DataMode: 0
@@ -620,7 +620,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 5891ffff50e0ffff94f4ffffb65a0000
m_ExpandedIDs: c2d5ffff30fbffff8e5a0000b25a0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -664,9 +664,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 615
x: 643
y: 73
width: 1398
width: 1461
height: 791
m_SerializedDataModeController:
m_DataMode: 0
@@ -1026,9 +1026,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: -86.3952, y: -8.33841, z: -1.7059766}
m_Target: {x: 5.1310563, y: 0.6322901, z: 8.284161}
speed: 2
m_Value: {x: -86.3952, y: -8.33841, z: -1.7059766}
m_Value: {x: 5.1310563, y: 0.6322901, z: 8.284161}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -1074,13 +1074,13 @@ MonoBehaviour:
m_GridAxis: 1
m_gridOpacity: 0.5
m_Rotation:
m_Target: {x: -0.04698375, y: 0.71889764, z: -0.04882272, w: -0.6918103}
m_Target: {x: 0.06777612, y: 0.28618744, z: -0.020298937, w: 0.9555604}
speed: 2
m_Value: {x: -0.046983596, y: 0.7188953, z: -0.048822563, w: -0.6918081}
m_Value: {x: 0.06774544, y: 0.2876198, z: -0.020400532, w: 0.9551279}
m_Size:
m_Target: 46.17658
m_Target: 8.022657
speed: 2
m_Value: 46.17658
m_Value: 7.6771846
m_Ortho:
m_Target: 0
speed: 2
@@ -1125,9 +1125,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 615
x: 643
y: 73
width: 1398
width: 1461
height: 791
m_SerializedDataModeController:
m_DataMode: 0
@@ -1145,7 +1145,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1398, y: 770}
m_TargetSize: {x: 1461, y: 770}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
@@ -1160,8 +1160,8 @@ MonoBehaviour:
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -699
m_HBaseRangeMax: 699
m_HBaseRangeMin: -730.5
m_HBaseRangeMax: 730.5
m_VBaseRangeMin: -385
m_VBaseRangeMax: 385
m_HAllowExceedBaseRangeMin: 1
@@ -1181,23 +1181,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
width: 1398
width: 1461
height: 770
m_Scale: {x: 1, y: 1}
m_Translation: {x: 699, y: 385}
m_Translation: {x: 730.5, y: 385}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -699
x: -730.5
y: -385
width: 1398
width: 1461
height: 770
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1398, y: 791}
m_LastWindowPixelSize: {x: 1461, y: 791}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000