├── .gitattributes └── Battle ├── Materials.meta ├── Materials ├── Cannon_Barrel.mat ├── Cannon_Barrel.mat.meta ├── Canon.mat ├── Canon.mat.meta ├── Canon_Holder.mat ├── Canon_Holder.mat.meta ├── Ground.mat ├── Ground.mat.meta ├── SimpleEnemy.mat ├── SimpleEnemy.mat.meta ├── Unit_Body_Team_A.mat ├── Unit_Body_Team_A.mat.meta ├── Unit_Body_Team_B.mat ├── Unit_Body_Team_B.mat.meta ├── Unit_Eye.mat ├── Unit_Eye.mat.meta ├── Unit_Holder.mat └── Unit_Holder.mat.meta ├── Pretabs.meta ├── Pretabs ├── Bot_Team_B.prefab ├── Bot_Team_B.prefab.meta ├── CannonBall.prefab ├── CannonBall.prefab.meta ├── Enemy.prefab ├── Enemy.prefab.meta ├── Mesh.meta ├── Mesh │ ├── Projectile.mtl │ ├── Projectile.mtl.meta │ ├── Projectile.obj │ └── Projectile.obj.meta ├── Projectile.prefab ├── Projectile.prefab.meta ├── Ranged Weapon.prefab ├── Ranged Weapon.prefab.meta ├── RangedWeaponMesh.prefab ├── RangedWeaponMesh.prefab.meta ├── Ranged_Weapon.meta └── Ranged_Weapon │ ├── Base.mtl │ ├── Base.mtl.meta │ ├── Base.obj │ ├── Base.obj.meta │ ├── Canon.mtl │ ├── Canon.mtl.meta │ ├── Canon.obj │ ├── Canon.obj.meta │ ├── Holder_1.mtl │ ├── Holder_1.mtl.meta │ ├── Holder_1.obj │ ├── Holder_1.obj.meta │ ├── Holder_2.mtl │ ├── Holder_2.mtl.meta │ ├── Holder_2.obj │ └── Holder_2.obj.meta ├── Scripts.meta └── Scripts ├── CannonComponentData.cs ├── CannonComponentData.cs.meta ├── EnemyComponentData.cs ├── EnemyComponentData.cs.meta ├── EnemySpawner.cs ├── EnemySpawner.cs.meta ├── EnemySystem.cs ├── EnemySystem.cs.meta ├── EntitySpawner.cs ├── EntitySpawner.cs.meta ├── GroundTag.cs ├── GroundTag.cs.meta ├── RangedWeaponParentData.cs ├── RangedWeaponParentData.cs.meta ├── RangedWeaponSpawner.cs ├── RangedWeaponSpawner.cs.meta ├── RangedWeaponSystem.cs ├── RangedWeaponSystem.cs.meta ├── ShooterComponentData.cs ├── ShooterComponentData.cs.meta ├── ShooterSystem.cs └── ShooterSystem.cs.meta /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /Battle/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c94c8360aae3eb24ea7e72acd609d2b0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/Cannon_Barrel.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Cannon_Barrel 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.524 65 | - _GlossyReflections: 1 66 | - _Metallic: 0.605 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.72156864, g: 0.4509804, b: 0.2, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/Cannon_Barrel.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 267ad1f5e0fc0c443a8ff53052c19609 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/Canon.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Canon 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.348 65 | - _GlossyReflections: 1 66 | - _Metallic: 0.259 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.9056604, g: 0.17515129, b: 0.17515129, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/Canon.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36528c8ec6e33e242ac083ecff4ead0f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/Canon_Holder.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Canon_Holder 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 1 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 0.551 64 | - _Glossiness: 0.719 65 | - _GlossyReflections: 1 66 | - _Metallic: 0.198 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 0.84313726, b: 0, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/Canon_Holder.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c40764548a50d3d4582cbd6aaa950f02 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/Ground.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Ground 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.4734295, g: 0.6415094, b: 0.21484515, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/Ground.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c9066b8c9973b349b6f700dfba7fa69 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/SimpleEnemy.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SimpleEnemy 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 1 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.217 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.007843138, g: 0.47058824, b: 0.68235296, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/SimpleEnemy.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4d359f46cd72924e9e6801cf130752e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/Unit_Body_Team_A.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Unit_Body_Team_A 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 1 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.76 65 | - _GlossyReflections: 1 66 | - _Metallic: 0.848 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.16862746, g: 0.16862746, b: 0.15686275, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/Unit_Body_Team_A.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 727cb5934bd73bc478116b84a703bb90 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/Unit_Body_Team_B.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Unit_Body_Team_B 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 1 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.236 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.92941177, g: 0.4, b: 0.3882353, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/Unit_Body_Team_B.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30544c480bee4c84f9e1d6c12357974e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/Unit_Eye.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Unit_Eye 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _EMISSION 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 1 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.591 65 | - _GlossyReflections: 1 66 | - _Metallic: 0.477 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.9411765, g: 0.32941177, b: 0.32941177, a: 1} 77 | - _EmissionColor: {r: 1.3041189, g: 0.10924557, b: 0.10924557, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/Unit_Eye.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f98b6a8d05c8824cb07c837fcf5faa9 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Materials/Unit_Holder.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Unit_Holder 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 1 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.5137255, g: 0.60784316, b: 0.5921569, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Battle/Materials/Unit_Holder.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ecc900bcacee9f448dd888814e4e412 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Pretabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58967b5d6bac15b4da0b116b614a2594 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Pretabs/Bot_Team_B.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &6133021921691598785 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 6133021921691598786} 12 | - component: {fileID: 6133021921691598797} 13 | - component: {fileID: 6133021921691598796} 14 | m_Layer: 10 15 | m_Name: Cube (1) 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &6133021921691598786 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 6133021921691598785} 28 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0.29999995, z: 0.3} 30 | m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} 31 | m_Children: 32 | - {fileID: 6133021921815982892} 33 | m_Father: {fileID: 6133021923066283898} 34 | m_RootOrder: 0 35 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 36 | --- !u!33 &6133021921691598797 37 | MeshFilter: 38 | m_ObjectHideFlags: 0 39 | m_CorrespondingSourceObject: {fileID: 0} 40 | m_PrefabInstance: {fileID: 0} 41 | m_PrefabAsset: {fileID: 0} 42 | m_GameObject: {fileID: 6133021921691598785} 43 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 44 | --- !u!23 &6133021921691598796 45 | MeshRenderer: 46 | m_ObjectHideFlags: 0 47 | m_CorrespondingSourceObject: {fileID: 0} 48 | m_PrefabInstance: {fileID: 0} 49 | m_PrefabAsset: {fileID: 0} 50 | m_GameObject: {fileID: 6133021921691598785} 51 | m_Enabled: 1 52 | m_CastShadows: 1 53 | m_ReceiveShadows: 1 54 | m_DynamicOccludee: 1 55 | m_MotionVectors: 1 56 | m_LightProbeUsage: 1 57 | m_ReflectionProbeUsage: 1 58 | m_RayTracingMode: 2 59 | m_RenderingLayerMask: 1 60 | m_RendererPriority: 0 61 | m_Materials: 62 | - {fileID: 2100000, guid: 3ecc900bcacee9f448dd888814e4e412, type: 2} 63 | m_StaticBatchInfo: 64 | firstSubMesh: 0 65 | subMeshCount: 0 66 | m_StaticBatchRoot: {fileID: 0} 67 | m_ProbeAnchor: {fileID: 0} 68 | m_LightProbeVolumeOverride: {fileID: 0} 69 | m_ScaleInLightmap: 1 70 | m_ReceiveGI: 1 71 | m_PreserveUVs: 0 72 | m_IgnoreNormalsForChartDetection: 0 73 | m_ImportantGI: 0 74 | m_StitchLightmapSeams: 1 75 | m_SelectedEditorRenderState: 3 76 | m_MinimumChartSize: 4 77 | m_AutoUVMaxDistance: 0.5 78 | m_AutoUVMaxAngle: 89 79 | m_LightmapParameters: {fileID: 0} 80 | m_SortingLayerID: 0 81 | m_SortingLayer: 0 82 | m_SortingOrder: 0 83 | --- !u!1 &6133021921815982883 84 | GameObject: 85 | m_ObjectHideFlags: 0 86 | m_CorrespondingSourceObject: {fileID: 0} 87 | m_PrefabInstance: {fileID: 0} 88 | m_PrefabAsset: {fileID: 0} 89 | serializedVersion: 6 90 | m_Component: 91 | - component: {fileID: 6133021921815982892} 92 | - component: {fileID: 6133021921815982895} 93 | - component: {fileID: 6133021921815982894} 94 | m_Layer: 10 95 | m_Name: Sphere 96 | m_TagString: Untagged 97 | m_Icon: {fileID: 0} 98 | m_NavMeshLayer: 0 99 | m_StaticEditorFlags: 0 100 | m_IsActive: 1 101 | --- !u!4 &6133021921815982892 102 | Transform: 103 | m_ObjectHideFlags: 0 104 | m_CorrespondingSourceObject: {fileID: 0} 105 | m_PrefabInstance: {fileID: 0} 106 | m_PrefabAsset: {fileID: 0} 107 | m_GameObject: {fileID: 6133021921815982883} 108 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 109 | m_LocalPosition: {x: 0, y: 0, z: 0.5} 110 | m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} 111 | m_Children: [] 112 | m_Father: {fileID: 6133021921691598786} 113 | m_RootOrder: 0 114 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 115 | --- !u!33 &6133021921815982895 116 | MeshFilter: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | m_GameObject: {fileID: 6133021921815982883} 122 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 123 | --- !u!23 &6133021921815982894 124 | MeshRenderer: 125 | m_ObjectHideFlags: 0 126 | m_CorrespondingSourceObject: {fileID: 0} 127 | m_PrefabInstance: {fileID: 0} 128 | m_PrefabAsset: {fileID: 0} 129 | m_GameObject: {fileID: 6133021921815982883} 130 | m_Enabled: 1 131 | m_CastShadows: 1 132 | m_ReceiveShadows: 1 133 | m_DynamicOccludee: 1 134 | m_MotionVectors: 1 135 | m_LightProbeUsage: 1 136 | m_ReflectionProbeUsage: 1 137 | m_RayTracingMode: 2 138 | m_RenderingLayerMask: 1 139 | m_RendererPriority: 0 140 | m_Materials: 141 | - {fileID: 2100000, guid: 4f98b6a8d05c8824cb07c837fcf5faa9, type: 2} 142 | m_StaticBatchInfo: 143 | firstSubMesh: 0 144 | subMeshCount: 0 145 | m_StaticBatchRoot: {fileID: 0} 146 | m_ProbeAnchor: {fileID: 0} 147 | m_LightProbeVolumeOverride: {fileID: 0} 148 | m_ScaleInLightmap: 1 149 | m_ReceiveGI: 1 150 | m_PreserveUVs: 0 151 | m_IgnoreNormalsForChartDetection: 0 152 | m_ImportantGI: 0 153 | m_StitchLightmapSeams: 1 154 | m_SelectedEditorRenderState: 3 155 | m_MinimumChartSize: 4 156 | m_AutoUVMaxDistance: 0.5 157 | m_AutoUVMaxAngle: 89 158 | m_LightmapParameters: {fileID: 0} 159 | m_SortingLayerID: 0 160 | m_SortingLayer: 0 161 | m_SortingOrder: 0 162 | --- !u!1 &6133021923066283901 163 | GameObject: 164 | m_ObjectHideFlags: 0 165 | m_CorrespondingSourceObject: {fileID: 0} 166 | m_PrefabInstance: {fileID: 0} 167 | m_PrefabAsset: {fileID: 0} 168 | serializedVersion: 6 169 | m_Component: 170 | - component: {fileID: 6133021923066283898} 171 | - component: {fileID: 6133021923066283897} 172 | - component: {fileID: 6133021923066283896} 173 | - component: {fileID: 6133021923066283903} 174 | - component: {fileID: 6133021923066283902} 175 | m_Layer: 10 176 | m_Name: Bot_Team_B 177 | m_TagString: Untagged 178 | m_Icon: {fileID: 0} 179 | m_NavMeshLayer: 0 180 | m_StaticEditorFlags: 0 181 | m_IsActive: 1 182 | --- !u!4 &6133021923066283898 183 | Transform: 184 | m_ObjectHideFlags: 0 185 | m_CorrespondingSourceObject: {fileID: 0} 186 | m_PrefabInstance: {fileID: 0} 187 | m_PrefabAsset: {fileID: 0} 188 | m_GameObject: {fileID: 6133021923066283901} 189 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 190 | m_LocalPosition: {x: 0, y: 2, z: 0} 191 | m_LocalScale: {x: 1, y: 1, z: 1} 192 | m_Children: 193 | - {fileID: 6133021921691598786} 194 | m_Father: {fileID: 0} 195 | m_RootOrder: 0 196 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 197 | --- !u!33 &6133021923066283897 198 | MeshFilter: 199 | m_ObjectHideFlags: 0 200 | m_CorrespondingSourceObject: {fileID: 0} 201 | m_PrefabInstance: {fileID: 0} 202 | m_PrefabAsset: {fileID: 0} 203 | m_GameObject: {fileID: 6133021923066283901} 204 | m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} 205 | --- !u!23 &6133021923066283896 206 | MeshRenderer: 207 | m_ObjectHideFlags: 0 208 | m_CorrespondingSourceObject: {fileID: 0} 209 | m_PrefabInstance: {fileID: 0} 210 | m_PrefabAsset: {fileID: 0} 211 | m_GameObject: {fileID: 6133021923066283901} 212 | m_Enabled: 1 213 | m_CastShadows: 1 214 | m_ReceiveShadows: 1 215 | m_DynamicOccludee: 1 216 | m_MotionVectors: 1 217 | m_LightProbeUsage: 1 218 | m_ReflectionProbeUsage: 1 219 | m_RayTracingMode: 2 220 | m_RenderingLayerMask: 1 221 | m_RendererPriority: 0 222 | m_Materials: 223 | - {fileID: 2100000, guid: 30544c480bee4c84f9e1d6c12357974e, type: 2} 224 | m_StaticBatchInfo: 225 | firstSubMesh: 0 226 | subMeshCount: 0 227 | m_StaticBatchRoot: {fileID: 0} 228 | m_ProbeAnchor: {fileID: 0} 229 | m_LightProbeVolumeOverride: {fileID: 0} 230 | m_ScaleInLightmap: 1 231 | m_ReceiveGI: 1 232 | m_PreserveUVs: 0 233 | m_IgnoreNormalsForChartDetection: 0 234 | m_ImportantGI: 0 235 | m_StitchLightmapSeams: 1 236 | m_SelectedEditorRenderState: 3 237 | m_MinimumChartSize: 4 238 | m_AutoUVMaxDistance: 0.5 239 | m_AutoUVMaxAngle: 89 240 | m_LightmapParameters: {fileID: 0} 241 | m_SortingLayerID: 0 242 | m_SortingLayer: 0 243 | m_SortingOrder: 0 244 | --- !u!136 &6133021923066283903 245 | CapsuleCollider: 246 | m_ObjectHideFlags: 0 247 | m_CorrespondingSourceObject: {fileID: 0} 248 | m_PrefabInstance: {fileID: 0} 249 | m_PrefabAsset: {fileID: 0} 250 | m_GameObject: {fileID: 6133021923066283901} 251 | m_Material: {fileID: 0} 252 | m_IsTrigger: 0 253 | m_Enabled: 1 254 | m_Radius: 0.75 255 | m_Height: 2 256 | m_Direction: 1 257 | m_Center: {x: 0, y: 0, z: 0} 258 | --- !u!54 &6133021923066283902 259 | Rigidbody: 260 | m_ObjectHideFlags: 0 261 | m_CorrespondingSourceObject: {fileID: 0} 262 | m_PrefabInstance: {fileID: 0} 263 | m_PrefabAsset: {fileID: 0} 264 | m_GameObject: {fileID: 6133021923066283901} 265 | serializedVersion: 2 266 | m_Mass: 100 267 | m_Drag: 0 268 | m_AngularDrag: 0.05 269 | m_UseGravity: 1 270 | m_IsKinematic: 1 271 | m_Interpolate: 0 272 | m_Constraints: 0 273 | m_CollisionDetection: 0 274 | -------------------------------------------------------------------------------- /Battle/Pretabs/Bot_Team_B.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ba1cd47a12f62a498275d6437197711 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/CannonBall.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &7793456300268973714 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 7793456300268973743} 12 | - component: {fileID: 7793456300268973742} 13 | - component: {fileID: 7793456300268973741} 14 | - component: {fileID: 246145673771296333} 15 | - component: {fileID: -8818656566086660489} 16 | m_Layer: 12 17 | m_Name: CannonBall 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 1 23 | --- !u!4 &7793456300268973743 24 | Transform: 25 | m_ObjectHideFlags: 0 26 | m_CorrespondingSourceObject: {fileID: 0} 27 | m_PrefabInstance: {fileID: 0} 28 | m_PrefabAsset: {fileID: 0} 29 | m_GameObject: {fileID: 7793456300268973714} 30 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 31 | m_LocalPosition: {x: 0, y: 0, z: 0} 32 | m_LocalScale: {x: 1, y: 1, z: 1} 33 | m_Children: [] 34 | m_Father: {fileID: 0} 35 | m_RootOrder: 0 36 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 37 | --- !u!33 &7793456300268973742 38 | MeshFilter: 39 | m_ObjectHideFlags: 0 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_GameObject: {fileID: 7793456300268973714} 44 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 45 | --- !u!23 &7793456300268973741 46 | MeshRenderer: 47 | m_ObjectHideFlags: 0 48 | m_CorrespondingSourceObject: {fileID: 0} 49 | m_PrefabInstance: {fileID: 0} 50 | m_PrefabAsset: {fileID: 0} 51 | m_GameObject: {fileID: 7793456300268973714} 52 | m_Enabled: 1 53 | m_CastShadows: 1 54 | m_ReceiveShadows: 1 55 | m_DynamicOccludee: 1 56 | m_MotionVectors: 1 57 | m_LightProbeUsage: 1 58 | m_ReflectionProbeUsage: 1 59 | m_RayTracingMode: 2 60 | m_RenderingLayerMask: 1 61 | m_RendererPriority: 0 62 | m_Materials: 63 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 64 | m_StaticBatchInfo: 65 | firstSubMesh: 0 66 | subMeshCount: 0 67 | m_StaticBatchRoot: {fileID: 0} 68 | m_ProbeAnchor: {fileID: 0} 69 | m_LightProbeVolumeOverride: {fileID: 0} 70 | m_ScaleInLightmap: 1 71 | m_ReceiveGI: 1 72 | m_PreserveUVs: 0 73 | m_IgnoreNormalsForChartDetection: 0 74 | m_ImportantGI: 0 75 | m_StitchLightmapSeams: 1 76 | m_SelectedEditorRenderState: 3 77 | m_MinimumChartSize: 4 78 | m_AutoUVMaxDistance: 0.5 79 | m_AutoUVMaxAngle: 89 80 | m_LightmapParameters: {fileID: 0} 81 | m_SortingLayerID: 0 82 | m_SortingLayer: 0 83 | m_SortingOrder: 0 84 | --- !u!135 &246145673771296333 85 | SphereCollider: 86 | m_ObjectHideFlags: 0 87 | m_CorrespondingSourceObject: {fileID: 0} 88 | m_PrefabInstance: {fileID: 0} 89 | m_PrefabAsset: {fileID: 0} 90 | m_GameObject: {fileID: 7793456300268973714} 91 | m_Material: {fileID: 0} 92 | m_IsTrigger: 0 93 | m_Enabled: 1 94 | serializedVersion: 2 95 | m_Radius: 0.5 96 | m_Center: {x: 0, y: 0, z: 0} 97 | --- !u!54 &-8818656566086660489 98 | Rigidbody: 99 | m_ObjectHideFlags: 0 100 | m_CorrespondingSourceObject: {fileID: 0} 101 | m_PrefabInstance: {fileID: 0} 102 | m_PrefabAsset: {fileID: 0} 103 | m_GameObject: {fileID: 7793456300268973714} 104 | serializedVersion: 2 105 | m_Mass: 100 106 | m_Drag: 0 107 | m_AngularDrag: 0.05 108 | m_UseGravity: 1 109 | m_IsKinematic: 0 110 | m_Interpolate: 0 111 | m_Constraints: 0 112 | m_CollisionDetection: 0 113 | -------------------------------------------------------------------------------- /Battle/Pretabs/CannonBall.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c758f03bef4a60e4f8a758bb6d9ee9c8 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Enemy.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &991926481102047033 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 991926481102047038} 12 | - component: {fileID: 991926481102047037} 13 | - component: {fileID: 991926481102047036} 14 | - component: {fileID: 991926481102047035} 15 | - component: {fileID: 991926481102047034} 16 | m_Layer: 11 17 | m_Name: Enemy 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 1 23 | --- !u!4 &991926481102047038 24 | Transform: 25 | m_ObjectHideFlags: 0 26 | m_CorrespondingSourceObject: {fileID: 0} 27 | m_PrefabInstance: {fileID: 0} 28 | m_PrefabAsset: {fileID: 0} 29 | m_GameObject: {fileID: 991926481102047033} 30 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 31 | m_LocalPosition: {x: -46, y: 1.5, z: 30} 32 | m_LocalScale: {x: 1, y: 1, z: 1} 33 | m_Children: [] 34 | m_Father: {fileID: 0} 35 | m_RootOrder: 0 36 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 37 | --- !u!33 &991926481102047037 38 | MeshFilter: 39 | m_ObjectHideFlags: 0 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_GameObject: {fileID: 991926481102047033} 44 | m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} 45 | --- !u!23 &991926481102047036 46 | MeshRenderer: 47 | m_ObjectHideFlags: 0 48 | m_CorrespondingSourceObject: {fileID: 0} 49 | m_PrefabInstance: {fileID: 0} 50 | m_PrefabAsset: {fileID: 0} 51 | m_GameObject: {fileID: 991926481102047033} 52 | m_Enabled: 1 53 | m_CastShadows: 1 54 | m_ReceiveShadows: 1 55 | m_DynamicOccludee: 1 56 | m_MotionVectors: 1 57 | m_LightProbeUsage: 1 58 | m_ReflectionProbeUsage: 1 59 | m_RayTracingMode: 2 60 | m_RenderingLayerMask: 1 61 | m_RendererPriority: 0 62 | m_Materials: 63 | - {fileID: 2100000, guid: f4d359f46cd72924e9e6801cf130752e, type: 2} 64 | m_StaticBatchInfo: 65 | firstSubMesh: 0 66 | subMeshCount: 0 67 | m_StaticBatchRoot: {fileID: 0} 68 | m_ProbeAnchor: {fileID: 0} 69 | m_LightProbeVolumeOverride: {fileID: 0} 70 | m_ScaleInLightmap: 1 71 | m_ReceiveGI: 1 72 | m_PreserveUVs: 0 73 | m_IgnoreNormalsForChartDetection: 0 74 | m_ImportantGI: 0 75 | m_StitchLightmapSeams: 1 76 | m_SelectedEditorRenderState: 3 77 | m_MinimumChartSize: 4 78 | m_AutoUVMaxDistance: 0.5 79 | m_AutoUVMaxAngle: 89 80 | m_LightmapParameters: {fileID: 0} 81 | m_SortingLayerID: 0 82 | m_SortingLayer: 0 83 | m_SortingOrder: 0 84 | --- !u!136 &991926481102047035 85 | CapsuleCollider: 86 | m_ObjectHideFlags: 0 87 | m_CorrespondingSourceObject: {fileID: 0} 88 | m_PrefabInstance: {fileID: 0} 89 | m_PrefabAsset: {fileID: 0} 90 | m_GameObject: {fileID: 991926481102047033} 91 | m_Material: {fileID: 0} 92 | m_IsTrigger: 0 93 | m_Enabled: 1 94 | m_Radius: 0.5 95 | m_Height: 2 96 | m_Direction: 1 97 | m_Center: {x: 0, y: 0, z: 0} 98 | --- !u!54 &991926481102047034 99 | Rigidbody: 100 | m_ObjectHideFlags: 0 101 | m_CorrespondingSourceObject: {fileID: 0} 102 | m_PrefabInstance: {fileID: 0} 103 | m_PrefabAsset: {fileID: 0} 104 | m_GameObject: {fileID: 991926481102047033} 105 | serializedVersion: 2 106 | m_Mass: 100 107 | m_Drag: 0 108 | m_AngularDrag: 0.05 109 | m_UseGravity: 1 110 | m_IsKinematic: 1 111 | m_Interpolate: 0 112 | m_Constraints: 0 113 | m_CollisionDetection: 0 114 | -------------------------------------------------------------------------------- /Battle/Pretabs/Enemy.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de74b7d9ca982a44dafd985cdc9fcf40 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Mesh.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 204e1054a5556a948bddccaae2202508 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Pretabs/Mesh/Projectile.mtl: -------------------------------------------------------------------------------- 1 | newmtl Unit_Eye 2 | Kd 0.9411765 0.3294118 0.3294118 3 | d 1 4 | 5 | -------------------------------------------------------------------------------- /Battle/Pretabs/Mesh/Projectile.mtl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eea131fd66787c5498449575a0e4ebfe 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Mesh/Projectile.obj: -------------------------------------------------------------------------------- 1 | # ProBuilder 4.2.3 2 | # https://unity3d.com/unity/features/worldbuilding/probuilder 3 | # 29/12/2020 21:33:24 4 | 5 | mtllib ./Projectile.mtl 6 | o Projectile 7 | 8 | g Projectile 9 | v 0.02500001 -0.02499962 1 10 | v -0.02499999 -0.02499962 1 11 | v 0.02500001 0.02500038 1 12 | v -0.02499999 0.02500038 1 13 | v -0.02499999 -0.02499962 -1 14 | v -0.02499999 0.02500038 -1 15 | v 0.02500001 -0.02499962 -1 16 | v 0.02500001 0.02500038 -1 17 | 18 | vt 0.02500001 -0.02499962 19 | vt -0.02499999 -0.02499962 20 | vt 0.02500001 0.02500038 21 | vt -0.02499999 0.02500038 22 | vt 1 -0.02499962 23 | vt -1 -0.02499962 24 | vt 1 0.02500038 25 | vt -1 0.02500038 26 | vt 0.02499999 -0.02499962 27 | vt -0.02500001 -0.02499962 28 | vt 0.02499999 0.02500038 29 | vt -0.02500001 0.02500038 30 | vt -0.02500001 1 31 | vt 0.02499999 1 32 | vt -0.02500001 -1 33 | vt 0.02499999 -1 34 | vt 0.02500001 -1 35 | vt -0.02499999 -1 36 | vt 0.02500001 1 37 | vt -0.02499999 1 38 | 39 | vn 0 0 1 40 | vn -1 0 0 41 | vn 0 0 -1 42 | vn 1 0 0 43 | vn 0 1 0 44 | vn 0 -1 0 45 | 46 | usemtl Unit_Eye 47 | f 3/3/1 4/4/1 2/2/1 1/1/1 48 | f 4/7/2 6/8/2 5/6/2 2/5/2 49 | f 6/11/3 8/12/3 7/10/3 5/9/3 50 | f 8/7/4 3/8/4 1/6/4 7/5/4 51 | f 8/15/5 6/16/5 4/14/5 3/13/5 52 | f 1/19/6 2/20/6 5/18/6 7/17/6 53 | 54 | -------------------------------------------------------------------------------- /Battle/Pretabs/Mesh/Projectile.obj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e60a4df6ffce5554f9ededfbb3a48135 3 | ModelImporter: 4 | serializedVersion: 19300 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | materialImportMode: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 0 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | sortHierarchyByName: 1 42 | importVisibility: 1 43 | importBlendShapes: 1 44 | importCameras: 1 45 | importLights: 1 46 | swapUVChannels: 0 47 | generateSecondaryUV: 0 48 | useFileUnits: 1 49 | keepQuads: 0 50 | weldVertices: 1 51 | preserveHierarchy: 0 52 | skinWeightsMode: 0 53 | maxBonesPerVertex: 4 54 | minBoneWeight: 0.001 55 | meshOptimizationFlags: -1 56 | indexFormat: 0 57 | secondaryUVAngleDistortion: 8 58 | secondaryUVAreaDistortion: 15.000001 59 | secondaryUVHardAngle: 88 60 | secondaryUVPackMargin: 4 61 | useFileScale: 1 62 | tangentSpace: 63 | normalSmoothAngle: 60 64 | normalImportMode: 0 65 | tangentImportMode: 3 66 | normalCalculationMode: 4 67 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 68 | blendShapeNormalImportMode: 1 69 | normalSmoothingSource: 0 70 | referencedClips: [] 71 | importAnimation: 1 72 | humanDescription: 73 | serializedVersion: 3 74 | human: [] 75 | skeleton: [] 76 | armTwist: 0.5 77 | foreArmTwist: 0.5 78 | upperLegTwist: 0.5 79 | legTwist: 0.5 80 | armStretch: 0.05 81 | legStretch: 0.05 82 | feetSpacing: 0 83 | globalScale: 1 84 | rootMotionBoneName: 85 | hasTranslationDoF: 0 86 | hasExtraRoot: 0 87 | skeletonHasParents: 1 88 | lastHumanDescriptionAvatarSource: {instanceID: 0} 89 | autoGenerateAvatarMappingIfUnspecified: 1 90 | animationType: 2 91 | humanoidOversampling: 1 92 | avatarSetup: 0 93 | additionalBone: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Battle/Pretabs/Projectile.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &7477852536097534174 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 7477852536097534160} 12 | - component: {fileID: 7477852536097534163} 13 | - component: {fileID: 7477852536097534162} 14 | - component: {fileID: 7477852536097534173} 15 | - component: {fileID: 7477852536097534172} 16 | - component: {fileID: 7477852536097534175} 17 | m_Layer: 12 18 | m_Name: Projectile 19 | m_TagString: Untagged 20 | m_Icon: {fileID: 0} 21 | m_NavMeshLayer: 0 22 | m_StaticEditorFlags: 0 23 | m_IsActive: 1 24 | --- !u!4 &7477852536097534160 25 | Transform: 26 | m_ObjectHideFlags: 0 27 | m_CorrespondingSourceObject: {fileID: 0} 28 | m_PrefabInstance: {fileID: 0} 29 | m_PrefabAsset: {fileID: 0} 30 | m_GameObject: {fileID: 7477852536097534174} 31 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 32 | m_LocalPosition: {x: 0, y: 0, z: 0} 33 | m_LocalScale: {x: 1, y: 1, z: 1} 34 | m_Children: [] 35 | m_Father: {fileID: 0} 36 | m_RootOrder: 0 37 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 38 | --- !u!33 &7477852536097534163 39 | MeshFilter: 40 | m_ObjectHideFlags: 0 41 | m_CorrespondingSourceObject: {fileID: 0} 42 | m_PrefabInstance: {fileID: 0} 43 | m_PrefabAsset: {fileID: 0} 44 | m_GameObject: {fileID: 7477852536097534174} 45 | m_Mesh: {fileID: 5283261607579422976, guid: e60a4df6ffce5554f9ededfbb3a48135, type: 3} 46 | --- !u!23 &7477852536097534162 47 | MeshRenderer: 48 | m_ObjectHideFlags: 0 49 | m_CorrespondingSourceObject: {fileID: 0} 50 | m_PrefabInstance: {fileID: 0} 51 | m_PrefabAsset: {fileID: 0} 52 | m_GameObject: {fileID: 7477852536097534174} 53 | m_Enabled: 1 54 | m_CastShadows: 0 55 | m_ReceiveShadows: 1 56 | m_DynamicOccludee: 1 57 | m_MotionVectors: 1 58 | m_LightProbeUsage: 1 59 | m_ReflectionProbeUsage: 1 60 | m_RayTracingMode: 2 61 | m_RenderingLayerMask: 1 62 | m_RendererPriority: 0 63 | m_Materials: 64 | - {fileID: 2100000, guid: 4f98b6a8d05c8824cb07c837fcf5faa9, type: 2} 65 | m_StaticBatchInfo: 66 | firstSubMesh: 0 67 | subMeshCount: 0 68 | m_StaticBatchRoot: {fileID: 0} 69 | m_ProbeAnchor: {fileID: 0} 70 | m_LightProbeVolumeOverride: {fileID: 0} 71 | m_ScaleInLightmap: 1 72 | m_ReceiveGI: 1 73 | m_PreserveUVs: 0 74 | m_IgnoreNormalsForChartDetection: 0 75 | m_ImportantGI: 0 76 | m_StitchLightmapSeams: 1 77 | m_SelectedEditorRenderState: 2 78 | m_MinimumChartSize: 4 79 | m_AutoUVMaxDistance: 0.5 80 | m_AutoUVMaxAngle: 89 81 | m_LightmapParameters: {fileID: 0} 82 | m_SortingLayerID: 0 83 | m_SortingLayer: 0 84 | m_SortingOrder: 0 85 | --- !u!114 &7477852536097534173 86 | MonoBehaviour: 87 | m_ObjectHideFlags: 0 88 | m_CorrespondingSourceObject: {fileID: 0} 89 | m_PrefabInstance: {fileID: 0} 90 | m_PrefabAsset: {fileID: 0} 91 | m_GameObject: {fileID: 7477852536097534174} 92 | m_Enabled: 1 93 | m_EditorHideFlags: 0 94 | m_Script: {fileID: 11500000, guid: 8233d90336aea43098adf6dbabd606a2, type: 3} 95 | m_Name: 96 | m_EditorClassIdentifier: 97 | m_MeshFormatVersion: 1 98 | m_Faces: 99 | - m_Indexes: 000000000100000002000000010000000300000002000000 100 | m_SmoothingGroup: 0 101 | m_Uv: 102 | m_UseWorldSpace: 0 103 | m_FlipU: 0 104 | m_FlipV: 0 105 | m_SwapUV: 0 106 | m_Fill: 1 107 | m_Scale: {x: 1, y: 1} 108 | m_Offset: {x: 0, y: 0} 109 | m_Rotation: 0 110 | m_Anchor: 9 111 | m_Material: {fileID: 0} 112 | m_SubmeshIndex: 0 113 | m_ManualUV: 0 114 | elementGroup: -1 115 | m_TextureGroup: -1 116 | - m_Indexes: 040000000500000006000000050000000700000006000000 117 | m_SmoothingGroup: 0 118 | m_Uv: 119 | m_UseWorldSpace: 0 120 | m_FlipU: 0 121 | m_FlipV: 0 122 | m_SwapUV: 0 123 | m_Fill: 1 124 | m_Scale: {x: 1, y: 1} 125 | m_Offset: {x: 0, y: 0} 126 | m_Rotation: 0 127 | m_Anchor: 9 128 | m_Material: {fileID: 0} 129 | m_SubmeshIndex: 0 130 | m_ManualUV: 0 131 | elementGroup: -1 132 | m_TextureGroup: -1 133 | - m_Indexes: 08000000090000000a000000090000000b0000000a000000 134 | m_SmoothingGroup: 0 135 | m_Uv: 136 | m_UseWorldSpace: 0 137 | m_FlipU: 0 138 | m_FlipV: 0 139 | m_SwapUV: 0 140 | m_Fill: 1 141 | m_Scale: {x: 1, y: 1} 142 | m_Offset: {x: 0, y: 0} 143 | m_Rotation: 0 144 | m_Anchor: 9 145 | m_Material: {fileID: 0} 146 | m_SubmeshIndex: 0 147 | m_ManualUV: 0 148 | elementGroup: -1 149 | m_TextureGroup: -1 150 | - m_Indexes: 0c0000000d0000000e0000000d0000000f0000000e000000 151 | m_SmoothingGroup: 0 152 | m_Uv: 153 | m_UseWorldSpace: 0 154 | m_FlipU: 0 155 | m_FlipV: 0 156 | m_SwapUV: 0 157 | m_Fill: 1 158 | m_Scale: {x: 1, y: 1} 159 | m_Offset: {x: 0, y: 0} 160 | m_Rotation: 0 161 | m_Anchor: 9 162 | m_Material: {fileID: 0} 163 | m_SubmeshIndex: 0 164 | m_ManualUV: 0 165 | elementGroup: -1 166 | m_TextureGroup: -1 167 | - m_Indexes: 100000001100000012000000110000001300000012000000 168 | m_SmoothingGroup: 0 169 | m_Uv: 170 | m_UseWorldSpace: 0 171 | m_FlipU: 0 172 | m_FlipV: 0 173 | m_SwapUV: 0 174 | m_Fill: 1 175 | m_Scale: {x: 1, y: 1} 176 | m_Offset: {x: 0, y: 0} 177 | m_Rotation: 0 178 | m_Anchor: 9 179 | m_Material: {fileID: 0} 180 | m_SubmeshIndex: 0 181 | m_ManualUV: 0 182 | elementGroup: -1 183 | m_TextureGroup: -1 184 | - m_Indexes: 140000001500000016000000150000001700000016000000 185 | m_SmoothingGroup: 0 186 | m_Uv: 187 | m_UseWorldSpace: 0 188 | m_FlipU: 0 189 | m_FlipV: 0 190 | m_SwapUV: 0 191 | m_Fill: 1 192 | m_Scale: {x: 1, y: 1} 193 | m_Offset: {x: 0, y: 0} 194 | m_Rotation: 0 195 | m_Anchor: 9 196 | m_Material: {fileID: 0} 197 | m_SubmeshIndex: 0 198 | m_ManualUV: 0 199 | elementGroup: -1 200 | m_TextureGroup: -1 201 | m_SharedVertices: 202 | - m_Vertices: 000000000d00000016000000 203 | - m_Vertices: 010000000400000017000000 204 | - m_Vertices: 020000000f00000010000000 205 | - m_Vertices: 030000000600000011000000 206 | - m_Vertices: 050000000800000015000000 207 | - m_Vertices: 070000000a00000013000000 208 | - m_Vertices: 090000000c00000014000000 209 | - m_Vertices: 0b0000000e00000012000000 210 | m_SharedTextures: [] 211 | m_Positions: 212 | - {x: -0.024999619, y: -0.024999619, z: 0.70000076} 213 | - {x: 0.025000382, y: -0.024999619, z: 0.70000076} 214 | - {x: -0.024999619, y: 0.025000382, z: 0.70000076} 215 | - {x: 0.025000382, y: 0.025000382, z: 0.70000076} 216 | - {x: 0.025000382, y: -0.024999619, z: 0.70000076} 217 | - {x: 0.025000382, y: -0.024999619, z: -0.6999992} 218 | - {x: 0.025000382, y: 0.025000382, z: 0.70000076} 219 | - {x: 0.025000382, y: 0.025000382, z: -0.6999992} 220 | - {x: 0.025000382, y: -0.024999619, z: -0.6999992} 221 | - {x: -0.024999619, y: -0.024999619, z: -0.6999992} 222 | - {x: 0.025000382, y: 0.025000382, z: -0.6999992} 223 | - {x: -0.024999619, y: 0.025000382, z: -0.6999992} 224 | - {x: -0.024999619, y: -0.024999619, z: -0.6999992} 225 | - {x: -0.024999619, y: -0.024999619, z: 0.70000076} 226 | - {x: -0.024999619, y: 0.025000382, z: -0.6999992} 227 | - {x: -0.024999619, y: 0.025000382, z: 0.70000076} 228 | - {x: -0.024999619, y: 0.025000382, z: 0.70000076} 229 | - {x: 0.025000382, y: 0.025000382, z: 0.70000076} 230 | - {x: -0.024999619, y: 0.025000382, z: -0.6999992} 231 | - {x: 0.025000382, y: 0.025000382, z: -0.6999992} 232 | - {x: -0.024999619, y: -0.024999619, z: -0.6999992} 233 | - {x: 0.025000382, y: -0.024999619, z: -0.6999992} 234 | - {x: -0.024999619, y: -0.024999619, z: 0.70000076} 235 | - {x: 0.025000382, y: -0.024999619, z: 0.70000076} 236 | m_Textures0: 237 | - {x: 0.024999619, y: -0.024999619} 238 | - {x: -0.025000382, y: -0.024999619} 239 | - {x: 0.024999619, y: 0.025000382} 240 | - {x: -0.025000382, y: 0.025000382} 241 | - {x: 0.70000076, y: -0.024999619} 242 | - {x: -0.6999992, y: -0.024999619} 243 | - {x: 0.70000076, y: 0.025000382} 244 | - {x: -0.6999992, y: 0.025000382} 245 | - {x: 0.025000382, y: -0.024999619} 246 | - {x: -0.024999619, y: -0.024999619} 247 | - {x: 0.025000382, y: 0.025000382} 248 | - {x: -0.024999619, y: 0.025000382} 249 | - {x: 0.6999992, y: -0.024999619} 250 | - {x: -0.70000076, y: -0.024999619} 251 | - {x: 0.6999992, y: 0.025000382} 252 | - {x: -0.70000076, y: 0.025000382} 253 | - {x: -0.024999619, y: 0.70000076} 254 | - {x: 0.025000382, y: 0.70000076} 255 | - {x: -0.024999619, y: -0.6999992} 256 | - {x: 0.025000382, y: -0.6999992} 257 | - {x: 0.024999619, y: -0.6999992} 258 | - {x: -0.025000382, y: -0.6999992} 259 | - {x: 0.024999619, y: 0.70000076} 260 | - {x: -0.025000382, y: 0.70000076} 261 | m_Textures2: [] 262 | m_Textures3: [] 263 | m_Tangents: 264 | - {x: -1, y: 0, z: 0, w: -1} 265 | - {x: -1, y: 0, z: 0, w: -1} 266 | - {x: -1, y: 0, z: 0, w: -1} 267 | - {x: -1, y: 0, z: 0, w: -1} 268 | - {x: 0, y: 0, z: 1, w: -1} 269 | - {x: 0, y: 0, z: 1, w: -1} 270 | - {x: 0, y: 0, z: 1, w: -1} 271 | - {x: 0, y: 0, z: 1, w: -1} 272 | - {x: 1, y: 0, z: 0, w: -1} 273 | - {x: 1, y: 0, z: 0, w: -1} 274 | - {x: 1, y: 0, z: 0, w: -1} 275 | - {x: 1, y: 0, z: 0, w: -1} 276 | - {x: 0, y: 0, z: -1, w: -1} 277 | - {x: 0, y: 0, z: -1, w: -1} 278 | - {x: 0, y: 0, z: -1, w: -1} 279 | - {x: 0, y: 0, z: -1, w: -1} 280 | - {x: 1, y: 0, z: 0, w: -1} 281 | - {x: 1, y: 0, z: 0, w: -1} 282 | - {x: 1, y: 0, z: 0, w: -1} 283 | - {x: 1, y: 0, z: 0, w: -1} 284 | - {x: -1, y: 0, z: 0, w: -1} 285 | - {x: -1, y: 0, z: 0, w: -1} 286 | - {x: -1, y: 0, z: 0, w: -1} 287 | - {x: -1, y: 0, z: 0, w: -1} 288 | m_Colors: [] 289 | m_UnwrapParameters: 290 | m_HardAngle: 88 291 | m_PackMargin: 20 292 | m_AngleError: 8 293 | m_AreaError: 15 294 | m_PreserveMeshAssetOnDestroy: 0 295 | assetGuid: 296 | m_IsSelectable: 1 297 | m_SelectedFaces: 298 | m_SelectedEdges: [] 299 | m_SelectedVertices: 300 | --- !u!114 &7477852536097534172 301 | MonoBehaviour: 302 | m_ObjectHideFlags: 0 303 | m_CorrespondingSourceObject: {fileID: 0} 304 | m_PrefabInstance: {fileID: 0} 305 | m_PrefabAsset: {fileID: 0} 306 | m_GameObject: {fileID: 7477852536097534174} 307 | m_Enabled: 1 308 | m_EditorHideFlags: 0 309 | m_Script: {fileID: 11500000, guid: ccea9ea98e38942e0b0938c27ed1903e, type: 3} 310 | m_Name: 311 | m_EditorClassIdentifier: 312 | m_MotionType: 1 313 | m_Mass: 1 314 | m_LinearDamping: 0.01 315 | m_AngularDamping: 0.05 316 | m_InitialLinearVelocity: 317 | x: 0 318 | y: 0 319 | z: 0 320 | m_InitialAngularVelocity: 321 | x: 0 322 | y: 0 323 | z: 0 324 | m_GravityFactor: 1 325 | m_OverrideDefaultMassDistribution: 0 326 | m_CenterOfMass: 327 | x: 0 328 | y: 0 329 | z: 0 330 | m_Orientation: 331 | Value: 332 | x: 0 333 | y: 0 334 | z: 0 335 | RotationOrder: 4 336 | m_InertiaTensor: 337 | x: 0.4 338 | y: 0.4 339 | z: 0.4 340 | m_CustomTags: 341 | Tag00: 0 342 | Tag01: 0 343 | Tag02: 0 344 | Tag03: 0 345 | Tag04: 0 346 | Tag05: 0 347 | Tag06: 0 348 | Tag07: 0 349 | --- !u!114 &7477852536097534175 350 | MonoBehaviour: 351 | m_ObjectHideFlags: 0 352 | m_CorrespondingSourceObject: {fileID: 0} 353 | m_PrefabInstance: {fileID: 0} 354 | m_PrefabAsset: {fileID: 0} 355 | m_GameObject: {fileID: 7477852536097534174} 356 | m_Enabled: 1 357 | m_EditorHideFlags: 0 358 | m_Script: {fileID: 11500000, guid: b275e5f92732148048d7b77e264ac30e, type: 3} 359 | m_Name: 360 | m_EditorClassIdentifier: 361 | m_ShapeType: 1 362 | m_PrimitiveCenter: 363 | x: 0.00000038184226 364 | y: 0.00000038184226 365 | z: 0.0000007748604 366 | m_PrimitiveSize: 367 | x: 0.1 368 | y: 0.1 369 | z: 2.15 370 | m_PrimitiveOrientation: 371 | Value: 372 | x: -0 373 | y: 0 374 | z: 0 375 | RotationOrder: 4 376 | m_Capsule: 377 | Height: 2.15 378 | Radius: 0.05 379 | Axis: 2 380 | m_Cylinder: 381 | Height: 2.15 382 | Radius: 0.05 383 | Axis: 2 384 | m_CylinderSideCount: 20 385 | m_SphereRadius: 1.075 386 | m_MinimumSkinnedVertexWeight: 0.1 387 | m_ConvexHullGenerationParameters: 388 | m_SimplificationTolerance: 0.021 389 | m_BevelRadius: 0.05 390 | m_MinimumAngle: 2.5000002 391 | m_CustomMesh: {fileID: 0} 392 | m_ForceUnique: 0 393 | m_Material: 394 | m_SupportsTemplate: 1 395 | m_Template: {fileID: 0} 396 | m_IsTrigger: 397 | m_Override: 0 398 | m_Value: 0 399 | m_Friction: 400 | m_Override: 0 401 | m_Value: 402 | Value: 0.5 403 | CombineMode: 0 404 | m_Restitution: 405 | m_Override: 0 406 | m_Value: 407 | Value: 0 408 | CombineMode: 2 409 | m_BelongsTo: 410 | m_Override: 0 411 | m_Value: 0100000000000000000000000000000000000000000000000000000000000000 412 | m_CollidesWith: 413 | m_Override: 0 414 | m_Value: 0101010101010101010101010101010101010101010101010101010101010101 415 | m_RaisesCollisionEvents: 416 | m_Override: 0 417 | m_Value: 1 418 | m_CustomTags: 419 | m_Override: 0 420 | m_Value: 0000000000000000 421 | m_ConvexRadius_Deprecated: -1 422 | -------------------------------------------------------------------------------- /Battle/Pretabs/Projectile.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df3fcee749156134fa33cec48434cfa3 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged Weapon.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7863066f29d4e0468941cf48d932468 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/RangedWeaponMesh.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &543214879966786000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 3620725053942056983} 12 | - component: {fileID: 6547401059780021417} 13 | - component: {fileID: 3418826183725951655} 14 | m_Layer: 0 15 | m_Name: Base 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &3620725053942056983 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 543214879966786000} 28 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 126421769577915492} 33 | m_RootOrder: 3 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!33 &6547401059780021417 36 | MeshFilter: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 543214879966786000} 42 | m_Mesh: {fileID: 3909233067320746374, guid: a2c81e561176c1e4da7a74d3436495ac, type: 3} 43 | --- !u!23 &3418826183725951655 44 | MeshRenderer: 45 | m_ObjectHideFlags: 0 46 | m_CorrespondingSourceObject: {fileID: 0} 47 | m_PrefabInstance: {fileID: 0} 48 | m_PrefabAsset: {fileID: 0} 49 | m_GameObject: {fileID: 543214879966786000} 50 | m_Enabled: 1 51 | m_CastShadows: 1 52 | m_ReceiveShadows: 1 53 | m_DynamicOccludee: 1 54 | m_MotionVectors: 1 55 | m_LightProbeUsage: 1 56 | m_ReflectionProbeUsage: 1 57 | m_RayTracingMode: 2 58 | m_RenderingLayerMask: 1 59 | m_RendererPriority: 0 60 | m_Materials: 61 | - {fileID: 2100000, guid: 36528c8ec6e33e242ac083ecff4ead0f, type: 2} 62 | m_StaticBatchInfo: 63 | firstSubMesh: 0 64 | subMeshCount: 0 65 | m_StaticBatchRoot: {fileID: 0} 66 | m_ProbeAnchor: {fileID: 0} 67 | m_LightProbeVolumeOverride: {fileID: 0} 68 | m_ScaleInLightmap: 1 69 | m_ReceiveGI: 1 70 | m_PreserveUVs: 0 71 | m_IgnoreNormalsForChartDetection: 0 72 | m_ImportantGI: 0 73 | m_StitchLightmapSeams: 1 74 | m_SelectedEditorRenderState: 3 75 | m_MinimumChartSize: 4 76 | m_AutoUVMaxDistance: 0.5 77 | m_AutoUVMaxAngle: 89 78 | m_LightmapParameters: {fileID: 0} 79 | m_SortingLayerID: 0 80 | m_SortingLayer: 0 81 | m_SortingOrder: 0 82 | --- !u!1 &1293368249607041010 83 | GameObject: 84 | m_ObjectHideFlags: 0 85 | m_CorrespondingSourceObject: {fileID: 0} 86 | m_PrefabInstance: {fileID: 0} 87 | m_PrefabAsset: {fileID: 0} 88 | serializedVersion: 6 89 | m_Component: 90 | - component: {fileID: 323545099788960904} 91 | - component: {fileID: 6079412597564687942} 92 | - component: {fileID: 108880631540879344} 93 | m_Layer: 0 94 | m_Name: Holder_2 95 | m_TagString: Untagged 96 | m_Icon: {fileID: 0} 97 | m_NavMeshLayer: 0 98 | m_StaticEditorFlags: 0 99 | m_IsActive: 1 100 | --- !u!4 &323545099788960904 101 | Transform: 102 | m_ObjectHideFlags: 0 103 | m_CorrespondingSourceObject: {fileID: 0} 104 | m_PrefabInstance: {fileID: 0} 105 | m_PrefabAsset: {fileID: 0} 106 | m_GameObject: {fileID: 1293368249607041010} 107 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 108 | m_LocalPosition: {x: -2.5, y: 1.5, z: -1} 109 | m_LocalScale: {x: 1, y: 1, z: 1} 110 | m_Children: [] 111 | m_Father: {fileID: 126421769577915492} 112 | m_RootOrder: 1 113 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 114 | --- !u!33 &6079412597564687942 115 | MeshFilter: 116 | m_ObjectHideFlags: 0 117 | m_CorrespondingSourceObject: {fileID: 0} 118 | m_PrefabInstance: {fileID: 0} 119 | m_PrefabAsset: {fileID: 0} 120 | m_GameObject: {fileID: 1293368249607041010} 121 | m_Mesh: {fileID: 3598851070998707487, guid: 68139fb6e48e5ec468728aebc8df826d, type: 3} 122 | --- !u!23 &108880631540879344 123 | MeshRenderer: 124 | m_ObjectHideFlags: 0 125 | m_CorrespondingSourceObject: {fileID: 0} 126 | m_PrefabInstance: {fileID: 0} 127 | m_PrefabAsset: {fileID: 0} 128 | m_GameObject: {fileID: 1293368249607041010} 129 | m_Enabled: 1 130 | m_CastShadows: 1 131 | m_ReceiveShadows: 1 132 | m_DynamicOccludee: 1 133 | m_MotionVectors: 1 134 | m_LightProbeUsage: 1 135 | m_ReflectionProbeUsage: 1 136 | m_RayTracingMode: 2 137 | m_RenderingLayerMask: 1 138 | m_RendererPriority: 0 139 | m_Materials: 140 | - {fileID: 2100000, guid: c40764548a50d3d4582cbd6aaa950f02, type: 2} 141 | m_StaticBatchInfo: 142 | firstSubMesh: 0 143 | subMeshCount: 0 144 | m_StaticBatchRoot: {fileID: 0} 145 | m_ProbeAnchor: {fileID: 0} 146 | m_LightProbeVolumeOverride: {fileID: 0} 147 | m_ScaleInLightmap: 1 148 | m_ReceiveGI: 1 149 | m_PreserveUVs: 0 150 | m_IgnoreNormalsForChartDetection: 0 151 | m_ImportantGI: 0 152 | m_StitchLightmapSeams: 1 153 | m_SelectedEditorRenderState: 3 154 | m_MinimumChartSize: 4 155 | m_AutoUVMaxDistance: 0.5 156 | m_AutoUVMaxAngle: 89 157 | m_LightmapParameters: {fileID: 0} 158 | m_SortingLayerID: 0 159 | m_SortingLayer: 0 160 | m_SortingOrder: 0 161 | --- !u!1 &2413464312577838815 162 | GameObject: 163 | m_ObjectHideFlags: 0 164 | m_CorrespondingSourceObject: {fileID: 0} 165 | m_PrefabInstance: {fileID: 0} 166 | m_PrefabAsset: {fileID: 0} 167 | serializedVersion: 6 168 | m_Component: 169 | - component: {fileID: 7152083344993381443} 170 | - component: {fileID: 1132654787678698467} 171 | - component: {fileID: 8153570812353102980} 172 | m_Layer: 0 173 | m_Name: Holder_1 174 | m_TagString: Untagged 175 | m_Icon: {fileID: 0} 176 | m_NavMeshLayer: 0 177 | m_StaticEditorFlags: 0 178 | m_IsActive: 1 179 | --- !u!4 &7152083344993381443 180 | Transform: 181 | m_ObjectHideFlags: 0 182 | m_CorrespondingSourceObject: {fileID: 0} 183 | m_PrefabInstance: {fileID: 0} 184 | m_PrefabAsset: {fileID: 0} 185 | m_GameObject: {fileID: 2413464312577838815} 186 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 187 | m_LocalPosition: {x: 2.500001, y: 1.5, z: -1} 188 | m_LocalScale: {x: 1, y: 1, z: 1} 189 | m_Children: [] 190 | m_Father: {fileID: 126421769577915492} 191 | m_RootOrder: 2 192 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 193 | --- !u!33 &1132654787678698467 194 | MeshFilter: 195 | m_ObjectHideFlags: 0 196 | m_CorrespondingSourceObject: {fileID: 0} 197 | m_PrefabInstance: {fileID: 0} 198 | m_PrefabAsset: {fileID: 0} 199 | m_GameObject: {fileID: 2413464312577838815} 200 | m_Mesh: {fileID: -6478894788383559859, guid: 1187297e54999fc41b3b5d51c7289679, type: 3} 201 | --- !u!23 &8153570812353102980 202 | MeshRenderer: 203 | m_ObjectHideFlags: 0 204 | m_CorrespondingSourceObject: {fileID: 0} 205 | m_PrefabInstance: {fileID: 0} 206 | m_PrefabAsset: {fileID: 0} 207 | m_GameObject: {fileID: 2413464312577838815} 208 | m_Enabled: 1 209 | m_CastShadows: 1 210 | m_ReceiveShadows: 1 211 | m_DynamicOccludee: 1 212 | m_MotionVectors: 1 213 | m_LightProbeUsage: 1 214 | m_ReflectionProbeUsage: 1 215 | m_RayTracingMode: 2 216 | m_RenderingLayerMask: 1 217 | m_RendererPriority: 0 218 | m_Materials: 219 | - {fileID: 2100000, guid: c40764548a50d3d4582cbd6aaa950f02, type: 2} 220 | m_StaticBatchInfo: 221 | firstSubMesh: 0 222 | subMeshCount: 0 223 | m_StaticBatchRoot: {fileID: 0} 224 | m_ProbeAnchor: {fileID: 0} 225 | m_LightProbeVolumeOverride: {fileID: 0} 226 | m_ScaleInLightmap: 1 227 | m_ReceiveGI: 1 228 | m_PreserveUVs: 0 229 | m_IgnoreNormalsForChartDetection: 0 230 | m_ImportantGI: 0 231 | m_StitchLightmapSeams: 1 232 | m_SelectedEditorRenderState: 3 233 | m_MinimumChartSize: 4 234 | m_AutoUVMaxDistance: 0.5 235 | m_AutoUVMaxAngle: 89 236 | m_LightmapParameters: {fileID: 0} 237 | m_SortingLayerID: 0 238 | m_SortingLayer: 0 239 | m_SortingOrder: 0 240 | --- !u!1 &3400435475727863855 241 | GameObject: 242 | m_ObjectHideFlags: 0 243 | m_CorrespondingSourceObject: {fileID: 0} 244 | m_PrefabInstance: {fileID: 0} 245 | m_PrefabAsset: {fileID: 0} 246 | serializedVersion: 6 247 | m_Component: 248 | - component: {fileID: 3613400078908804240} 249 | - component: {fileID: 8212531297203342094} 250 | - component: {fileID: 3572867481019965554} 251 | - component: {fileID: 2273918361671967897} 252 | m_Layer: 0 253 | m_Name: Canon 254 | m_TagString: Untagged 255 | m_Icon: {fileID: 0} 256 | m_NavMeshLayer: 0 257 | m_StaticEditorFlags: 0 258 | m_IsActive: 1 259 | --- !u!4 &3613400078908804240 260 | Transform: 261 | m_ObjectHideFlags: 0 262 | m_CorrespondingSourceObject: {fileID: 0} 263 | m_PrefabInstance: {fileID: 0} 264 | m_PrefabAsset: {fileID: 0} 265 | m_GameObject: {fileID: 3400435475727863855} 266 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 267 | m_LocalPosition: {x: 0, y: 5, z: 0} 268 | m_LocalScale: {x: 0.5, y: 0.55, z: 0.5} 269 | m_Children: [] 270 | m_Father: {fileID: 126421769577915492} 271 | m_RootOrder: 0 272 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 273 | --- !u!33 &8212531297203342094 274 | MeshFilter: 275 | m_ObjectHideFlags: 0 276 | m_CorrespondingSourceObject: {fileID: 0} 277 | m_PrefabInstance: {fileID: 0} 278 | m_PrefabAsset: {fileID: 0} 279 | m_GameObject: {fileID: 3400435475727863855} 280 | m_Mesh: {fileID: 2810924722446004444, guid: 946a90b5c0b083640b2b90f6240a31b6, type: 3} 281 | --- !u!23 &3572867481019965554 282 | MeshRenderer: 283 | m_ObjectHideFlags: 0 284 | m_CorrespondingSourceObject: {fileID: 0} 285 | m_PrefabInstance: {fileID: 0} 286 | m_PrefabAsset: {fileID: 0} 287 | m_GameObject: {fileID: 3400435475727863855} 288 | m_Enabled: 1 289 | m_CastShadows: 1 290 | m_ReceiveShadows: 1 291 | m_DynamicOccludee: 1 292 | m_MotionVectors: 1 293 | m_LightProbeUsage: 1 294 | m_ReflectionProbeUsage: 1 295 | m_RayTracingMode: 2 296 | m_RenderingLayerMask: 1 297 | m_RendererPriority: 0 298 | m_Materials: 299 | - {fileID: 2100000, guid: 36528c8ec6e33e242ac083ecff4ead0f, type: 2} 300 | m_StaticBatchInfo: 301 | firstSubMesh: 0 302 | subMeshCount: 0 303 | m_StaticBatchRoot: {fileID: 0} 304 | m_ProbeAnchor: {fileID: 0} 305 | m_LightProbeVolumeOverride: {fileID: 0} 306 | m_ScaleInLightmap: 1 307 | m_ReceiveGI: 1 308 | m_PreserveUVs: 0 309 | m_IgnoreNormalsForChartDetection: 0 310 | m_ImportantGI: 0 311 | m_StitchLightmapSeams: 1 312 | m_SelectedEditorRenderState: 3 313 | m_MinimumChartSize: 4 314 | m_AutoUVMaxDistance: 0.5 315 | m_AutoUVMaxAngle: 89 316 | m_LightmapParameters: {fileID: 0} 317 | m_SortingLayerID: 0 318 | m_SortingLayer: 0 319 | m_SortingOrder: 0 320 | --- !u!114 &2273918361671967897 321 | MonoBehaviour: 322 | m_ObjectHideFlags: 0 323 | m_CorrespondingSourceObject: {fileID: 0} 324 | m_PrefabInstance: {fileID: 0} 325 | m_PrefabAsset: {fileID: 0} 326 | m_GameObject: {fileID: 3400435475727863855} 327 | m_Enabled: 1 328 | m_EditorHideFlags: 0 329 | m_Script: {fileID: 11500000, guid: 3a3dabce7c94aca4a9427bc79b70fe44, type: 3} 330 | m_Name: 331 | m_EditorClassIdentifier: 332 | elapsedTime: 0 333 | --- !u!1 &4391911426606794421 334 | GameObject: 335 | m_ObjectHideFlags: 0 336 | m_CorrespondingSourceObject: {fileID: 0} 337 | m_PrefabInstance: {fileID: 0} 338 | m_PrefabAsset: {fileID: 0} 339 | serializedVersion: 6 340 | m_Component: 341 | - component: {fileID: 126421769577915492} 342 | - component: {fileID: 8693811876382091262} 343 | m_Layer: 0 344 | m_Name: RangedWeaponMesh 345 | m_TagString: Untagged 346 | m_Icon: {fileID: 0} 347 | m_NavMeshLayer: 0 348 | m_StaticEditorFlags: 0 349 | m_IsActive: 1 350 | --- !u!4 &126421769577915492 351 | Transform: 352 | m_ObjectHideFlags: 0 353 | m_CorrespondingSourceObject: {fileID: 0} 354 | m_PrefabInstance: {fileID: 0} 355 | m_PrefabAsset: {fileID: 0} 356 | m_GameObject: {fileID: 4391911426606794421} 357 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 358 | m_LocalPosition: {x: 0, y: 1.5, z: 0} 359 | m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} 360 | m_Children: 361 | - {fileID: 3613400078908804240} 362 | - {fileID: 323545099788960904} 363 | - {fileID: 7152083344993381443} 364 | - {fileID: 3620725053942056983} 365 | m_Father: {fileID: 0} 366 | m_RootOrder: 0 367 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 368 | --- !u!65 &8693811876382091262 369 | BoxCollider: 370 | m_ObjectHideFlags: 0 371 | m_CorrespondingSourceObject: {fileID: 0} 372 | m_PrefabInstance: {fileID: 0} 373 | m_PrefabAsset: {fileID: 0} 374 | m_GameObject: {fileID: 4391911426606794421} 375 | m_Material: {fileID: 0} 376 | m_IsTrigger: 0 377 | m_Enabled: 1 378 | serializedVersion: 2 379 | m_Size: {x: 8.508256, y: 1.7334661, z: 9.77211} 380 | m_Center: {x: -0.11354017, y: 0.36673307, z: 0.090423584} 381 | -------------------------------------------------------------------------------- /Battle/Pretabs/RangedWeaponMesh.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccec2ffac7efa364e916bb3135d03bd7 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5d86d55e69b3dc4b8c633046a29c5e2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Base.mtl: -------------------------------------------------------------------------------- 1 | newmtl Canon 2 | Kd 0.9372549 0.3098039 0.3098039 3 | d 1 4 | 5 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Base.mtl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0170e39ef728d6d47b34b55d11010aa2 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Base.obj: -------------------------------------------------------------------------------- 1 | # ProBuilder 4.2.3 2 | # https://unity3d.com/unity/features/worldbuilding/probuilder 3 | # 17/01/2021 19:01:49 4 | 5 | mtllib ./Base.mtl 6 | o Base 7 | 8 | g Base 9 | v -4 -0.5 0 10 | v -4 0.5 0 11 | v -3.804226 -0.5 1.236068 12 | v -3.804226 0.5 1.236068 13 | v -3.236068 -0.5 2.351141 14 | v -3.236068 0.5 2.351141 15 | v -2.351141 -0.5 3.236068 16 | v -2.351141 0.5 3.236068 17 | v -1.236068 -0.5 3.804226 18 | v -1.236068 0.5 3.804226 19 | v 0 -0.5 4 20 | v 0 0.5 4 21 | v 1.236068 -0.5 3.804226 22 | v 1.236068 0.5 3.804226 23 | v 2.351141 -0.5 3.236068 24 | v 2.351141 0.5 3.236068 25 | v 3.236068 -0.5 2.351141 26 | v 3.236068 0.5 2.351141 27 | v 3.804226 -0.5 1.236068 28 | v 3.804226 0.5 1.236068 29 | v 4 -0.5 -3.496911E-07 30 | v 4 0.5 -3.496911E-07 31 | v 3.804226 -0.5 -1.236068 32 | v 3.804226 0.5 -1.236068 33 | v 3.236068 -0.5 -2.35114 34 | v 3.236068 0.5 -2.35114 35 | v 2.351142 -0.5 -3.236067 36 | v 2.351142 0.5 -3.236067 37 | v 1.236068 -0.5 -3.804226 38 | v 1.236068 0.5 -3.804226 39 | v 0 -0.5 -4 40 | v 0 0.5 -4 41 | v -1.236068 -0.5 -3.804226 42 | v -1.236068 0.5 -3.804226 43 | v -2.35114 -0.5 -3.236068 44 | v -2.35114 0.5 -3.236068 45 | v -3.236068 -0.5 -2.351141 46 | v -3.236068 0.5 -2.351141 47 | v -3.804226 -0.5 -1.236068 48 | v -3.804226 0.5 -1.236068 49 | v 0 -0.5 0 50 | v 0 0.5 0 51 | 52 | vt -0.6257375 -0.5 53 | vt -0.6257375 0.5 54 | vt 0.6257382 -0.5 55 | vt 0.6257382 0.5 56 | vt -4 0 57 | vt 0 0 58 | vt -3.804226 1.236068 59 | vt 4 0 60 | vt 3.804226 1.236068 61 | vt -3.236068 2.351141 62 | vt 3.236068 2.351141 63 | vt -2.351141 3.236068 64 | vt 2.351141 3.236068 65 | vt -1.236068 3.804226 66 | vt 1.236068 3.804226 67 | vt 0 4 68 | vt 3.804226 -1.236068 69 | vt -3.804226 -1.236068 70 | vt 3.236068 -2.35114 71 | vt -3.236068 -2.35114 72 | vt 2.351142 -3.236067 73 | vt -2.351142 -3.236067 74 | vt 1.236068 -3.804226 75 | vt -1.236068 -3.804226 76 | vt 0 -4 77 | 78 | vn -1 0 -1.508691E-08 79 | vn -0.9510565 0 0.309017 80 | vn -0.809017 0 0.5877852 81 | vn -0.5877852 0 0.809017 82 | vn -0.3090169 0 0.9510565 83 | vn 0 0 1 84 | vn 0.3090169 0 0.9510565 85 | vn 0.5877852 0 0.809017 86 | vn 0.8090171 0 0.5877852 87 | vn 0.9510565 0 0.3090169 88 | vn 1 0 -5.280417E-08 89 | vn 0.9510565 0 -0.309017 90 | vn 0.8090171 0 -0.5877851 91 | vn 0.5877854 0 -0.8090168 92 | vn 0.3090171 0 -0.9510565 93 | vn 7.543453E-09 0 -1 94 | vn -0.309017 0 -0.9510565 95 | vn -0.5877852 0 -0.8090171 96 | vn -0.8090169 0 -0.5877853 97 | vn -0.9510565 0 -0.309017 98 | vn 0 -1 0 99 | vn 0 1 0 100 | 101 | usemtl Canon 102 | f 1/5/21 41/6/21 3/7/21 103 | f 3/7/21 41/6/21 5/10/21 104 | f 5/10/21 41/6/21 7/12/21 105 | f 7/12/21 41/6/21 9/14/21 106 | f 9/14/21 41/6/21 11/16/21 107 | f 11/16/21 41/6/21 13/15/21 108 | f 13/15/21 41/6/21 15/13/21 109 | f 15/13/21 41/6/21 17/11/21 110 | f 17/11/21 41/6/21 19/9/21 111 | f 19/9/21 41/6/21 21/8/21 112 | f 21/8/21 41/6/21 23/17/21 113 | f 23/17/21 41/6/21 25/19/21 114 | f 25/19/21 41/6/21 27/21/21 115 | f 27/21/21 41/6/21 29/23/21 116 | f 29/23/21 41/6/21 31/25/21 117 | f 31/25/21 41/6/21 33/24/21 118 | f 33/24/21 41/6/21 35/22/21 119 | f 35/22/21 41/6/21 37/20/21 120 | f 37/20/21 41/6/21 39/18/21 121 | f 39/18/21 41/6/21 1/5/21 122 | f 4/9/22 42/6/22 2/8/22 123 | f 6/11/22 42/6/22 4/9/22 124 | f 8/13/22 42/6/22 6/11/22 125 | f 10/15/22 42/6/22 8/13/22 126 | f 12/16/22 42/6/22 10/15/22 127 | f 14/14/22 42/6/22 12/16/22 128 | f 16/12/22 42/6/22 14/14/22 129 | f 18/10/22 42/6/22 16/12/22 130 | f 20/7/22 42/6/22 18/10/22 131 | f 22/5/22 42/6/22 20/7/22 132 | f 24/18/22 42/6/22 22/5/22 133 | f 26/20/22 42/6/22 24/18/22 134 | f 28/22/22 42/6/22 26/20/22 135 | f 30/24/22 42/6/22 28/22/22 136 | f 32/25/22 42/6/22 30/24/22 137 | f 34/23/22 42/6/22 32/25/22 138 | f 36/21/22 42/6/22 34/23/22 139 | f 38/19/22 42/6/22 36/21/22 140 | f 40/17/22 42/6/22 38/19/22 141 | f 2/8/22 42/6/22 40/17/22 142 | f 4/4/2 2/2/1 1/1/1 143 | f 1/1/1 3/3/2 4/4/2 144 | f 6/4/3 4/2/2 3/1/2 145 | f 3/1/2 5/3/3 6/4/3 146 | f 8/4/4 6/2/3 5/1/3 147 | f 5/1/3 7/3/4 8/4/4 148 | f 10/4/5 8/2/4 7/1/4 149 | f 7/1/4 9/3/5 10/4/5 150 | f 12/4/6 10/2/5 9/1/5 151 | f 9/1/5 11/3/6 12/4/6 152 | f 14/4/7 12/2/6 11/1/6 153 | f 11/1/6 13/3/7 14/4/7 154 | f 16/4/8 14/2/7 13/1/7 155 | f 13/1/7 15/3/8 16/4/8 156 | f 18/4/9 16/2/8 15/1/8 157 | f 15/1/8 17/3/9 18/4/9 158 | f 20/4/10 18/2/9 17/1/9 159 | f 17/1/9 19/3/10 20/4/10 160 | f 22/4/11 20/2/10 19/1/10 161 | f 19/1/10 21/3/11 22/4/11 162 | f 24/4/12 22/2/11 21/1/11 163 | f 21/1/11 23/3/12 24/4/12 164 | f 26/4/13 24/2/12 23/1/12 165 | f 23/1/12 25/3/13 26/4/13 166 | f 28/4/14 26/2/13 25/1/13 167 | f 25/1/13 27/3/14 28/4/14 168 | f 30/4/15 28/2/14 27/1/14 169 | f 27/1/14 29/3/15 30/4/15 170 | f 32/4/16 30/2/15 29/1/15 171 | f 29/1/15 31/3/16 32/4/16 172 | f 34/4/17 32/2/16 31/1/16 173 | f 31/1/16 33/3/17 34/4/17 174 | f 36/4/18 34/2/17 33/1/17 175 | f 33/1/17 35/3/18 36/4/18 176 | f 38/4/19 36/2/18 35/1/18 177 | f 35/1/18 37/3/19 38/4/19 178 | f 40/4/20 38/2/19 37/1/19 179 | f 37/1/19 39/3/20 40/4/20 180 | f 2/4/1 40/2/20 39/1/20 181 | f 39/1/20 1/3/1 2/4/1 182 | 183 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Base.obj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2c81e561176c1e4da7a74d3436495ac 3 | ModelImporter: 4 | serializedVersion: 19300 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | materialImportMode: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 0 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | sortHierarchyByName: 1 42 | importVisibility: 1 43 | importBlendShapes: 1 44 | importCameras: 1 45 | importLights: 1 46 | swapUVChannels: 0 47 | generateSecondaryUV: 0 48 | useFileUnits: 1 49 | keepQuads: 0 50 | weldVertices: 1 51 | preserveHierarchy: 0 52 | skinWeightsMode: 0 53 | maxBonesPerVertex: 4 54 | minBoneWeight: 0.001 55 | meshOptimizationFlags: -1 56 | indexFormat: 0 57 | secondaryUVAngleDistortion: 8 58 | secondaryUVAreaDistortion: 15.000001 59 | secondaryUVHardAngle: 88 60 | secondaryUVPackMargin: 4 61 | useFileScale: 1 62 | tangentSpace: 63 | normalSmoothAngle: 60 64 | normalImportMode: 0 65 | tangentImportMode: 3 66 | normalCalculationMode: 4 67 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 68 | blendShapeNormalImportMode: 1 69 | normalSmoothingSource: 0 70 | referencedClips: [] 71 | importAnimation: 1 72 | humanDescription: 73 | serializedVersion: 3 74 | human: [] 75 | skeleton: [] 76 | armTwist: 0.5 77 | foreArmTwist: 0.5 78 | upperLegTwist: 0.5 79 | legTwist: 0.5 80 | armStretch: 0.05 81 | legStretch: 0.05 82 | feetSpacing: 0 83 | globalScale: 1 84 | rootMotionBoneName: 85 | hasTranslationDoF: 0 86 | hasExtraRoot: 0 87 | skeletonHasParents: 1 88 | lastHumanDescriptionAvatarSource: {instanceID: 0} 89 | autoGenerateAvatarMappingIfUnspecified: 1 90 | animationType: 2 91 | humanoidOversampling: 1 92 | avatarSetup: 0 93 | additionalBone: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Canon.mtl: -------------------------------------------------------------------------------- 1 | newmtl Canon 2 | Kd 0.9372549 0.3098039 0.3098039 3 | d 1 4 | 5 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Canon.mtl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1cabea46706a554297e56aece345ff5 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Canon.obj: -------------------------------------------------------------------------------- 1 | # ProBuilder 4.2.3 2 | # https://unity3d.com/unity/features/worldbuilding/probuilder 3 | # 17/01/2021 19:01:48 4 | 5 | mtllib ./Canon.mtl 6 | o Canon 7 | 8 | g Canon 9 | v -4 -5.00005 0 10 | v -4 4.99995 0 11 | v -3.804226 -5.00005 1.236068 12 | v -3.804226 4.99995 1.236068 13 | v -3.236068 -5.00005 2.351141 14 | v -3.236068 4.99995 2.351141 15 | v -2.351141 -5.00005 3.236068 16 | v -2.351141 4.99995 3.236068 17 | v -1.236068 -5.00005 3.804226 18 | v -1.236068 4.99995 3.804226 19 | v 0 -5.00005 4 20 | v 0 4.99995 4 21 | v 1.236068 -5.00005 3.804226 22 | v 1.236068 4.99995 3.804226 23 | v 2.351141 -5.00005 3.236068 24 | v 2.351141 4.99995 3.236068 25 | v 3.236068 -5.00005 2.351141 26 | v 3.236068 4.99995 2.351141 27 | v 3.804226 -5.00005 1.236068 28 | v 3.804226 4.99995 1.236068 29 | v 4 -5.00005 -3.496911E-07 30 | v 4 4.99995 -3.496911E-07 31 | v 3.804226 -5.00005 -1.236068 32 | v 3.804226 4.99995 -1.236068 33 | v 3.236068 -5.00005 -2.35114 34 | v 3.236068 4.99995 -2.35114 35 | v 2.351142 -5.00005 -3.236067 36 | v 2.351142 4.99995 -3.236067 37 | v 1.236068 -5.00005 -3.804226 38 | v 1.236068 4.99995 -3.804226 39 | v 0 -5.00005 -4 40 | v 0 4.99995 -4 41 | v -1.236068 -5.00005 -3.804226 42 | v -1.236068 4.99995 -3.804226 43 | v -2.35114 -5.00005 -3.236068 44 | v -2.35114 4.99995 -3.236068 45 | v -3.236068 -5.00005 -2.351141 46 | v -3.236068 4.99995 -2.351141 47 | v -3.804226 -5.00005 -1.236068 48 | v -3.804226 4.99995 -1.236068 49 | v 0 -5.00005 0 50 | v -3.301566 -4.49995 0 51 | v 0 -4.49995 0 52 | v -3.139977 -4.49995 1.043493 53 | v -2.671023 -4.49995 1.984841 54 | v -1.940612 -4.49995 2.731899 55 | v -1.02024 -4.49995 3.21154 56 | v 0 -4.49995 3.376813 57 | v 1.02024 -4.49995 3.21154 58 | v 1.940612 -4.49995 2.731899 59 | v 2.671024 -4.49995 1.984841 60 | v 3.139977 -4.49995 1.043493 61 | v 3.301566 -4.49995 -4.768372E-07 62 | v 3.139977 -4.49995 -1.043492 63 | v 2.671024 -4.49995 -1.984841 64 | v 1.940613 -4.49995 -2.731899 65 | v 1.020241 -4.49995 -3.21154 66 | v 0 -4.49995 -3.376813 67 | v -1.020241 -4.49995 -3.21154 68 | v -1.940611 -4.49995 -2.7319 69 | v -2.671023 -4.49995 -1.984841 70 | v -3.139977 -4.49995 -1.043492 71 | v -3.139977 5.00005 -1.043492 72 | v -2.671023 5.00005 -1.984841 73 | v -3.301566 5.00005 0 74 | v -1.940611 5.00005 -2.7319 75 | v -1.020241 5.00005 -3.21154 76 | v 0 5.00005 -3.376813 77 | v 1.020241 5.00005 -3.21154 78 | v 1.940613 5.00005 -2.731899 79 | v 2.671024 5.00005 -1.984841 80 | v 3.139977 5.00005 -1.043492 81 | v 3.301566 5.00005 -4.768372E-07 82 | v 3.139977 5.00005 1.043493 83 | v 2.671024 5.00005 1.984841 84 | v 1.940612 5.00005 2.731899 85 | v 1.02024 5.00005 3.21154 86 | v 0 5.00005 3.376813 87 | v -1.02024 5.00005 3.21154 88 | v -1.940612 5.00005 2.731899 89 | v -2.671023 5.00005 1.984841 90 | v -3.139977 5.00005 1.043493 91 | v -3.139977 -1.49995 -1.043492 92 | v -2.671023 -1.49995 -1.984841 93 | v -3.301566 -1.49995 0 94 | v -1.940611 -1.49995 -2.7319 95 | v -1.020241 -1.49995 -3.21154 96 | v 0 -1.49995 -3.376813 97 | v 1.020241 -1.49995 -3.21154 98 | v 1.940613 -1.49995 -2.731899 99 | v 2.671024 -1.49995 -1.984841 100 | v 3.139977 -1.49995 -1.043492 101 | v 3.301566 -1.49995 -4.768372E-07 102 | v 3.139977 -1.49995 1.043493 103 | v 2.671024 -1.49995 1.984841 104 | v 1.940612 -1.49995 2.731899 105 | v 1.02024 -1.49995 3.21154 106 | v 0 -1.49995 3.376813 107 | v -1.02024 -1.49995 3.21154 108 | v -1.940612 -1.49995 2.731899 109 | v -2.671023 -1.49995 1.984841 110 | v -3.139977 -1.49995 1.043493 111 | 112 | vt -0.6257376 -5.00005 113 | vt -0.6257376 4.99995 114 | vt 0.6257381 -5.00005 115 | vt 0.6257381 4.99995 116 | vt -4 0 117 | vt 0 0 118 | vt -3.804226 1.236068 119 | vt 3.301566 0 120 | vt 3.139977 1.043493 121 | vt -3.236068 2.351141 122 | vt 2.671023 1.984841 123 | vt -2.351141 3.236068 124 | vt 1.940612 2.731899 125 | vt -1.236068 3.804226 126 | vt 1.02024 3.21154 127 | vt 0 4 128 | vt 0 3.376813 129 | vt 1.236068 3.804226 130 | vt -1.02024 3.21154 131 | vt 2.351141 3.236068 132 | vt -1.940612 2.731899 133 | vt 3.236068 2.351141 134 | vt -2.671024 1.984841 135 | vt 3.804226 1.236068 136 | vt -3.139977 1.043493 137 | vt 4 -3.496911E-07 138 | vt -3.301566 -4.768372E-07 139 | vt 3.804226 -1.236068 140 | vt -3.139977 -1.043492 141 | vt 3.236068 -2.35114 142 | vt -2.671024 -1.984841 143 | vt 2.351142 -3.236067 144 | vt -1.940613 -2.731899 145 | vt 1.236068 -3.804226 146 | vt -1.020241 -3.21154 147 | vt 0 -4 148 | vt 0 -3.376813 149 | vt -1.236068 -3.804226 150 | vt 1.020241 -3.21154 151 | vt -2.35114 -3.236068 152 | vt 1.940611 -2.7319 153 | vt -3.236068 -2.351141 154 | vt 2.671023 -1.984841 155 | vt -3.804226 -1.236068 156 | vt 3.139977 -1.043492 157 | vt 3.803569 -1.235733 158 | vt 3.235411 -2.350806 159 | vt 3.13932 -1.043158 160 | vt 2.670367 -1.984507 161 | vt 3.999283 0.0001135513 162 | vt 3.300849 0.0001135513 163 | vt 3.23553 -2.350604 164 | vt 2.350603 -3.235531 165 | vt 2.670486 -1.984304 166 | vt 1.940074 -2.731363 167 | vt 2.350783 -3.235367 168 | vt 1.235711 -3.803524 169 | vt 1.019883 -3.210838 170 | vt 1.235942 -3.803427 171 | vt -0.0001265 -3.999201 172 | vt 1.020114 -3.210742 173 | vt -0.0001265025 -3.376015 174 | vt -1.235941 -3.803422 175 | vt -1.020114 -3.210737 176 | vt -1.235705 -3.803513 177 | vt -2.350779 -3.235355 178 | vt -1.019878 -3.210828 179 | vt -1.94025 -2.731186 180 | vt -2.350595 -3.23552 181 | vt -3.235521 -2.350593 182 | vt -2.670477 -1.984293 183 | vt -3.235402 -2.350801 184 | vt -3.80356 -1.235729 185 | vt -2.670358 -1.984501 186 | vt -3.13931 -1.043153 187 | vt -3.999279 0.0001138038 188 | vt -3.300845 0.0001136767 189 | vt -3.803509 1.235955 190 | vt -3.13926 1.043379 191 | vt -3.235411 2.350806 192 | vt -2.670367 1.984506 193 | vt -3.235531 2.350603 194 | vt -2.350603 3.23553 195 | vt -2.670487 1.984303 196 | vt -1.940074 2.731362 197 | vt -2.350783 3.235366 198 | vt -1.23571 3.803524 199 | vt -1.019882 3.210839 200 | vt -1.235941 3.803427 201 | vt 0.0001264999 3.999201 202 | vt -1.020113 3.210742 203 | vt 0.0001265025 3.376015 204 | vt 1.235941 3.803423 205 | vt 1.020113 3.210737 206 | vt 1.235705 3.803514 207 | vt 2.350778 3.235355 208 | vt 1.019877 3.210828 209 | vt 1.940249 2.731187 210 | vt 2.350594 3.235521 211 | vt 3.235521 2.350594 212 | vt 2.670476 1.984294 213 | vt 3.235402 2.350801 214 | vt 3.80356 1.235729 215 | vt 2.670357 1.984502 216 | vt 3.13931 1.043153 217 | vt -0.466117 5.00005 218 | vt 0.5855746 5.00005 219 | vt -0.466117 -1.49995 220 | vt 0.5855746 -1.49995 221 | vt -0.5052409 5.00005 222 | vt 0.5506887 5.00005 223 | vt -0.5052409 -1.49995 224 | vt 0.5506887 -1.49995 225 | vt -0.4480819 5.00005 226 | vt 0.5967141 5.00005 227 | vt -0.4480819 -1.49995 228 | vt 0.5967141 -1.49995 229 | vt -0.4584015 5.00005 230 | vt 0.5794504 5.00005 231 | vt -0.4584015 -1.49995 232 | vt 0.5794504 -1.49995 233 | vt -0.4935555 5.00005 234 | vt 0.5399852 5.00005 235 | vt -0.4935555 -1.49995 236 | vt 0.5399852 -1.49995 237 | vt -0.5399852 5.00005 238 | vt 0.4935555 5.00005 239 | vt -0.5399852 -1.49995 240 | vt 0.4935555 -1.49995 241 | vt -0.5794523 5.00005 242 | vt 0.4584016 5.00005 243 | vt -0.5794523 -1.49995 244 | vt 0.4584016 -1.49995 245 | vt -0.596711 5.00005 246 | vt 0.448084 5.00005 247 | vt -0.596711 -1.49995 248 | vt 0.448084 -1.49995 249 | vt -0.5855756 5.00005 250 | vt 0.466115 5.00005 251 | vt -0.5855756 -1.49995 252 | vt 0.466115 -1.49995 253 | vt -0.5506886 5.00005 254 | vt 0.5052407 5.00005 255 | vt -0.5506886 -1.49995 256 | vt 0.5052407 -1.49995 257 | vt -0.466117 -4.49995 258 | vt 0.5855744 -4.49995 259 | vt -0.5052409 -4.49995 260 | vt 0.5506887 -4.49995 261 | vt -0.448082 -4.49995 262 | vt 0.596714 -4.49995 263 | vt -0.4584016 -4.49995 264 | vt 0.5794503 -4.49995 265 | vt -0.4935555 -4.49995 266 | vt 0.5399852 -4.49995 267 | vt -0.5399852 -4.49995 268 | vt 0.4935555 -4.49995 269 | vt -0.5794523 -4.49995 270 | vt 0.4584016 -4.49995 271 | vt -0.596711 -4.49995 272 | vt 0.448084 -4.49995 273 | vt -0.5855756 -4.49995 274 | vt 0.466115 -4.49995 275 | vt -0.5506885 -4.49995 276 | vt 0.5052406 -4.49995 277 | 278 | vn -1 0 -1.508691E-08 279 | vn -0.9510565 0 0.309017 280 | vn -0.809017 0 0.5877852 281 | vn -0.5877852 0 0.809017 282 | vn -0.3090169 0 0.9510565 283 | vn 0 0 1 284 | vn 0.309017 0 0.9510565 285 | vn 0.5877852 0 0.809017 286 | vn 0.809017 0 0.5877852 287 | vn 0.9510565 0 0.3090169 288 | vn 1 0 -6.034762E-08 289 | vn 0.9510565 0 -0.309017 290 | vn 0.8090171 0 -0.5877851 291 | vn 0.5877854 0 -0.8090169 292 | vn 0.3090171 0 -0.9510565 293 | vn 2.263036E-08 0 -1 294 | vn -0.309017 0 -0.9510565 295 | vn -0.5877852 0 -0.8090171 296 | vn -0.8090169 0 -0.5877854 297 | vn -0.9510565 0 -0.309017 298 | vn 0 -1 0 299 | vn 0 1 0 300 | vn 0.895081 0 0.4459037 301 | vn 0.9882215 0 0.1530307 302 | vn 0.7150285 0 0.6990953 303 | vn 0.4621469 0 0.8868034 304 | vn 0.1599097 0 0.9871317 305 | vn -0.1599097 0 0.9871317 306 | vn -0.4621474 0 0.8868032 307 | vn -0.7150282 0 0.6990955 308 | vn -0.8950812 0 0.4459032 309 | vn -0.9882215 0 0.1530308 310 | vn -0.9882215 0 -0.1530305 311 | vn -0.8950811 0 -0.4459033 312 | vn -0.7150282 0 -0.6990957 313 | vn -0.462147 0 -0.8868033 314 | vn -0.1599096 0 -0.9871317 315 | vn 0.1599096 0 -0.9871317 316 | vn 0.462147 0 -0.8868033 317 | vn 0.7150285 0 -0.6990953 318 | vn 0.8950808 0 -0.445904 319 | vn 0.9882215 0 -0.1530306 320 | 321 | usemtl Canon 322 | f 1/5/21 41/6/21 3/7/21 323 | f 3/7/21 41/6/21 5/10/21 324 | f 5/10/21 41/6/21 7/12/21 325 | f 7/12/21 41/6/21 9/14/21 326 | f 9/14/21 41/6/21 11/16/21 327 | f 11/16/21 41/6/21 13/18/21 328 | f 13/18/21 41/6/21 15/20/21 329 | f 15/20/21 41/6/21 17/22/21 330 | f 17/22/21 41/6/21 19/24/21 331 | f 19/24/21 41/6/21 21/26/21 332 | f 21/26/21 41/6/21 23/28/21 333 | f 23/28/21 41/6/21 25/30/21 334 | f 25/30/21 41/6/21 27/32/21 335 | f 27/32/21 41/6/21 29/34/21 336 | f 29/34/21 41/6/21 31/36/21 337 | f 31/36/21 41/6/21 33/38/21 338 | f 33/38/21 41/6/21 35/40/21 339 | f 35/40/21 41/6/21 37/42/21 340 | f 37/42/21 41/6/21 39/44/21 341 | f 39/44/21 41/6/21 1/5/21 342 | f 44/9/22 43/6/22 42/8/22 343 | f 45/11/22 43/6/22 44/9/22 344 | f 46/13/22 43/6/22 45/11/22 345 | f 47/15/22 43/6/22 46/13/22 346 | f 48/17/22 43/6/22 47/15/22 347 | f 49/19/22 43/6/22 48/17/22 348 | f 50/21/22 43/6/22 49/19/22 349 | f 51/23/22 43/6/22 50/21/22 350 | f 52/25/22 43/6/22 51/23/22 351 | f 53/27/22 43/6/22 52/25/22 352 | f 54/29/22 43/6/22 53/27/22 353 | f 55/31/22 43/6/22 54/29/22 354 | f 56/33/22 43/6/22 55/31/22 355 | f 57/35/22 43/6/22 56/33/22 356 | f 58/37/22 43/6/22 57/35/22 357 | f 59/39/22 43/6/22 58/37/22 358 | f 60/41/22 43/6/22 59/39/22 359 | f 61/43/22 43/6/22 60/41/22 360 | f 62/45/22 43/6/22 61/43/22 361 | f 42/8/22 43/6/22 62/45/22 362 | f 4/4/2 2/2/1 1/1/1 363 | f 1/1/1 3/3/2 4/4/2 364 | f 6/4/3 4/2/2 3/1/2 365 | f 3/1/2 5/3/3 6/4/3 366 | f 8/4/4 6/2/3 5/1/3 367 | f 5/1/3 7/3/4 8/4/4 368 | f 10/4/5 8/2/4 7/1/4 369 | f 7/1/4 9/3/5 10/4/5 370 | f 12/4/6 10/2/5 9/1/5 371 | f 9/1/5 11/3/6 12/4/6 372 | f 14/4/7 12/2/6 11/1/6 373 | f 11/1/6 13/3/7 14/4/7 374 | f 16/4/8 14/2/7 13/1/7 375 | f 13/1/7 15/3/8 16/4/8 376 | f 18/4/9 16/2/8 15/1/8 377 | f 15/1/8 17/3/9 18/4/9 378 | f 20/4/10 18/2/9 17/1/9 379 | f 17/1/9 19/3/10 20/4/10 380 | f 22/4/11 20/2/10 19/1/10 381 | f 19/1/10 21/3/11 22/4/11 382 | f 24/4/12 22/2/11 21/1/11 383 | f 21/1/11 23/3/12 24/4/12 384 | f 26/4/13 24/2/12 23/1/12 385 | f 23/1/12 25/3/13 26/4/13 386 | f 28/4/14 26/2/13 25/1/13 387 | f 25/1/13 27/3/14 28/4/14 388 | f 30/4/15 28/2/14 27/1/14 389 | f 27/1/14 29/3/15 30/4/15 390 | f 32/4/16 30/2/15 29/1/15 391 | f 29/1/15 31/3/16 32/4/16 392 | f 34/4/17 32/2/16 31/1/16 393 | f 31/1/16 33/3/17 34/4/17 394 | f 36/4/18 34/2/17 33/1/17 395 | f 33/1/17 35/3/18 36/4/18 396 | f 38/4/19 36/2/18 35/1/18 397 | f 35/1/18 37/3/19 38/4/19 398 | f 40/4/20 38/2/19 37/1/19 399 | f 37/1/19 39/3/20 40/4/20 400 | f 2/4/1 40/2/20 39/1/20 401 | f 39/1/20 1/3/1 2/4/1 402 | f 64/49/22 38/47/22 40/46/22 403 | f 40/46/22 63/48/22 64/49/22 404 | f 63/48/22 40/46/22 2/50/22 405 | f 2/50/22 65/51/22 63/48/22 406 | f 66/55/22 36/53/22 38/52/22 407 | f 38/52/22 64/54/22 66/55/22 408 | f 67/58/22 34/57/22 36/56/22 409 | f 36/56/22 66/55/22 67/58/22 410 | f 68/62/22 32/60/22 34/59/22 411 | f 34/59/22 67/61/22 68/62/22 412 | f 69/64/22 30/63/22 32/60/22 413 | f 32/60/22 68/62/22 69/64/22 414 | f 70/68/22 28/66/22 30/65/22 415 | f 30/65/22 69/67/22 70/68/22 416 | f 71/71/22 26/70/22 28/69/22 417 | f 28/69/22 70/68/22 71/71/22 418 | f 72/75/22 24/73/22 26/72/22 419 | f 26/72/22 71/74/22 72/75/22 420 | f 73/77/22 22/76/22 24/73/22 421 | f 24/73/22 72/75/22 73/77/22 422 | f 74/79/22 20/78/22 22/76/22 423 | f 22/76/22 73/77/22 74/79/22 424 | f 75/81/22 18/80/22 20/78/22 425 | f 20/78/22 74/79/22 75/81/22 426 | f 76/85/22 16/83/22 18/82/22 427 | f 18/82/22 75/84/22 76/85/22 428 | f 77/88/22 14/87/22 16/86/22 429 | f 16/86/22 76/85/22 77/88/22 430 | f 78/92/22 12/90/22 14/89/22 431 | f 14/89/22 77/91/22 78/92/22 432 | f 79/94/22 10/93/22 12/90/22 433 | f 12/90/22 78/92/22 79/94/22 434 | f 80/98/22 8/96/22 10/95/22 435 | f 10/95/22 79/97/22 80/98/22 436 | f 81/101/22 6/100/22 8/99/22 437 | f 8/99/22 80/98/22 81/101/22 438 | f 82/105/22 4/103/22 6/102/22 439 | f 6/102/22 81/104/22 82/105/22 440 | f 65/51/22 2/50/22 4/103/22 441 | f 4/103/22 82/105/22 65/51/22 442 | f 84/109/23 64/107/23 63/106/23 443 | f 63/106/23 83/108/23 84/109/23 444 | f 83/113/24 63/111/24 65/110/24 445 | f 65/110/24 85/112/24 83/113/24 446 | f 86/117/25 66/115/25 64/114/25 447 | f 64/114/25 84/116/25 86/117/25 448 | f 87/121/26 67/119/26 66/118/26 449 | f 66/118/26 86/120/26 87/121/26 450 | f 88/125/27 68/123/27 67/122/27 451 | f 67/122/27 87/124/27 88/125/27 452 | f 89/129/28 69/127/28 68/126/28 453 | f 68/126/28 88/128/28 89/129/28 454 | f 90/133/29 70/131/29 69/130/29 455 | f 69/130/29 89/132/29 90/133/29 456 | f 91/137/30 71/135/30 70/134/30 457 | f 70/134/30 90/136/30 91/137/30 458 | f 92/141/31 72/139/31 71/138/31 459 | f 71/138/31 91/140/31 92/141/31 460 | f 93/145/32 73/143/32 72/142/32 461 | f 72/142/32 92/144/32 93/145/32 462 | f 94/113/33 74/111/33 73/110/33 463 | f 73/110/33 93/112/33 94/113/33 464 | f 95/109/34 75/107/34 74/106/34 465 | f 74/106/34 94/108/34 95/109/34 466 | f 96/117/35 76/115/35 75/114/35 467 | f 75/114/35 95/116/35 96/117/35 468 | f 97/121/36 77/119/36 76/118/36 469 | f 76/118/36 96/120/36 97/121/36 470 | f 98/125/37 78/123/37 77/122/37 471 | f 77/122/37 97/124/37 98/125/37 472 | f 99/129/38 79/127/38 78/126/38 473 | f 78/126/38 98/128/38 99/129/38 474 | f 100/133/39 80/131/39 79/130/39 475 | f 79/130/39 99/132/39 100/133/39 476 | f 101/137/40 81/135/40 80/134/40 477 | f 80/134/40 100/136/40 101/137/40 478 | f 102/141/41 82/139/41 81/138/41 479 | f 81/138/41 101/140/41 102/141/41 480 | f 85/145/42 65/143/42 82/142/42 481 | f 82/142/42 102/144/42 85/145/42 482 | f 61/147/23 84/109/23 83/108/23 483 | f 83/108/23 62/146/23 61/147/23 484 | f 62/149/24 83/113/24 85/112/24 485 | f 85/112/24 42/148/24 62/149/24 486 | f 60/151/25 86/117/25 84/116/25 487 | f 84/116/25 61/150/25 60/151/25 488 | f 59/153/26 87/121/26 86/120/26 489 | f 86/120/26 60/152/26 59/153/26 490 | f 58/155/27 88/125/27 87/124/27 491 | f 87/124/27 59/154/27 58/155/27 492 | f 57/157/28 89/129/28 88/128/28 493 | f 88/128/28 58/156/28 57/157/28 494 | f 56/159/29 90/133/29 89/132/29 495 | f 89/132/29 57/158/29 56/159/29 496 | f 55/161/30 91/137/30 90/136/30 497 | f 90/136/30 56/160/30 55/161/30 498 | f 54/163/31 92/141/31 91/140/31 499 | f 91/140/31 55/162/31 54/163/31 500 | f 53/165/32 93/145/32 92/144/32 501 | f 92/144/32 54/164/32 53/165/32 502 | f 52/149/33 94/113/33 93/112/33 503 | f 93/112/33 53/148/33 52/149/33 504 | f 51/147/34 95/109/34 94/108/34 505 | f 94/108/34 52/146/34 51/147/34 506 | f 50/151/35 96/117/35 95/116/35 507 | f 95/116/35 51/150/35 50/151/35 508 | f 49/153/36 97/121/36 96/120/36 509 | f 96/120/36 50/152/36 49/153/36 510 | f 48/155/37 98/125/37 97/124/37 511 | f 97/124/37 49/154/37 48/155/37 512 | f 47/157/38 99/129/38 98/128/38 513 | f 98/128/38 48/156/38 47/157/38 514 | f 46/159/39 100/133/39 99/132/39 515 | f 99/132/39 47/158/39 46/159/39 516 | f 45/161/40 101/137/40 100/136/40 517 | f 100/136/40 46/160/40 45/161/40 518 | f 44/163/41 102/141/41 101/140/41 519 | f 101/140/41 45/162/41 44/163/41 520 | f 42/165/42 85/145/42 102/144/42 521 | f 102/144/42 44/164/42 42/165/42 522 | 523 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Canon.obj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 946a90b5c0b083640b2b90f6240a31b6 3 | ModelImporter: 4 | serializedVersion: 19300 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | materialImportMode: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 0 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | sortHierarchyByName: 1 42 | importVisibility: 1 43 | importBlendShapes: 1 44 | importCameras: 1 45 | importLights: 1 46 | swapUVChannels: 0 47 | generateSecondaryUV: 0 48 | useFileUnits: 1 49 | keepQuads: 0 50 | weldVertices: 1 51 | preserveHierarchy: 0 52 | skinWeightsMode: 0 53 | maxBonesPerVertex: 4 54 | minBoneWeight: 0.001 55 | meshOptimizationFlags: -1 56 | indexFormat: 0 57 | secondaryUVAngleDistortion: 8 58 | secondaryUVAreaDistortion: 15.000001 59 | secondaryUVHardAngle: 88 60 | secondaryUVPackMargin: 4 61 | useFileScale: 1 62 | tangentSpace: 63 | normalSmoothAngle: 60 64 | normalImportMode: 0 65 | tangentImportMode: 3 66 | normalCalculationMode: 4 67 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 68 | blendShapeNormalImportMode: 1 69 | normalSmoothingSource: 0 70 | referencedClips: [] 71 | importAnimation: 1 72 | humanDescription: 73 | serializedVersion: 3 74 | human: [] 75 | skeleton: [] 76 | armTwist: 0.5 77 | foreArmTwist: 0.5 78 | upperLegTwist: 0.5 79 | legTwist: 0.5 80 | armStretch: 0.05 81 | legStretch: 0.05 82 | feetSpacing: 0 83 | globalScale: 1 84 | rootMotionBoneName: 85 | hasTranslationDoF: 0 86 | hasExtraRoot: 0 87 | skeletonHasParents: 1 88 | lastHumanDescriptionAvatarSource: {instanceID: 0} 89 | autoGenerateAvatarMappingIfUnspecified: 1 90 | animationType: 2 91 | humanoidOversampling: 1 92 | avatarSetup: 0 93 | additionalBone: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Holder_1.mtl: -------------------------------------------------------------------------------- 1 | newmtl Canon_Holder 2 | Kd 1 0.8431373 0 3 | d 1 4 | 5 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Holder_1.mtl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80312a57f0f3c6d42aca05118283c814 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Holder_1.obj: -------------------------------------------------------------------------------- 1 | # ProBuilder 4.2.3 2 | # https://unity3d.com/unity/features/worldbuilding/probuilder 3 | # 17/01/2021 19:01:48 4 | 5 | mtllib ./Holder_1.mtl 6 | o Holder_1 7 | 8 | g Holder_1 9 | v 0.5 3 1.5 10 | v -0.5 3 1.5 11 | v 0.5 3 0.5 12 | v -0.5 3 0.5 13 | v 0.5 -1 -1 14 | v -0.5 -1 -1 15 | v 0.5 -1 3 16 | v -0.5 -1 3 17 | v -0.5 1 3 18 | v 0.5 1 3 19 | v -0.5 1 -1 20 | v 0.5 1 -1 21 | 22 | vt -0.5 1.5 23 | vt 0.5 1.5 24 | vt -0.5 0.5 25 | vt 0.5 0.5 26 | vt 0.5 -1 27 | vt -0.5 -1 28 | vt 0.5 3 29 | vt -0.5 3 30 | vt 0.5 -1.897367 31 | vt -0.5 -1.897367 32 | vt -0.5 -5.960464E-08 33 | vt 0.5 -5.960464E-08 34 | vt -0.5 2.371708 35 | vt 0.5 2.371708 36 | vt 3 -1 37 | vt -1 -1 38 | vt -1 1 39 | vt 3 1 40 | vt 1.5 3 41 | vt 0.5 -1.264911 42 | vt -0.5 -1.264911 43 | vt -0.5 0.6324555 44 | vt 0.5 0.6324555 45 | vt -0.5 3.004164 46 | vt 0.5 3.004164 47 | vt 1 -1 48 | vt -3 -1 49 | vt -3 1 50 | vt 1 1 51 | vt -1.5 3 52 | 53 | vn 0 1 0 54 | vn 0 -1 0 55 | vn 0 0 1 56 | vn 0 0.6 0.8 57 | vn -1 0 0 58 | vn 0 0 -1 59 | vn 0 0.6 -0.8 60 | vn 1 0 0 61 | 62 | usemtl Canon_Holder 63 | f 3/3/1 4/4/1 2/2/1 1/1/1 64 | f 7/7/2 8/8/2 6/6/2 5/5/2 65 | f 10/12/3 9/11/3 8/10/3 7/9/3 66 | f 1/14/4 2/13/4 9/11/4 10/12/4 67 | f 9/18/5 11/17/5 6/16/5 8/15/5 68 | f 2/19/5 4/7/5 11/17/5 9/18/5 69 | f 6/20/6 11/23/6 12/22/6 5/21/6 70 | f 11/23/7 4/25/7 3/24/7 12/22/7 71 | f 5/26/8 12/29/8 10/28/8 7/27/8 72 | f 12/29/8 3/8/8 1/30/8 10/28/8 73 | 74 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Holder_1.obj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1187297e54999fc41b3b5d51c7289679 3 | ModelImporter: 4 | serializedVersion: 19300 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | materialImportMode: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 0 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | sortHierarchyByName: 1 42 | importVisibility: 1 43 | importBlendShapes: 1 44 | importCameras: 1 45 | importLights: 1 46 | swapUVChannels: 0 47 | generateSecondaryUV: 0 48 | useFileUnits: 1 49 | keepQuads: 0 50 | weldVertices: 1 51 | preserveHierarchy: 0 52 | skinWeightsMode: 0 53 | maxBonesPerVertex: 4 54 | minBoneWeight: 0.001 55 | meshOptimizationFlags: -1 56 | indexFormat: 0 57 | secondaryUVAngleDistortion: 8 58 | secondaryUVAreaDistortion: 15.000001 59 | secondaryUVHardAngle: 88 60 | secondaryUVPackMargin: 4 61 | useFileScale: 1 62 | tangentSpace: 63 | normalSmoothAngle: 60 64 | normalImportMode: 0 65 | tangentImportMode: 3 66 | normalCalculationMode: 4 67 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 68 | blendShapeNormalImportMode: 1 69 | normalSmoothingSource: 0 70 | referencedClips: [] 71 | importAnimation: 1 72 | humanDescription: 73 | serializedVersion: 3 74 | human: [] 75 | skeleton: [] 76 | armTwist: 0.5 77 | foreArmTwist: 0.5 78 | upperLegTwist: 0.5 79 | legTwist: 0.5 80 | armStretch: 0.05 81 | legStretch: 0.05 82 | feetSpacing: 0 83 | globalScale: 1 84 | rootMotionBoneName: 85 | hasTranslationDoF: 0 86 | hasExtraRoot: 0 87 | skeletonHasParents: 1 88 | lastHumanDescriptionAvatarSource: {instanceID: 0} 89 | autoGenerateAvatarMappingIfUnspecified: 1 90 | animationType: 2 91 | humanoidOversampling: 1 92 | avatarSetup: 0 93 | additionalBone: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Holder_2.mtl: -------------------------------------------------------------------------------- 1 | newmtl Canon_Holder 2 | Kd 1 0.8431373 0 3 | d 1 4 | 5 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Holder_2.mtl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b78a3b0385e0d1458422a40ca4f1661 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Holder_2.obj: -------------------------------------------------------------------------------- 1 | # ProBuilder 4.2.3 2 | # https://unity3d.com/unity/features/worldbuilding/probuilder 3 | # 17/01/2021 19:01:48 4 | 5 | mtllib ./Holder_2.mtl 6 | o Holder_2 7 | 8 | g Holder_2 9 | v 0.5 3 1.5 10 | v -0.5 3 1.5 11 | v 0.5 3 0.5 12 | v -0.5 3 0.5 13 | v 0.5 -1 -1 14 | v -0.5 -1 -1 15 | v 0.5 -1 3 16 | v -0.5 -1 3 17 | v -0.5 1 3 18 | v 0.5 1 3 19 | v -0.5 1 -1 20 | v 0.5 1 -1 21 | 22 | vt -0.5 1.5 23 | vt 0.5 1.5 24 | vt -0.5 0.5 25 | vt 0.5 0.5 26 | vt 0.5 -1 27 | vt -0.5 -1 28 | vt 0.5 3 29 | vt -0.5 3 30 | vt 0.5 -1.897367 31 | vt -0.5 -1.897367 32 | vt -0.5 -5.960464E-08 33 | vt 0.5 -5.960464E-08 34 | vt -0.5 2.371708 35 | vt 0.5 2.371708 36 | vt 3 -1 37 | vt -1 -1 38 | vt -1 1 39 | vt 3 1 40 | vt 1.5 3 41 | vt 0.5 -1.264911 42 | vt -0.5 -1.264911 43 | vt -0.5 0.6324555 44 | vt 0.5 0.6324555 45 | vt -0.5 3.004164 46 | vt 0.5 3.004164 47 | vt 1 -1 48 | vt -3 -1 49 | vt -3 1 50 | vt 1 1 51 | vt -1.5 3 52 | 53 | vn 0 1 0 54 | vn 0 -1 0 55 | vn 0 0 1 56 | vn 0 0.6 0.8 57 | vn -1 0 0 58 | vn 0 0 -1 59 | vn 0 0.6 -0.8 60 | vn 1 0 0 61 | 62 | usemtl Canon_Holder 63 | f 3/3/1 4/4/1 2/2/1 1/1/1 64 | f 7/7/2 8/8/2 6/6/2 5/5/2 65 | f 10/12/3 9/11/3 8/10/3 7/9/3 66 | f 1/14/4 2/13/4 9/11/4 10/12/4 67 | f 9/18/5 11/17/5 6/16/5 8/15/5 68 | f 2/19/5 4/7/5 11/17/5 9/18/5 69 | f 6/20/6 11/23/6 12/22/6 5/21/6 70 | f 11/23/7 4/25/7 3/24/7 12/22/7 71 | f 5/26/8 12/29/8 10/28/8 7/27/8 72 | f 12/29/8 3/8/8 1/30/8 10/28/8 73 | 74 | -------------------------------------------------------------------------------- /Battle/Pretabs/Ranged_Weapon/Holder_2.obj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68139fb6e48e5ec468728aebc8df826d 3 | ModelImporter: 4 | serializedVersion: 19300 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | materialImportMode: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 0 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | sortHierarchyByName: 1 42 | importVisibility: 1 43 | importBlendShapes: 1 44 | importCameras: 1 45 | importLights: 1 46 | swapUVChannels: 0 47 | generateSecondaryUV: 0 48 | useFileUnits: 1 49 | keepQuads: 0 50 | weldVertices: 1 51 | preserveHierarchy: 0 52 | skinWeightsMode: 0 53 | maxBonesPerVertex: 4 54 | minBoneWeight: 0.001 55 | meshOptimizationFlags: -1 56 | indexFormat: 0 57 | secondaryUVAngleDistortion: 8 58 | secondaryUVAreaDistortion: 15.000001 59 | secondaryUVHardAngle: 88 60 | secondaryUVPackMargin: 4 61 | useFileScale: 1 62 | tangentSpace: 63 | normalSmoothAngle: 60 64 | normalImportMode: 0 65 | tangentImportMode: 3 66 | normalCalculationMode: 4 67 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 68 | blendShapeNormalImportMode: 1 69 | normalSmoothingSource: 0 70 | referencedClips: [] 71 | importAnimation: 1 72 | humanDescription: 73 | serializedVersion: 3 74 | human: [] 75 | skeleton: [] 76 | armTwist: 0.5 77 | foreArmTwist: 0.5 78 | upperLegTwist: 0.5 79 | legTwist: 0.5 80 | armStretch: 0.05 81 | legStretch: 0.05 82 | feetSpacing: 0 83 | globalScale: 1 84 | rootMotionBoneName: 85 | hasTranslationDoF: 0 86 | hasExtraRoot: 0 87 | skeletonHasParents: 1 88 | lastHumanDescriptionAvatarSource: {instanceID: 0} 89 | autoGenerateAvatarMappingIfUnspecified: 1 90 | animationType: 2 91 | humanoidOversampling: 1 92 | avatarSetup: 0 93 | additionalBone: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Battle/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c28aedbed9661847a1a686e79d883e8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Battle/Scripts/CannonComponentData.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | [GenerateAuthoringComponent] 3 | public struct CannonComponentData : IComponentData{} 4 | -------------------------------------------------------------------------------- /Battle/Scripts/CannonComponentData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a3dabce7c94aca4a9427bc79b70fe44 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/EnemyComponentData.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | 3 | public struct EnemyComponentData : IComponentData 4 | { 5 | public float speed; 6 | } 7 | -------------------------------------------------------------------------------- /Battle/Scripts/EnemyComponentData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 361444f1835f7ab49b8f83a1498aad28 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/EnemySpawner.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using Unity.Entities; 3 | using Unity.Transforms; 4 | using Unity.Mathematics; 5 | 6 | public class EnemySpawner : MonoBehaviour 7 | { 8 | public GameObject prefabToSpawn; 9 | public static Entity convertedEntity; 10 | public int maxEntitiesToSpawn; 11 | public float interval; 12 | public int entitiesPerInterval; 13 | public float minSpeed; 14 | public float maxSpeed; 15 | 16 | private int spawnedEntities; 17 | private float3 position; 18 | private float elapsedTime; 19 | private EntityManager em; 20 | private BlobAssetStore bas; 21 | 22 | // Start is called before the first frame update 23 | void Start() 24 | { 25 | elapsedTime = 0; 26 | spawnedEntities = 0; 27 | em = World.DefaultGameObjectInjectionWorld.EntityManager; 28 | bas = new BlobAssetStore(); 29 | GameObjectConversionSettings gocs = GameObjectConversionSettings.FromWorld(World.DefaultGameObjectInjectionWorld, bas); 30 | convertedEntity = GameObjectConversionUtility.ConvertGameObjectHierarchy(prefabToSpawn, gocs); 31 | em.AddComponent(convertedEntity); 32 | em.SetComponentData(convertedEntity, new EnemyComponentData 33 | { 34 | speed = UnityEngine.Random.Range(minSpeed, maxSpeed), 35 | }); 36 | } 37 | 38 | // Update is called once per frame 39 | void Update() 40 | { 41 | if (spawnedEntities < maxEntitiesToSpawn) 42 | { 43 | elapsedTime += Time.deltaTime; 44 | if (elapsedTime >= interval) 45 | { 46 | elapsedTime = 0; 47 | for (int i = 0; i <= entitiesPerInterval; i++) 48 | { 49 | if (spawnedEntities >= maxEntitiesToSpawn) 50 | { 51 | break; 52 | } 53 | position = (float3)transform.position + (new float3(2.5f*i, 0, 0)); 54 | em.Instantiate(convertedEntity); 55 | em.AddComponent(convertedEntity); 56 | em.SetComponentData(convertedEntity, new Translation { Value = position }); 57 | em.SetComponentData(convertedEntity, new EnemyComponentData 58 | { 59 | speed = UnityEngine.Random.Range(minSpeed, maxSpeed) 60 | }); 61 | spawnedEntities++; 62 | } 63 | } 64 | } 65 | } 66 | 67 | private void OnDestroy() 68 | { 69 | bas.Dispose(); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /Battle/Scripts/EnemySpawner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: feee3d762cee7264c8a2fa5e2f4fe0c7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/EnemySystem.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | using Unity.Physics; 3 | using Unity.Transforms; 4 | using Unity.Mathematics; 5 | 6 | public class EnemySystem : SystemBase 7 | { 8 | public float3 shooterPosition; 9 | 10 | protected override void OnCreate() 11 | { 12 | shooterPosition = float3.zero; 13 | } 14 | protected override void OnUpdate() 15 | { 16 | Entities.WithoutBurst().ForEach((in ShooterComponentData scd, in Translation trans) => 17 | { 18 | shooterPosition = trans.Value; 19 | }).Run(); 20 | 21 | float3 sh = shooterPosition; 22 | float deltaTime = Time.DeltaTime; 23 | Entities.ForEach((ref EnemyComponentData ecd, ref Translation trans, ref Rotation rot) => 24 | { 25 | float3 diff = math.normalize(sh - trans.Value); 26 | rot.Value = math.slerp(rot.Value, quaternion.LookRotation(diff, math.up()), deltaTime); 27 | trans.Value += diff * ecd.speed * deltaTime; 28 | }).ScheduleParallel(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Battle/Scripts/EnemySystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bc9a357829eafe4087290104d26ddaa 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/EntitySpawner.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using Unity.Entities; 3 | using Unity.Physics; 4 | using Unity.Transforms; 5 | using Unity.Mathematics; 6 | 7 | public class EntitySpawner : MonoBehaviour 8 | { 9 | public GameObject prefabToSpawn; 10 | public static Entity convertedEntity; 11 | public Mesh colliderMesh; 12 | public float colliderRadius; 13 | public float projectileFiringInterval; 14 | public float projectileSpeed; 15 | public float projectileLifeTime; 16 | public GameObject projectilePrefab; 17 | public int numberOfShooters; 18 | 19 | private EntityManager em; 20 | private BlobAssetStore bas; 21 | private BlobAssetReference col; 22 | private Entity projectileEntity; 23 | private float3 position; 24 | 25 | // Start is called before the first frame update 26 | void Start() 27 | { 28 | em = World.DefaultGameObjectInjectionWorld.EntityManager; 29 | bas = new BlobAssetStore(); 30 | GameObjectConversionSettings gocs = GameObjectConversionSettings.FromWorld(World.DefaultGameObjectInjectionWorld, bas); 31 | projectileEntity = GameObjectConversionUtility.ConvertGameObjectHierarchy(projectilePrefab, gocs); 32 | convertedEntity = GameObjectConversionUtility.ConvertGameObjectHierarchy(prefabToSpawn, gocs); 33 | 34 | if (colliderMesh != null) 35 | { 36 | col = CreateSphereCollider(colliderMesh); 37 | } 38 | em.AddComponent(convertedEntity); 39 | em.SetComponentData(convertedEntity, new Translation { Value = transform.position }); 40 | em.SetComponentData(convertedEntity, new ShooterComponentData 41 | { 42 | colliderCast = col, 43 | projectile = projectileEntity, 44 | firingInterval = projectileFiringInterval, 45 | projectileSpeed = projectileSpeed, 46 | projectileLifeTime = projectileLifeTime 47 | }); 48 | for (int i=0; i<=numberOfShooters; i++) 49 | { 50 | em.Instantiate(convertedEntity); 51 | position = (float3)transform.position + (new float3(1.5f*i, 0, 0)); 52 | em.SetComponentData(convertedEntity, new Translation { Value = position }); 53 | } 54 | } 55 | 56 | private BlobAssetReference CreateSphereCollider(UnityEngine.Mesh mesh) 57 | { 58 | Bounds bounds = mesh.bounds; 59 | CollisionFilter filter = new CollisionFilter() 60 | { 61 | BelongsTo = 1u<<10, 62 | CollidesWith = 1u<<11 63 | }; 64 | 65 | return Unity.Physics.SphereCollider.Create(new SphereGeometry 66 | { 67 | Center = bounds.center, 68 | Radius = colliderRadius, 69 | }, 70 | filter); 71 | } 72 | 73 | private void OnDestroy() 74 | { 75 | bas.Dispose(); 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /Battle/Scripts/EntitySpawner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6ca5118b435f8e43a6660c0a503700f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/GroundTag.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | [GenerateAuthoringComponent] 3 | public struct GroundTag : IComponentData{} 4 | -------------------------------------------------------------------------------- /Battle/Scripts/GroundTag.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b54177ee3393e1246a2c9fa8d3ea984f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/RangedWeaponParentData.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | using Unity.Physics; 3 | using Unity.Mathematics; 4 | 5 | public struct RangedWeaponParentData : IComponentData 6 | { 7 | public BlobAssetReference colliderCast; 8 | public BlobAssetReference cannonBallColliderCast; 9 | public float currentTargetDistance; 10 | public Entity cannonBall; 11 | public float firingInterval; 12 | public float3 initialVelocity; 13 | public float elapsedTime; 14 | } 15 | -------------------------------------------------------------------------------- /Battle/Scripts/RangedWeaponParentData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5530909be347ea468eed02c7da4941b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/RangedWeaponSpawner.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using Unity.Entities; 3 | using Unity.Physics; 4 | using Unity.Transforms; 5 | using Unity.Mathematics; 6 | 7 | public class RangedWeaponSpawner : MonoBehaviour 8 | { 9 | public GameObject prefabToSpawn; 10 | public static Entity convertedEntity; 11 | public Mesh colliderMesh; 12 | public float colliderRadius; 13 | public float cannonBallColliderRadius; 14 | public float projectileFiringInterval; 15 | public float projectileSpeed; 16 | public float projectileLifeTime; 17 | public GameObject projectilePrefab; 18 | public float3 projectileSpawnPosition; 19 | public int numberOfCannons; 20 | 21 | private EntityManager em; 22 | private BlobAssetStore bas; 23 | private BlobAssetReference col; 24 | private BlobAssetReference cannonBallCol; 25 | private Entity projectileEntity; 26 | private float3 position; 27 | 28 | // Start is called before the first frame update 29 | void Start() 30 | { 31 | em = World.DefaultGameObjectInjectionWorld.EntityManager; 32 | bas = new BlobAssetStore(); 33 | GameObjectConversionSettings gocs = GameObjectConversionSettings.FromWorld(World.DefaultGameObjectInjectionWorld, bas); 34 | projectileEntity = GameObjectConversionUtility.ConvertGameObjectHierarchy(projectilePrefab, gocs); 35 | convertedEntity = GameObjectConversionUtility.ConvertGameObjectHierarchy(prefabToSpawn, gocs); 36 | if (colliderMesh != null) 37 | { 38 | col = CreateSphereCollider(colliderMesh, colliderRadius); 39 | cannonBallCol = CreateSphereCollider(colliderMesh, cannonBallColliderRadius); 40 | } 41 | em.AddComponent(convertedEntity); 42 | em.SetComponentData(convertedEntity, new Translation { Value = transform.position }); 43 | em.SetComponentData(convertedEntity, new RangedWeaponParentData 44 | { 45 | colliderCast = col, 46 | cannonBall = projectileEntity, 47 | firingInterval = projectileFiringInterval, 48 | cannonBallColliderCast = cannonBallCol 49 | }); 50 | for (int i = 0; i < numberOfCannons; i++) 51 | { 52 | em.Instantiate(convertedEntity); 53 | position = (float3)transform.position + (new float3(10f * i, 0, 0)); 54 | em.SetComponentData(convertedEntity, new Translation { Value = position }); 55 | } 56 | } 57 | 58 | private BlobAssetReference CreateSphereCollider(UnityEngine.Mesh mesh, float colRadius) 59 | { 60 | Bounds bounds = mesh.bounds; 61 | CollisionFilter filter = new CollisionFilter() 62 | { 63 | BelongsTo = 1u << 10, 64 | CollidesWith = 1u << 11 65 | }; 66 | 67 | return Unity.Physics.SphereCollider.Create(new SphereGeometry 68 | { 69 | Center = bounds.center, 70 | Radius = colRadius, 71 | }, 72 | filter); 73 | } 74 | 75 | private void OnDestroy() 76 | { 77 | bas.Dispose(); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /Battle/Scripts/RangedWeaponSpawner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcebb24512a612648861124cbc66a082 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/RangedWeaponSystem.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | using Unity.Transforms; 3 | using Unity.Mathematics; 4 | using Unity.Physics; 5 | using Unity.Physics.Systems; 6 | using Unity.Collections; 7 | using Unity.Burst; 8 | using Unity.Jobs; 9 | 10 | public class RangedWeaponSystem : SystemBase 11 | { 12 | public BuildPhysicsWorld bpw; 13 | private EndSimulationEntityCommandBufferSystem es_ecb; 14 | 15 | protected override void OnCreate() 16 | { 17 | es_ecb = World.GetOrCreateSystem(); 18 | bpw = World.DefaultGameObjectInjectionWorld.GetExistingSystem(); 19 | } 20 | protected override void OnUpdate() 21 | { 22 | PhysicsWorld pw = bpw.PhysicsWorld; 23 | float deltaTime = Time.DeltaTime; 24 | var parallelECB = es_ecb.CreateCommandBuffer().ToConcurrent(); 25 | unsafe 26 | { 27 | Entities.ForEach((Entity e, int entityInQueryIndex, ref RangedWeaponParentData rwpd, ref Translation trans, ref Rotation rot, in LocalToWorld ltw) => 28 | { 29 | rwpd.elapsedTime += deltaTime; 30 | float3 directionToShoot = float3.zero; 31 | ColliderDistanceInput colliderDistanceInput = new ColliderDistanceInput 32 | { 33 | Collider = (Unity.Physics.Collider*)(rwpd.colliderCast.GetUnsafePtr()), 34 | Transform = new RigidTransform(rot.Value, trans.Value), 35 | MaxDistance = 0.25f 36 | }; 37 | if (pw.CalculateDistance(colliderDistanceInput, out DistanceHit hit)) 38 | { 39 | rwpd.currentTargetDistance = math.length(hit.Position - trans.Value); 40 | directionToShoot = math.normalize(hit.Position - trans.Value); 41 | rot.Value = math.slerp(rot.Value, quaternion.LookRotation(directionToShoot, math.up()), deltaTime * 5); 42 | if (rwpd.currentTargetDistance >= 1) 43 | { 44 | float height = rwpd.currentTargetDistance / 4; 45 | float denom = math.sqrt((2 * height) / 9.8f); 46 | rwpd.initialVelocity = new float3(0, 47 | math.sqrt(2 * 9.8f * height), 48 | rwpd.currentTargetDistance / (2 * denom)); 49 | rwpd.initialVelocity = math.mul(quaternion.LookRotation(directionToShoot, math.up()), rwpd.initialVelocity); 50 | if (rwpd.elapsedTime >= rwpd.firingInterval) 51 | { 52 | rwpd.elapsedTime = 0; 53 | Entity defEntity = parallelECB.Instantiate(entityInQueryIndex, rwpd.cannonBall); 54 | float3 spawnPosition = math.transform(ltw.Value, new float3(0, 5.5f, 0)); 55 | parallelECB.SetComponent(entityInQueryIndex, defEntity, new Translation { Value = spawnPosition }); 56 | parallelECB.AddComponent(entityInQueryIndex, defEntity); 57 | parallelECB.SetComponent(entityInQueryIndex, defEntity, new CannonBallTag 58 | { 59 | initialVelocity = rwpd.initialVelocity, 60 | cannonBallColliderCast = rwpd.cannonBallColliderCast 61 | }); 62 | } 63 | } 64 | } 65 | }).ScheduleParallel(); 66 | } 67 | 68 | Entities.ForEach((ref CannonComponentData ccd, ref Rotation rot, ref Translation trans, in LocalToWorld ltw, in Parent p) => 69 | { 70 | if (HasComponent(p.Value)) 71 | { 72 | RangedWeaponParentData rwpd = GetComponent(p.Value); 73 | if (rwpd.currentTargetDistance >= 1) 74 | { 75 | float3 localUpDirection = math.transform(math.inverse(ltw.Value), ltw.Up); 76 | float angle = math.acos(math.dot(localUpDirection, rwpd.initialVelocity) / (math.length(localUpDirection) * (math.length(rwpd.initialVelocity)))); 77 | rot.Value = math.slerp(rot.Value, quaternion.Euler(angle, 0, 0), deltaTime * 5); 78 | } 79 | } 80 | }).ScheduleParallel(); 81 | 82 | Entities.ForEach((ref CannonBallTag cbt, ref PhysicsVelocity pv) => 83 | { 84 | if (!cbt.impulseAdded) 85 | { 86 | cbt.impulseAdded = true; 87 | pv.Linear = cbt.initialVelocity; 88 | //Unity.Physics.Extensions.ComponentExtensions.ApplyImpulse(ref pv, pm, trans, rot, cbt.initialVelocity, cbt.point); 89 | } 90 | }).ScheduleParallel(); 91 | 92 | unsafe 93 | { 94 | Entities.ForEach((Entity e, int entityInQueryIndex, ref CannonBallTag cbt, ref Translation trans, ref Rotation rot, ref PhysicsVelocity pv) => 95 | { 96 | NativeList allEnemyHits = new NativeList(Allocator.Temp); 97 | ColliderDistanceInput colliderDistanceInput = new ColliderDistanceInput 98 | { 99 | Collider = (Unity.Physics.Collider*)(cbt.cannonBallColliderCast.GetUnsafePtr()), 100 | Transform = new RigidTransform(rot.Value, trans.Value), 101 | MaxDistance = 0.25f 102 | }; 103 | pw.CalculateDistance(colliderDistanceInput, ref allEnemyHits); 104 | if (allEnemyHits.Length > 0) 105 | { 106 | for (int i = 0; i < allEnemyHits.Length; i++) 107 | { 108 | parallelECB.DestroyEntity(entityInQueryIndex, allEnemyHits[i].Entity); 109 | } 110 | } 111 | allEnemyHits.Dispose(); 112 | }).ScheduleParallel(); 113 | } 114 | es_ecb.AddJobHandleForProducer(Dependency); 115 | } 116 | } 117 | public struct CannonBallTag : IComponentData 118 | { 119 | public float3 initialVelocity; 120 | public bool impulseAdded; 121 | public BlobAssetReference cannonBallColliderCast; 122 | } 123 | -------------------------------------------------------------------------------- /Battle/Scripts/RangedWeaponSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6125a2eccae0cd8428e7e4b1e09ecafb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/ShooterComponentData.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | using Unity.Physics; 3 | using Unity.Mathematics; 4 | 5 | public struct ShooterComponentData : IComponentData 6 | { 7 | public BlobAssetReference colliderCast; 8 | public float3 projectileSpawnPosition; 9 | public float firingInterval; 10 | public Entity projectile; 11 | public float elapsedTime; 12 | public float projectileSpeed; 13 | public float projectileLifeTime; 14 | } 15 | -------------------------------------------------------------------------------- /Battle/Scripts/ShooterComponentData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e06fc97e90406414c9cf77f91ab88fa3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Battle/Scripts/ShooterSystem.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | using Unity.Transforms; 3 | using Unity.Mathematics; 4 | using Unity.Physics; 5 | using Unity.Physics.Systems; 6 | using Unity.Burst; 7 | using Unity.Jobs; 8 | 9 | public class ShooterSystem : SystemBase 10 | { 11 | public BuildPhysicsWorld bpw; 12 | public StepPhysicsWorld spw; 13 | private EndSimulationEntityCommandBufferSystem es_ecb; 14 | private EndSimulationEntityCommandBufferSystem es_ecb_Job; 15 | 16 | protected override void OnCreate() 17 | { 18 | es_ecb = World.GetOrCreateSystem(); 19 | es_ecb_Job = World.GetOrCreateSystem(); 20 | bpw = World.DefaultGameObjectInjectionWorld.GetExistingSystem(); 21 | spw = World.DefaultGameObjectInjectionWorld.GetExistingSystem(); 22 | } 23 | 24 | protected override void OnUpdate() 25 | { 26 | var ecb = es_ecb.CreateCommandBuffer(); 27 | var parallelECB = ecb.ToConcurrent(); 28 | PhysicsWorld pw = bpw.PhysicsWorld; 29 | float deltaTime = Time.DeltaTime; 30 | float3 directionToShoot = float3.zero; 31 | unsafe 32 | { 33 | Entities.ForEach((ref ShooterComponentData scd, ref Translation trans, ref Rotation rot, in LocalToWorld ltw) => 34 | { 35 | scd.elapsedTime += deltaTime; 36 | ColliderDistanceInput colliderDistanceInput = new ColliderDistanceInput 37 | { 38 | Collider = (Unity.Physics.Collider*)(scd.colliderCast.GetUnsafePtr()), 39 | Transform = new RigidTransform(rot.Value, trans.Value), 40 | MaxDistance = 0.25f 41 | }; 42 | if (pw.CalculateDistance(colliderDistanceInput, out DistanceHit hit)) 43 | { 44 | directionToShoot = math.normalize(hit.Position - trans.Value); 45 | rot.Value = math.slerp(rot.Value, quaternion.LookRotation(directionToShoot, math.up()), deltaTime * 25); 46 | scd.projectileSpawnPosition = math.transform(ltw.Value, new float3(0, 0.3f, 0.7f)); 47 | if (scd.elapsedTime >= scd.firingInterval) 48 | { 49 | scd.elapsedTime = 0; 50 | Entity projectile = ecb.Instantiate(scd.projectile); 51 | ecb.SetComponent(projectile, new Translation { Value = scd.projectileSpawnPosition }); 52 | ecb.SetComponent(projectile, new Rotation { Value = quaternion.LookRotation(ltw.Forward, math.up()) }); 53 | ecb.AddComponent(projectile); 54 | ecb.SetComponent(projectile, new ProjectileFired 55 | { 56 | elapsedTime = 0, 57 | projectileSpeed = scd.projectileSpeed, 58 | projectileLifeTime = scd.projectileLifeTime 59 | }); 60 | } 61 | } 62 | }).Run(); 63 | } 64 | 65 | Entities.ForEach((Entity e, int entityInQueryIndex, ref ProjectileFired pf, ref Translation trans, in LocalToWorld ltw) => 66 | { 67 | pf.elapsedTime += deltaTime; 68 | trans.Value += ltw.Forward * pf.projectileSpeed * deltaTime; 69 | if (pf.elapsedTime > pf.projectileLifeTime) 70 | { 71 | parallelECB.DestroyEntity(entityInQueryIndex, e); 72 | } 73 | }).ScheduleParallel(); 74 | 75 | es_ecb.AddJobHandleForProducer(Dependency); 76 | 77 | JobHandle jh = new ProjectileCollisionJob() 78 | { 79 | enemyGroup = GetComponentDataFromEntity(), 80 | activeProjectileGroup = GetComponentDataFromEntity(), 81 | ecb = es_ecb_Job.CreateCommandBuffer() 82 | }.Schedule(spw.Simulation, ref bpw.PhysicsWorld, Dependency); 83 | 84 | es_ecb_Job.AddJobHandleForProducer(jh); 85 | } 86 | 87 | [BurstCompile] 88 | public struct ProjectileCollisionJob : ICollisionEventsJob 89 | { 90 | public ComponentDataFromEntity enemyGroup; 91 | public ComponentDataFromEntity activeProjectileGroup; 92 | public EntityCommandBuffer ecb; 93 | 94 | public void Execute(CollisionEvent collisionEvent) 95 | { 96 | Entity entityA = collisionEvent.Entities.EntityA; 97 | Entity entityB = collisionEvent.Entities.EntityB; 98 | if (entityA!=Entity.Null && entityB!=Entity.Null) 99 | { 100 | bool isBodyAProjectile = activeProjectileGroup.Exists(entityA); 101 | bool isBodyBProjectile = activeProjectileGroup.Exists(entityB); 102 | bool isBodyAEnemy = enemyGroup.Exists(entityA); 103 | bool isBodyBEnemy = enemyGroup.Exists(entityB); 104 | 105 | if (isBodyAProjectile && isBodyBEnemy) 106 | { 107 | ecb.DestroyEntity(entityA); 108 | ecb.DestroyEntity(entityB); 109 | } 110 | if (isBodyBProjectile && isBodyAEnemy) 111 | { 112 | ecb.DestroyEntity(entityB); 113 | ecb.DestroyEntity(entityA); 114 | } 115 | } 116 | } 117 | } 118 | } 119 | 120 | public struct ProjectileFired : IComponentData 121 | { 122 | public float projectileSpeed; 123 | public float projectileLifeTime; 124 | public float projectileImpulseForce; 125 | public float elapsedTime; 126 | } 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /Battle/Scripts/ShooterSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38e96449d7b5cf944b104f9c007b2131 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | --------------------------------------------------------------------------------