mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-10-29 20:52:10 +01:00 
			
		
		
		
	Weapon Switch
This commit is contained in:
		| @@ -38,7 +38,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||||||
|   m_LocalPosition: {x: -0.0004, y: -0.01487, z: -0.143} |   m_LocalPosition: {x: -0.0004, y: -0.01487, z: -0.143} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 732033708985862910} |   m_Father: {fileID: 732033708985862910} | ||||||
|   m_RootOrder: 1 |   m_RootOrder: 1 | ||||||
| @@ -69,7 +68,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: -0, y: 0.7071068, z: 0.7071068, w: 0} |   m_LocalRotation: {x: -0, y: 0.7071068, z: 0.7071068, w: 0} | ||||||
|   m_LocalPosition: {x: -0.03000002, y: -0.11399987, z: -0.42400002} |   m_LocalPosition: {x: -0.03000002, y: -0.11399987, z: -0.42400002} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 732033708985862910} |   m_Father: {fileID: 732033708985862910} | ||||||
|   m_RootOrder: 2 |   m_RootOrder: 2 | ||||||
| @@ -100,7 +98,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: -0, y: 0.7071068, z: 0.7071068, w: 0} |   m_LocalRotation: {x: -0, y: 0.7071068, z: 0.7071068, w: 0} | ||||||
|   m_LocalPosition: {x: 0.030000005, y: -0.10400012, z: -0.42400002} |   m_LocalPosition: {x: 0.030000005, y: -0.10400012, z: -0.42400002} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 732033708985862910} |   m_Father: {fileID: 732033708985862910} | ||||||
|   m_RootOrder: 3 |   m_RootOrder: 3 | ||||||
| @@ -134,7 +131,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0.03999999} |   m_LocalPosition: {x: 0, y: 0, z: 0.03999999} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: |   m_Children: | ||||||
|   - {fileID: 1584484548595912410} |   - {fileID: 1584484548595912410} | ||||||
|   - {fileID: 7502619830433694848} |   - {fileID: 7502619830433694848} | ||||||
| @@ -167,15 +163,15 @@ MonoBehaviour: | |||||||
|   m_Script: {fileID: 11500000, guid: c98f5c47a8b7dd64f86fd6f42c4d6e5e, type: 3} |   m_Script: {fileID: 11500000, guid: c98f5c47a8b7dd64f86fd6f42c4d6e5e, type: 3} | ||||||
|   m_Name:  |   m_Name:  | ||||||
|   m_EditorClassIdentifier:  |   m_EditorClassIdentifier:  | ||||||
|   weaponKind: 0 |   weaponKind: 1 | ||||||
|   active: 0 |   active: 0 | ||||||
|   damage: 0 |   damage: 15 | ||||||
|   firerate: 320 |   firerate: 320 | ||||||
|   roundsPerShot: 1 |   roundsPerShot: 1 | ||||||
|   recoilStrength: 0 |   recoilStrength: 15 | ||||||
|   currentAmmunition: 100 |   currentAmmunition: 16 | ||||||
|   magazinSize: 100 |   magazinSize: 16 | ||||||
|   totalAmmunition: 100 |   totalAmmunition: 64 | ||||||
|   bulletExit: {fileID: 2236875552107647873} |   bulletExit: {fileID: 2236875552107647873} | ||||||
|   allowAction: 1 |   allowAction: 1 | ||||||
| --- !u!65 &3937508078766297979 | --- !u!65 &3937508078766297979 | ||||||
| @@ -189,8 +185,8 @@ BoxCollider: | |||||||
|   m_IsTrigger: 0 |   m_IsTrigger: 0 | ||||||
|   m_Enabled: 1 |   m_Enabled: 1 | ||||||
|   serializedVersion: 2 |   serializedVersion: 2 | ||||||
|   m_Size: {x: 0.034888696, y: 0.17788172, z: 0.26456618} |   m_Size: {x: 0.040187918, y: 0.16860102, z: 0.2560755} | ||||||
|   m_Center: {x: 0.009451332, y: -0.07946879, z: -0.26701045} |   m_Center: {x: 0.00017769728, y: -0.07880532, z: -0.26860136} | ||||||
| --- !u!1001 &1330674258901920049 | --- !u!1001 &1330674258901920049 | ||||||
| PrefabInstance: | PrefabInstance: | ||||||
|   m_ObjectHideFlags: 0 |   m_ObjectHideFlags: 0 | ||||||
|   | |||||||
							
								
								
									
										311
									
								
								Assets/Objects/Weapons/USP/USP 1.prefab
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										311
									
								
								Assets/Objects/Weapons/USP/USP 1.prefab
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,311 @@ | |||||||
|  | %YAML 1.1 | ||||||
|  | %TAG !u! tag:unity3d.com,2011: | ||||||
|  | --- !u!1 &1029209707363336683 | ||||||
|  | GameObject: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   serializedVersion: 6 | ||||||
|  |   m_Component: | ||||||
|  |   - component: {fileID: 8382890533894468742} | ||||||
|  |   m_Layer: 7 | ||||||
|  |   m_Name: Left_Hand_REF | ||||||
|  |   m_TagString: Untagged | ||||||
|  |   m_Icon: {fileID: 0} | ||||||
|  |   m_NavMeshLayer: 0 | ||||||
|  |   m_StaticEditorFlags: 0 | ||||||
|  |   m_IsActive: 1 | ||||||
|  | --- !u!4 &8382890533894468742 | ||||||
|  | Transform: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   m_GameObject: {fileID: 1029209707363336683} | ||||||
|  |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|  |   m_LocalPosition: {x: -0.504, y: 0, z: 0.102} | ||||||
|  |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|  |   m_Children: [] | ||||||
|  |   m_Father: {fileID: 8797726366404580855} | ||||||
|  |   m_RootOrder: 2 | ||||||
|  |   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||||||
|  | --- !u!1 &1880099159927430553 | ||||||
|  | GameObject: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   serializedVersion: 6 | ||||||
|  |   m_Component: | ||||||
|  |   - component: {fileID: 8797726366404580855} | ||||||
|  |   - component: {fileID: 1078062810013672401} | ||||||
|  |   - component: {fileID: 1672832146417829139} | ||||||
|  |   - component: {fileID: 6050550425513890989} | ||||||
|  |   m_Layer: 7 | ||||||
|  |   m_Name: USP 1 | ||||||
|  |   m_TagString: Weapon | ||||||
|  |   m_Icon: {fileID: 0} | ||||||
|  |   m_NavMeshLayer: 0 | ||||||
|  |   m_StaticEditorFlags: 0 | ||||||
|  |   m_IsActive: 1 | ||||||
|  | --- !u!4 &8797726366404580855 | ||||||
|  | Transform: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   m_GameObject: {fileID: 1880099159927430553} | ||||||
|  |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|  |   m_LocalPosition: {x: 0, y: 0, z: 0} | ||||||
|  |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|  |   m_Children: | ||||||
|  |   - {fileID: 6108047450985722759} | ||||||
|  |   - {fileID: 5139256649524637864} | ||||||
|  |   - {fileID: 8382890533894468742} | ||||||
|  |   - {fileID: 7233769674171919731} | ||||||
|  |   m_Father: {fileID: 0} | ||||||
|  |   m_RootOrder: 0 | ||||||
|  |   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||||||
|  | --- !u!114 &1078062810013672401 | ||||||
|  | MonoBehaviour: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   m_GameObject: {fileID: 1880099159927430553} | ||||||
|  |   m_Enabled: 1 | ||||||
|  |   m_EditorHideFlags: 0 | ||||||
|  |   m_Script: {fileID: 11500000, guid: 48948dfe9d76b07488dacd46a7955fa1, type: 3} | ||||||
|  |   m_Name:  | ||||||
|  |   m_EditorClassIdentifier:  | ||||||
|  | --- !u!114 &1672832146417829139 | ||||||
|  | MonoBehaviour: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   m_GameObject: {fileID: 1880099159927430553} | ||||||
|  |   m_Enabled: 1 | ||||||
|  |   m_EditorHideFlags: 0 | ||||||
|  |   m_Script: {fileID: 11500000, guid: c98f5c47a8b7dd64f86fd6f42c4d6e5e, type: 3} | ||||||
|  |   m_Name:  | ||||||
|  |   m_EditorClassIdentifier:  | ||||||
|  |   weaponKind: 1 | ||||||
|  |   active: 0 | ||||||
|  |   damage: 35 | ||||||
|  |   firerate: 352 | ||||||
|  |   roundsPerShot: 1 | ||||||
|  |   recoilStrength: 22 | ||||||
|  |   currentAmmunition: 12 | ||||||
|  |   magazinSize: 12 | ||||||
|  |   totalAmmunition: 24 | ||||||
|  |   bulletExit: {fileID: 7014992348987952529} | ||||||
|  |   allowAction: 1 | ||||||
|  | --- !u!65 &6050550425513890989 | ||||||
|  | BoxCollider: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   m_GameObject: {fileID: 1880099159927430553} | ||||||
|  |   m_Material: {fileID: 0} | ||||||
|  |   m_IsTrigger: 0 | ||||||
|  |   m_Enabled: 1 | ||||||
|  |   serializedVersion: 2 | ||||||
|  |   m_Size: {x: 0.059358627, y: 0.19563963, z: 0.2655142} | ||||||
|  |   m_Center: {x: -0.00082542, y: -0.00907933, z: -0.10297042} | ||||||
|  | --- !u!1 &4999713445390711574 | ||||||
|  | GameObject: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   serializedVersion: 6 | ||||||
|  |   m_Component: | ||||||
|  |   - component: {fileID: 7233769674171919731} | ||||||
|  |   m_Layer: 7 | ||||||
|  |   m_Name: Right_Hand_REF | ||||||
|  |   m_TagString: Untagged | ||||||
|  |   m_Icon: {fileID: 0} | ||||||
|  |   m_NavMeshLayer: 0 | ||||||
|  |   m_StaticEditorFlags: 0 | ||||||
|  |   m_IsActive: 1 | ||||||
|  | --- !u!4 &7233769674171919731 | ||||||
|  | Transform: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   m_GameObject: {fileID: 4999713445390711574} | ||||||
|  |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|  |   m_LocalPosition: {x: -0.503, y: 0, z: -0.072} | ||||||
|  |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|  |   m_Children: [] | ||||||
|  |   m_Father: {fileID: 8797726366404580855} | ||||||
|  |   m_RootOrder: 3 | ||||||
|  |   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||||||
|  | --- !u!1 &7014992348987952529 | ||||||
|  | GameObject: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   serializedVersion: 6 | ||||||
|  |   m_Component: | ||||||
|  |   - component: {fileID: 5139256649524637864} | ||||||
|  |   m_Layer: 7 | ||||||
|  |   m_Name: Muzzle | ||||||
|  |   m_TagString: Untagged | ||||||
|  |   m_Icon: {fileID: 0} | ||||||
|  |   m_NavMeshLayer: 0 | ||||||
|  |   m_StaticEditorFlags: 0 | ||||||
|  |   m_IsActive: 1 | ||||||
|  | --- !u!4 &5139256649524637864 | ||||||
|  | Transform: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   m_GameObject: {fileID: 7014992348987952529} | ||||||
|  |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|  |   m_LocalPosition: {x: 0.0594, y: 0.123, z: 0} | ||||||
|  |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|  |   m_Children: [] | ||||||
|  |   m_Father: {fileID: 8797726366404580855} | ||||||
|  |   m_RootOrder: 1 | ||||||
|  |   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||||||
|  | --- !u!1001 &6002908758433764460 | ||||||
|  | PrefabInstance: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   serializedVersion: 2 | ||||||
|  |   m_Modification: | ||||||
|  |     m_TransformParent: {fileID: 8797726366404580855} | ||||||
|  |     m_Modifications: | ||||||
|  |     - target: {fileID: -9209723244821890602, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Materials.Array.data[0] | ||||||
|  |       value:  | ||||||
|  |       objectReference: {fileID: 2100000, guid: 2bdfe923058ca3845ba7903bc4f3c61f, type: 2} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_RootOrder | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalScale.x | ||||||
|  |       value: 0.1 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalScale.y | ||||||
|  |       value: 0.1 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalScale.z | ||||||
|  |       value: 0.1 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.x | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.y | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.z | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalRotation.w | ||||||
|  |       value: 0.7071068 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalRotation.x | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalRotation.y | ||||||
|  |       value: -0.7071068 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalRotation.z | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalEulerAnglesHint.x | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalEulerAnglesHint.y | ||||||
|  |       value: -90 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_LocalEulerAnglesHint.z | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -6727777295156004340, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Materials.Array.data[0] | ||||||
|  |       value:  | ||||||
|  |       objectReference: {fileID: 2100000, guid: 2bdfe923058ca3845ba7903bc4f3c61f, type: 2} | ||||||
|  |     - target: {fileID: -6668390362620545018, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Layer | ||||||
|  |       value: 7 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -6302595498784846895, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Layer | ||||||
|  |       value: 7 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -6181709675065430640, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Layer | ||||||
|  |       value: 7 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: -5971839784853916201, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Materials.Array.data[0] | ||||||
|  |       value:  | ||||||
|  |       objectReference: {fileID: 2100000, guid: 3d840727f7707a0428afd012777242eb, type: 2} | ||||||
|  |     - target: {fileID: -3409897155771429593, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Materials.Array.data[0] | ||||||
|  |       value:  | ||||||
|  |       objectReference: {fileID: 2100000, guid: 3d840727f7707a0428afd012777242eb, type: 2} | ||||||
|  |     - target: {fileID: -2907686476376251682, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Layer | ||||||
|  |       value: 7 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 919132149155446097, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Name | ||||||
|  |       value: USP | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 919132149155446097, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Layer | ||||||
|  |       value: 7 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 1217357057058390212, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Materials.Array.data[0] | ||||||
|  |       value:  | ||||||
|  |       objectReference: {fileID: 2100000, guid: 3d840727f7707a0428afd012777242eb, type: 2} | ||||||
|  |     - target: {fileID: 2004366988222021338, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Layer | ||||||
|  |       value: 7 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 4866802741838930128, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Layer | ||||||
|  |       value: 7 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 5840160883007771012, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Materials.Array.data[0] | ||||||
|  |       value:  | ||||||
|  |       objectReference: {fileID: 2100000, guid: 2bdfe923058ca3845ba7903bc4f3c61f, type: 2} | ||||||
|  |     - target: {fileID: 6710513118507747510, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Materials.Array.data[0] | ||||||
|  |       value:  | ||||||
|  |       objectReference: {fileID: 2100000, guid: 3d840727f7707a0428afd012777242eb, type: 2} | ||||||
|  |     - target: {fileID: 8191996517437680109, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |       propertyPath: m_Layer | ||||||
|  |       value: 7 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     m_RemovedComponents: [] | ||||||
|  |   m_SourcePrefab: {fileID: 100100000, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  | --- !u!4 &6108047450985722759 stripped | ||||||
|  | Transform: | ||||||
|  |   m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} | ||||||
|  |   m_PrefabInstance: {fileID: 6002908758433764460} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
| @@ -1,5 +1,5 @@ | |||||||
| fileFormatVersion: 2 | fileFormatVersion: 2 | ||||||
| guid: decdb19fa1f98b14fb2639db82e266c8 | guid: 6f5ccb6e55f1676429c170257dc7a411 | ||||||
| PrefabImporter: | PrefabImporter: | ||||||
|   externalObjects: {} |   externalObjects: {} | ||||||
|   userData:  |   userData:  | ||||||
| @@ -1,129 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &4085778817478341838 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 4085778817478341839} |  | ||||||
|   - component: {fileID: 4085778817478341875} |  | ||||||
|   - component: {fileID: 4085778817478341874} |  | ||||||
|   - component: {fileID: 4085778817478341837} |  | ||||||
|   m_Layer: 7 |  | ||||||
|   m_Name: CrazyWeapon |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &4085778817478341839 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 4085778817478341838} |  | ||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 0, y: 2.945, z: -1.369} |  | ||||||
|   m_LocalScale: {x: 0.84238553, y: 0.12125953, z: 0.084946424} |  | ||||||
|   m_Children: [] |  | ||||||
|   m_Father: {fileID: 4085778817558063965} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!33 &4085778817478341875 |  | ||||||
| MeshFilter: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 4085778817478341838} |  | ||||||
|   m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} |  | ||||||
| --- !u!23 &4085778817478341874 |  | ||||||
| MeshRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 4085778817478341838} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_CastShadows: 1 |  | ||||||
|   m_ReceiveShadows: 1 |  | ||||||
|   m_DynamicOccludee: 1 |  | ||||||
|   m_StaticShadowCaster: 0 |  | ||||||
|   m_MotionVectors: 1 |  | ||||||
|   m_LightProbeUsage: 1 |  | ||||||
|   m_ReflectionProbeUsage: 1 |  | ||||||
|   m_RayTracingMode: 2 |  | ||||||
|   m_RayTraceProcedural: 0 |  | ||||||
|   m_RenderingLayerMask: 1 |  | ||||||
|   m_RendererPriority: 0 |  | ||||||
|   m_Materials: |  | ||||||
|   - {fileID: 2100000, guid: 105f5600c1c7ff94d8ca2684d69fdf99, type: 2} |  | ||||||
|   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: 3 |  | ||||||
|   m_MinimumChartSize: 4 |  | ||||||
|   m_AutoUVMaxDistance: 0.5 |  | ||||||
|   m_AutoUVMaxAngle: 89 |  | ||||||
|   m_LightmapParameters: {fileID: 0} |  | ||||||
|   m_SortingLayerID: 0 |  | ||||||
|   m_SortingLayer: 0 |  | ||||||
|   m_SortingOrder: 0 |  | ||||||
|   m_AdditionalVertexStreams: {fileID: 0} |  | ||||||
| --- !u!65 &4085778817478341837 |  | ||||||
| BoxCollider: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 4085778817478341838} |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_IsTrigger: 0 |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   m_Size: {x: 1, y: 1, z: 1} |  | ||||||
|   m_Center: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!1 &4085778817558063964 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 4085778817558063965} |  | ||||||
|   m_Layer: 7 |  | ||||||
|   m_Name: Weapon1 |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &4085778817558063965 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 4085778817558063964} |  | ||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 1.4399999, y: 2.88, z: 0.19000006} |  | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |  | ||||||
|   m_Children: |  | ||||||
|   - {fileID: 4085778817478341839} |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| @@ -1,165 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &2189428797618060492 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 3579399904404681179} |  | ||||||
|   m_Layer: 0 |  | ||||||
|   m_Name: BulletExitPoint |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &3579399904404681179 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 2189428797618060492} |  | ||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0} |  | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |  | ||||||
|   m_Children: [] |  | ||||||
|   m_Father: {fileID: 9219943091343242540} |  | ||||||
|   m_RootOrder: 7 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!1 &3102687152649998300 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 9067311473762665769} |  | ||||||
|   m_Layer: 0 |  | ||||||
|   m_Name: WeaponHolder |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &9067311473762665769 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 3102687152649998300} |  | ||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0} |  | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |  | ||||||
|   m_Children: |  | ||||||
|   - {fileID: 9219943091343242540} |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!114 &8722617901319436246 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8410474266686189462} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: c98f5c47a8b7dd64f86fd6f42c4d6e5e, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   weaponKind: 1 |  | ||||||
|   active: 0 |  | ||||||
|   damage: 15 |  | ||||||
|   firerate: 1 |  | ||||||
|   roundsPerShot: 1 |  | ||||||
|   recoilStrength: 15 |  | ||||||
|   currentAmmunition: 12 |  | ||||||
|   magazinSize: 12 |  | ||||||
|   totalAmmunition: 24 |  | ||||||
|   bulletExit: {fileID: 2189428797618060492} |  | ||||||
|   allowAction: 1 |  | ||||||
| --- !u!1001 &8681084213692846791 |  | ||||||
| PrefabInstance: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   m_Modification: |  | ||||||
|     m_TransformParent: {fileID: 9067311473762665769} |  | ||||||
|     m_Modifications: |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_RootOrder |  | ||||||
|       value: 0 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalScale.x |  | ||||||
|       value: 0.2 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalScale.y |  | ||||||
|       value: 0.2 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalScale.z |  | ||||||
|       value: 0.2 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalPosition.x |  | ||||||
|       value: 0.53 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalPosition.y |  | ||||||
|       value: -0.18 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalPosition.z |  | ||||||
|       value: 0.842 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalRotation.w |  | ||||||
|       value: 0.7071068 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalRotation.x |  | ||||||
|       value: 0 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalRotation.y |  | ||||||
|       value: -0.7071068 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalRotation.z |  | ||||||
|       value: 0 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalEulerAnglesHint.x |  | ||||||
|       value: 0 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalEulerAnglesHint.y |  | ||||||
|       value: -90 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_LocalEulerAnglesHint.z |  | ||||||
|       value: 0 |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     - target: {fileID: 919132149155446097, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|       propertyPath: m_Name |  | ||||||
|       value: USP |  | ||||||
|       objectReference: {fileID: 0} |  | ||||||
|     m_RemovedComponents: [] |  | ||||||
|   m_SourcePrefab: {fileID: 100100000, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
| --- !u!1 &8410474266686189462 stripped |  | ||||||
| GameObject: |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|   m_PrefabInstance: {fileID: 8681084213692846791} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
| --- !u!4 &9219943091343242540 stripped |  | ||||||
| Transform: |  | ||||||
|   m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: db8a9548ba56c1949bb28f7c6129bbeb, type: 3} |  | ||||||
|   m_PrefabInstance: {fileID: 8681084213692846791} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 352fda1e84382b540b8dcf5fc13fcfd8 |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -27,7 +27,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0} |   m_LocalPosition: {x: 0, y: 0, z: 0} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 1197111049} |   m_Father: {fileID: 1197111049} | ||||||
|   m_RootOrder: 1 |   m_RootOrder: 1 | ||||||
| @@ -83,7 +82,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: 0, y: 0.7071068, z: 0.7071068, w: 0} |   m_LocalRotation: {x: 0, y: 0.7071068, z: 0.7071068, w: 0} | ||||||
|   m_LocalPosition: {x: 0.023, y: -0.035, z: -0.066} |   m_LocalPosition: {x: 0.023, y: -0.035, z: -0.066} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 1197111049} |   m_Father: {fileID: 1197111049} | ||||||
|   m_RootOrder: 0 |   m_RootOrder: 0 | ||||||
| @@ -139,7 +137,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 1.754, z: 0.4} |   m_LocalPosition: {x: 0, y: 1.754, z: 0.4} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: |   m_Children: | ||||||
|   - {fileID: 357599824} |   - {fileID: 357599824} | ||||||
|   - {fileID: 65959153} |   - {fileID: 65959153} | ||||||
| @@ -189,7 +186,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0} |   m_LocalPosition: {x: 0, y: 0, z: 0} | ||||||
|   m_LocalScale: {x: 0.01, y: 0.01, z: 0.01} |   m_LocalScale: {x: 0.01, y: 0.01, z: 0.01} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 4074665071222326704} |   m_Father: {fileID: 4074665071222326704} | ||||||
|   m_RootOrder: 0 |   m_RootOrder: 0 | ||||||
| @@ -283,11 +279,29 @@ Transform: | |||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0.266} |   m_LocalPosition: {x: 0, y: 0, z: 0.266} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 6272346181657429396} |   m_Father: {fileID: 6272346181657429396} | ||||||
|   m_RootOrder: 2 |   m_RootOrder: 2 | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||||||
|  | --- !u!95 &4797094208700084232 | ||||||
|  | Animator: | ||||||
|  |   serializedVersion: 3 | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|  |   m_PrefabInstance: {fileID: 0} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  |   m_GameObject: {fileID: 3995507965915027724} | ||||||
|  |   m_Enabled: 1 | ||||||
|  |   m_Avatar: {fileID: 9000000, guid: d1ac7df45c0d7e84993ff57afe3c4d6f, type: 3} | ||||||
|  |   m_Controller: {fileID: 9100000, guid: daf332133edb41440a3abb1cf6e24558, type: 2} | ||||||
|  |   m_CullingMode: 0 | ||||||
|  |   m_UpdateMode: 0 | ||||||
|  |   m_ApplyRootMotion: 1 | ||||||
|  |   m_LinearVelocityBlending: 0 | ||||||
|  |   m_WarningMessage:  | ||||||
|  |   m_HasTransformHierarchy: 1 | ||||||
|  |   m_AllowConstantClipSamplingOptimization: 1 | ||||||
|  |   m_KeepAnimatorControllerStateOnDisable: 0 | ||||||
| --- !u!1 &4824770690127859843 | --- !u!1 &4824770690127859843 | ||||||
| GameObject: | GameObject: | ||||||
|   m_ObjectHideFlags: 0 |   m_ObjectHideFlags: 0 | ||||||
| @@ -316,7 +330,6 @@ RectTransform: | |||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0} |   m_LocalPosition: {x: 0, y: 0, z: 0} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 6272346181302961296} |   m_Father: {fileID: 6272346181302961296} | ||||||
|   m_RootOrder: 0 |   m_RootOrder: 0 | ||||||
| @@ -501,7 +514,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 2.15, z: 0} |   m_LocalPosition: {x: 0, y: 2.15, z: 0} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: |   m_Children: | ||||||
|   - {fileID: 5844730607706440515} |   - {fileID: 5844730607706440515} | ||||||
|   - {fileID: 6272346182417644039} |   - {fileID: 6272346182417644039} | ||||||
| @@ -827,7 +839,7 @@ MonoBehaviour: | |||||||
|   target: {fileID: 2848367205963120269} |   target: {fileID: 2848367205963120269} | ||||||
| --- !u!95 &8957579265169979397 | --- !u!95 &8957579265169979397 | ||||||
| Animator: | Animator: | ||||||
|   serializedVersion: 4 |   serializedVersion: 3 | ||||||
|   m_ObjectHideFlags: 0 |   m_ObjectHideFlags: 0 | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|   m_PrefabInstance: {fileID: 0} |   m_PrefabInstance: {fileID: 0} | ||||||
| @@ -840,7 +852,6 @@ Animator: | |||||||
|   m_UpdateMode: 0 |   m_UpdateMode: 0 | ||||||
|   m_ApplyRootMotion: 0 |   m_ApplyRootMotion: 0 | ||||||
|   m_LinearVelocityBlending: 0 |   m_LinearVelocityBlending: 0 | ||||||
|   m_StabilizeFeet: 0 |  | ||||||
|   m_WarningMessage:  |   m_WarningMessage:  | ||||||
|   m_HasTransformHierarchy: 1 |   m_HasTransformHierarchy: 1 | ||||||
|   m_AllowConstantClipSamplingOptimization: 1 |   m_AllowConstantClipSamplingOptimization: 1 | ||||||
| @@ -906,7 +917,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 0.15, z: 0} |   m_LocalPosition: {x: 0, y: 0.15, z: 0} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: |   m_Children: | ||||||
|   - {fileID: 4074665071222326704} |   - {fileID: 4074665071222326704} | ||||||
|   - {fileID: 1979435770070801855} |   - {fileID: 1979435770070801855} | ||||||
| @@ -995,7 +1005,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0} |   m_LocalPosition: {x: 0, y: 0, z: 0} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 6272346181302961296} |   m_Father: {fileID: 6272346181302961296} | ||||||
|   m_RootOrder: 1 |   m_RootOrder: 1 | ||||||
| @@ -1027,10 +1036,10 @@ Transform: | |||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 0.4} |   m_LocalPosition: {x: 0, y: 0, z: 0.4} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: |   m_Children: | ||||||
|   - {fileID: 6035287771982183217} |   - {fileID: 6035287771982183217} | ||||||
|   - {fileID: 2848367205963120269} |   - {fileID: 2848367205963120269} | ||||||
|  |   - {fileID: 1363144486119695814} | ||||||
|   m_Father: {fileID: 6272346181657429396} |   m_Father: {fileID: 6272346181657429396} | ||||||
|   m_RootOrder: 0 |   m_RootOrder: 0 | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||||||
| @@ -1048,7 +1057,7 @@ MonoBehaviour: | |||||||
|   m_EditorClassIdentifier:  |   m_EditorClassIdentifier:  | ||||||
| --- !u!95 &1978909962 | --- !u!95 &1978909962 | ||||||
| Animator: | Animator: | ||||||
|   serializedVersion: 4 |   serializedVersion: 3 | ||||||
|   m_ObjectHideFlags: 0 |   m_ObjectHideFlags: 0 | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |   m_CorrespondingSourceObject: {fileID: 0} | ||||||
|   m_PrefabInstance: {fileID: 0} |   m_PrefabInstance: {fileID: 0} | ||||||
| @@ -1061,7 +1070,6 @@ Animator: | |||||||
|   m_UpdateMode: 0 |   m_UpdateMode: 0 | ||||||
|   m_ApplyRootMotion: 0 |   m_ApplyRootMotion: 0 | ||||||
|   m_LinearVelocityBlending: 0 |   m_LinearVelocityBlending: 0 | ||||||
|   m_StabilizeFeet: 0 |  | ||||||
|   m_WarningMessage:  |   m_WarningMessage:  | ||||||
|   m_HasTransformHierarchy: 1 |   m_HasTransformHierarchy: 1 | ||||||
|   m_AllowConstantClipSamplingOptimization: 1 |   m_AllowConstantClipSamplingOptimization: 1 | ||||||
| @@ -1093,7 +1101,6 @@ Transform: | |||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||||||
|   m_LocalPosition: {x: 0, y: 1.66, z: 0} |   m_LocalPosition: {x: 0, y: 1.66, z: 0} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: |   m_Children: | ||||||
|   - {fileID: 6272346181657429396} |   - {fileID: 6272346181657429396} | ||||||
|   m_Father: {fileID: 6272346181302961296} |   m_Father: {fileID: 6272346181302961296} | ||||||
| @@ -1135,9 +1142,8 @@ Transform: | |||||||
|   m_PrefabAsset: {fileID: 0} |   m_PrefabAsset: {fileID: 0} | ||||||
|   m_GameObject: {fileID: 8043317747957554736} |   m_GameObject: {fileID: 8043317747957554736} | ||||||
|   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||||||
|   m_LocalPosition: {x: 0.108, y: -0.084, z: 0.266} |   m_LocalPosition: {x: 0.108, y: -0.084, z: 0.263} | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |   m_LocalScale: {x: 1, y: 1, z: 1} | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |   m_Children: [] | ||||||
|   m_Father: {fileID: 6272346181657429396} |   m_Father: {fileID: 6272346181657429396} | ||||||
|   m_RootOrder: 1 |   m_RootOrder: 1 | ||||||
| @@ -1197,6 +1203,10 @@ PrefabInstance: | |||||||
|       propertyPath: m_Name |       propertyPath: m_Name | ||||||
|       value: M92 |       value: M92 | ||||||
|       objectReference: {fileID: 0} |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 5071598280516985511, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
|  |       propertyPath: m_IsActive | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|     - target: {fileID: 5071598280516985511, guid: bd217f9f85ce78e46a925776562625e8, type: 3} |     - target: {fileID: 5071598280516985511, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
|       propertyPath: m_TagString |       propertyPath: m_TagString | ||||||
|       value: Weapon |       value: Weapon | ||||||
| @@ -1209,18 +1219,20 @@ PrefabInstance: | |||||||
|       propertyPath: weaponKind |       propertyPath: weaponKind | ||||||
|       value: 1 |       value: 1 | ||||||
|       objectReference: {fileID: 0} |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 5204381087217674634, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
|  |       propertyPath: magazinSize | ||||||
|  |       value: 16 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 5204381087217674634, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
|  |       propertyPath: totalAmmunition | ||||||
|  |       value: 16 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 5204381087217674634, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
|  |       propertyPath: currentAmmunition | ||||||
|  |       value: 16 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|     m_RemovedComponents: [] |     m_RemovedComponents: [] | ||||||
|   m_SourcePrefab: {fileID: 100100000, guid: bd217f9f85ce78e46a925776562625e8, type: 3} |   m_SourcePrefab: {fileID: 100100000, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
| --- !u!1 &7768205653369755348 stripped |  | ||||||
| GameObject: |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 5071598280516985511, guid: bd217f9f85ce78e46a925776562625e8, type: 3} |  | ||||||
|   m_PrefabInstance: {fileID: 3292089710699836531} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
| --- !u!4 &2848367205963120269 stripped |  | ||||||
| Transform: |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 732033708985862910, guid: bd217f9f85ce78e46a925776562625e8, type: 3} |  | ||||||
|   m_PrefabInstance: {fileID: 3292089710699836531} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
| --- !u!1 &3682030003239559187 stripped | --- !u!1 &3682030003239559187 stripped | ||||||
| GameObject: | GameObject: | ||||||
|   m_CorrespondingSourceObject: {fileID: 2213212323547960416, guid: bd217f9f85ce78e46a925776562625e8, type: 3} |   m_CorrespondingSourceObject: {fileID: 2213212323547960416, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
| @@ -1241,6 +1253,16 @@ Transform: | |||||||
|   m_CorrespondingSourceObject: {fileID: 5792494204646893847, guid: bd217f9f85ce78e46a925776562625e8, type: 3} |   m_CorrespondingSourceObject: {fileID: 5792494204646893847, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
|   m_PrefabInstance: {fileID: 3292089710699836531} |   m_PrefabInstance: {fileID: 3292089710699836531} | ||||||
|   m_PrefabAsset: {fileID: 0} |   m_PrefabAsset: {fileID: 0} | ||||||
|  | --- !u!1 &7768205653369755348 stripped | ||||||
|  | GameObject: | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 5071598280516985511, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
|  |   m_PrefabInstance: {fileID: 3292089710699836531} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  | --- !u!4 &2848367205963120269 stripped | ||||||
|  | Transform: | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 732033708985862910, guid: bd217f9f85ce78e46a925776562625e8, type: 3} | ||||||
|  |   m_PrefabInstance: {fileID: 3292089710699836531} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
| --- !u!1001 &6305701708507383038 | --- !u!1001 &6305701708507383038 | ||||||
| PrefabInstance: | PrefabInstance: | ||||||
|   m_ObjectHideFlags: 0 |   m_ObjectHideFlags: 0 | ||||||
| @@ -1434,3 +1456,98 @@ Transform: | |||||||
|   m_CorrespondingSourceObject: {fileID: -5815427104119794202, guid: 01316cb596562384da845bc519fb90de, type: 3} |   m_CorrespondingSourceObject: {fileID: -5815427104119794202, guid: 01316cb596562384da845bc519fb90de, type: 3} | ||||||
|   m_PrefabInstance: {fileID: 6305701708507383038} |   m_PrefabInstance: {fileID: 6305701708507383038} | ||||||
|   m_PrefabAsset: {fileID: 0} |   m_PrefabAsset: {fileID: 0} | ||||||
|  | --- !u!1001 &7565221866438160433 | ||||||
|  | PrefabInstance: | ||||||
|  |   m_ObjectHideFlags: 0 | ||||||
|  |   serializedVersion: 2 | ||||||
|  |   m_Modification: | ||||||
|  |     m_TransformParent: {fileID: 4074665071222326704} | ||||||
|  |     m_Modifications: | ||||||
|  |     - target: {fileID: 1880099159927430553, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_Name | ||||||
|  |       value: USP 1 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 1880099159927430553, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_IsActive | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 7233769674171919731, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.x | ||||||
|  |       value: 0.0324 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 7233769674171919731, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.y | ||||||
|  |       value: -0.0177 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 7233769674171919731, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.z | ||||||
|  |       value: -0.2867 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8382890533894468742, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.x | ||||||
|  |       value: -0.03000002 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8382890533894468742, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.y | ||||||
|  |       value: -0.0474 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8382890533894468742, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.z | ||||||
|  |       value: -0.2881 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_RootOrder | ||||||
|  |       value: 2 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.x | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.y | ||||||
|  |       value: -0.0713 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalPosition.z | ||||||
|  |       value: 0.08 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalRotation.w | ||||||
|  |       value: 1 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalRotation.x | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalRotation.y | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalRotation.z | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalEulerAnglesHint.x | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalEulerAnglesHint.y | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     - target: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |       propertyPath: m_LocalEulerAnglesHint.z | ||||||
|  |       value: 0 | ||||||
|  |       objectReference: {fileID: 0} | ||||||
|  |     m_RemovedComponents: [] | ||||||
|  |   m_SourcePrefab: {fileID: 100100000, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  | --- !u!4 &1363144486119695814 stripped | ||||||
|  | Transform: | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 8797726366404580855, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |   m_PrefabInstance: {fileID: 7565221866438160433} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|  | --- !u!1 &3995507965915027724 stripped | ||||||
|  | GameObject: | ||||||
|  |   m_CorrespondingSourceObject: {fileID: 6885991082275612989, guid: 6f5ccb6e55f1676429c170257dc7a411, type: 3} | ||||||
|  |   m_PrefabInstance: {fileID: 7565221866438160433} | ||||||
|  |   m_PrefabAsset: {fileID: 0} | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -8,7 +8,6 @@ using Mirror; | |||||||
| public class DebugCanvas : MonoBehaviour | public class DebugCanvas : MonoBehaviour | ||||||
| { | { | ||||||
|     public TextMeshProUGUI DebugTextGrounded; |     public TextMeshProUGUI DebugTextGrounded; | ||||||
|     public TextMeshProUGUI DebugTextAmmunition; |  | ||||||
|     public TextMeshProUGUI DebugTextClientServer; |     public TextMeshProUGUI DebugTextClientServer; | ||||||
|     public GameObject Player; |     public GameObject Player; | ||||||
|     public GameObject GameManager; |     public GameObject GameManager; | ||||||
| @@ -37,8 +36,6 @@ public class DebugCanvas : MonoBehaviour | |||||||
|         else |         else | ||||||
|         { |         { | ||||||
|             DebugTextGrounded.text = "isGrounded: " + Player.GetComponent<PlayerController>().isGrounded.ToString(); |             DebugTextGrounded.text = "isGrounded: " + Player.GetComponent<PlayerController>().isGrounded.ToString(); | ||||||
|  |  | ||||||
|             DebugTextAmmunition.text = Player.GetComponent<Shoot>().CurAmmo.ToString() + " / " + Player.GetComponent<Shoot>().TotalAmmo.ToString(); |  | ||||||
|             deltaTime += (Time.deltaTime - deltaTime) * 0.1f; |             deltaTime += (Time.deltaTime - deltaTime) * 0.1f; | ||||||
|             float fps = 1.0f / deltaTime; |             float fps = 1.0f / deltaTime; | ||||||
|             fpsText.text = Mathf.Ceil(fps).ToString() + "FPS"; |             fpsText.text = Mathf.Ceil(fps).ToString() + "FPS"; | ||||||
|   | |||||||
| @@ -47,7 +47,7 @@ public class Shoot : NetworkBehaviour | |||||||
|             if (Input.GetButtonDown("Fire")) { |             if (Input.GetButtonDown("Fire")) { | ||||||
|                 updateCanvas = true; |                 updateCanvas = true; | ||||||
|                 Debug.Log(" click"); |                 Debug.Log(" click"); | ||||||
|                 if (weapon.AllowAction) |                 if (weapon.AllowAction && weapon.CurrentAmmunition > 0) | ||||||
|                 { |                 { | ||||||
|                     shootAnim.Recoil(0.1f); |                     shootAnim.Recoil(0.1f); | ||||||
|                 } |                 } | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ | |||||||
|       "url": "https://packages.unity.com" |       "url": "https://packages.unity.com" | ||||||
|     }, |     }, | ||||||
|     "com.unity.burst": { |     "com.unity.burst": { | ||||||
|       "version": "1.6.0", |       "version": "1.5.6", | ||||||
|       "depth": 1, |       "depth": 1, | ||||||
|       "source": "registry", |       "source": "registry", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
| @@ -69,7 +69,7 @@ | |||||||
|       "url": "https://packages.unity.com" |       "url": "https://packages.unity.com" | ||||||
|     }, |     }, | ||||||
|     "com.unity.mathematics": { |     "com.unity.mathematics": { | ||||||
|       "version": "1.2.4", |       "version": "1.2.1", | ||||||
|       "depth": 2, |       "depth": 2, | ||||||
|       "source": "registry", |       "source": "registry", | ||||||
|       "dependencies": {}, |       "dependencies": {}, | ||||||
|   | |||||||
| @@ -1,2 +1,2 @@ | |||||||
| m_EditorVersion: 2021.2.0f1 | m_EditorVersion: 2021.1.25f1 | ||||||
| m_EditorVersionWithRevision: 2021.2.0f1 (4bf1ec4b23c9) | m_EditorVersionWithRevision: 2021.1.25f1 (b6f2b893ea32) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Noah4ever
					Noah4ever