Переглянути джерело

Main scene has player and enemy prototypes, player has player tag

DasGewehr 9 роки тому
батько
коміт
5bd9adf882

+ 9 - 0
game/Assets/3DArt.meta

@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 127266d0fe790bd44986684a68f30b42
+folderAsset: yes
+timeCreated: 1501352050
+licenseType: Free
+DefaultImporter:
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 9 - 0
game/Assets/3DArt/Materials.meta

@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: af4944bfecc5aa4438cb4cd51b3dd470
+folderAsset: yes
+timeCreated: 1501352061
+licenseType: Free
+DefaultImporter:
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 76 - 0
game/Assets/3DArt/Materials/EnemyPrototyping.mat

@@ -0,0 +1,76 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+  serializedVersion: 6
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_Name: EnemyPrototyping
+  m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+  m_ShaderKeywords: 
+  m_LightmapFlags: 4
+  m_EnableInstancingVariants: 0
+  m_DoubleSidedGI: 0
+  m_CustomRenderQueue: -1
+  stringTagMap: {}
+  disabledShaderPasses: []
+  m_SavedProperties:
+    serializedVersion: 3
+    m_TexEnvs:
+    - _BumpMap:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    - _DetailAlbedoMap:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    - _DetailMask:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    - _DetailNormalMap:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    - _EmissionMap:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    - _MainTex:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    - _MetallicGlossMap:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    - _OcclusionMap:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    - _ParallaxMap:
+        m_Texture: {fileID: 0}
+        m_Scale: {x: 1, y: 1}
+        m_Offset: {x: 0, y: 0}
+    m_Floats:
+    - _BumpScale: 1
+    - _Cutoff: 0.5
+    - _DetailNormalMapScale: 1
+    - _DstBlend: 0
+    - _GlossMapScale: 1
+    - _Glossiness: 0.5
+    - _GlossyReflections: 1
+    - _Metallic: 0
+    - _Mode: 0
+    - _OcclusionStrength: 1
+    - _Parallax: 0.02
+    - _SmoothnessTextureChannel: 0
+    - _SpecularHighlights: 1
+    - _SrcBlend: 1
+    - _UVSec: 0
+    - _ZWrite: 1
+    m_Colors:
+    - _Color: {r: 1, g: 1, b: 1, a: 1}
+    - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

+ 9 - 0
game/Assets/3DArt/Materials/EnemyPrototyping.mat.meta

@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 0ea12aba3e1c33548b7a1cfefd9ac6e6
+timeCreated: 1501352086
+licenseType: Free
+NativeFormatImporter:
+  mainObjectFileID: 2100000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 9 - 0
game/Assets/PostProcessingProfile.asset.meta

@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: a4406fb2cfaabc84eb5cd01911bd0fb2
+timeCreated: 1501351129
+licenseType: Free
+NativeFormatImporter:
+  mainObjectFileID: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 3 - 2
game/Assets/Prefabs/Enemy.prefab

@@ -37,7 +37,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1196849215294664}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
-  m_LocalPosition: {x: 0, y: 1, z: 0}
+  m_LocalPosition: {x: 0.31, y: 1, z: 14.36}
   m_LocalScale: {x: 1, y: 1, z: 1}
   m_Children: []
   m_Father: {fileID: 0}
@@ -56,7 +56,7 @@ MeshRenderer:
   m_LightProbeUsage: 1
   m_ReflectionProbeUsage: 1
   m_Materials:
-  - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+  - {fileID: 2100000, guid: 0ea12aba3e1c33548b7a1cfefd9ac6e6, type: 2}
   m_StaticBatchInfo:
     firstSubMesh: 0
     subMeshCount: 0
@@ -93,6 +93,7 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: fd8e0aeb284c1814b899164958dfa9c2, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
+  powerLevel: 0
 --- !u!136 &136634788470214324
 CapsuleCollider:
   m_ObjectHideFlags: 1

+ 1 - 1
game/Assets/Prefabs/Player.prefab

@@ -43,7 +43,7 @@ GameObject:
   - component: {fileID: 114322613409989222}
   m_Layer: 0
   m_Name: Player
-  m_TagString: Untagged
+  m_TagString: Player
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0

+ 9 - 0
game/Assets/Scenes/Main.meta

@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: d31b25bf215f65e41ad55c985c31daeb
+folderAsset: yes
+timeCreated: 1501351842
+licenseType: Free
+DefaultImporter:
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
game/Assets/Scenes/Main/NavMesh.asset


+ 9 - 0
game/Assets/Scenes/Main/NavMesh.asset.meta

@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 90990caff53762d47a7e87513a7155d0
+timeCreated: 1501351842
+licenseType: Free
+NativeFormatImporter:
+  mainObjectFileID: 23800000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 9 - 0
game/Assets/Scripts.meta

@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: b18d12b2d1968ed499a6ca27c909b721
+folderAsset: yes
+timeCreated: 1501337996
+licenseType: Free
+DefaultImporter:
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: