mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-10-31 05:27:07 +01:00 
			
		
		
		
	 20830538db
			
		
	
	20830538db
	
	
	
		
			
			Started working on weapons.
+ added USP weapon
    - added materials
+ added Weapon.cs script
    - Implemented shooting
+ added WeaponSwitch.cs script
+ added WeaponHolder
+ added particles (muzzleflash, muzzlesmoke)
+ added additional camera for weapon clipping
		
	
		
			
				
	
	
		
			99 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			99 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| %YAML 1.1
 | |
| %TAG !u! tag:unity3d.com,2011:
 | |
| --- !u!21 &2100000
 | |
| Material:
 | |
|   serializedVersion: 6
 | |
|   m_ObjectHideFlags: 0
 | |
|   m_CorrespondingSourceObject: {fileID: 0}
 | |
|   m_PrefabInstance: {fileID: 0}
 | |
|   m_PrefabAsset: {fileID: 0}
 | |
|   m_Name: New Material
 | |
|   m_Shader: {fileID: 210, guid: 0000000000000000f000000000000000, type: 0}
 | |
|   m_ShaderKeywords: _ALPHABLEND_ON
 | |
|   m_LightmapFlags: 0
 | |
|   m_EnableInstancingVariants: 0
 | |
|   m_DoubleSidedGI: 0
 | |
|   m_CustomRenderQueue: 3000
 | |
|   stringTagMap:
 | |
|     RenderType: Transparent
 | |
|   disabledShaderPasses:
 | |
|   - ALWAYS
 | |
|   m_SavedProperties:
 | |
|     serializedVersion: 3
 | |
|     m_TexEnvs:
 | |
|     - _BumpMap:
 | |
|         m_Texture: {fileID: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     - _DetailAlbedoMap:
 | |
|         m_Texture: {fileID: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     - _DetailMask:
 | |
|         m_Texture: {fileID: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     - _DetailNormalMap:
 | |
|         m_Texture: {fileID: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     - _EmissionMap:
 | |
|         m_Texture: {fileID: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     - _MainTex:
 | |
|         m_Texture: {fileID: 10307, guid: 0000000000000000f000000000000000, type: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     - _MetallicGlossMap:
 | |
|         m_Texture: {fileID: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     - _OcclusionMap:
 | |
|         m_Texture: {fileID: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     - _ParallaxMap:
 | |
|         m_Texture: {fileID: 0}
 | |
|         m_Scale: {x: 1, y: 1}
 | |
|         m_Offset: {x: 0, y: 0}
 | |
|     m_Ints: []
 | |
|     m_Floats:
 | |
|     - _BlendOp: 0
 | |
|     - _BumpScale: 1
 | |
|     - _CameraFadingEnabled: 0
 | |
|     - _CameraFarFadeDistance: 0
 | |
|     - _CameraNearFadeDistance: 94.04
 | |
|     - _Cull: 2
 | |
|     - _Cutoff: 0.5
 | |
|     - _DetailNormalMapScale: 1
 | |
|     - _DistortionBlend: 0
 | |
|     - _DistortionEnabled: 0
 | |
|     - _DistortionStrength: -8.28
 | |
|     - _DistortionStrengthScaled: -0.828
 | |
|     - _DstBlend: 1
 | |
|     - _EmissionEnabled: 0
 | |
|     - _FlipbookMode: 0
 | |
|     - _GlossMapScale: 1
 | |
|     - _Glossiness: 1
 | |
|     - _GlossyReflections: 1
 | |
|     - _LightingEnabled: 1
 | |
|     - _Metallic: 0.849
 | |
|     - _Mode: 4
 | |
|     - _OcclusionStrength: 1
 | |
|     - _Parallax: 0.02
 | |
|     - _SmoothnessTextureChannel: 0
 | |
|     - _SoftParticlesEnabled: 0
 | |
|     - _SoftParticlesFarFadeDistance: 27.22
 | |
|     - _SoftParticlesNearFadeDistance: 23.09
 | |
|     - _SpecularHighlights: 1
 | |
|     - _SrcBlend: 5
 | |
|     - _UVSec: 0
 | |
|     - _ZWrite: 0
 | |
|     m_Colors:
 | |
|     - _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
 | |
|     - _Color: {r: 1, g: 0.5466225, b: 0.17358488, a: 1}
 | |
|     - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
 | |
|     - _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
 | |
|   m_BuildTextureStacks: []
 |