diff --git a/3d Prototyp/Assets/Materials/food.jpg b/3d Prototyp/Assets/Materials/food.jpg new file mode 100644 index 00000000..2d051d33 Binary files /dev/null and b/3d Prototyp/Assets/Materials/food.jpg differ diff --git a/3d Prototyp/Assets/Materials/food.jpg.meta b/3d Prototyp/Assets/Materials/food.jpg.meta new file mode 100644 index 00000000..5a1abe59 --- /dev/null +++ b/3d Prototyp/Assets/Materials/food.jpg.meta @@ -0,0 +1,127 @@ +fileFormatVersion: 2 +guid: 16b2f7c43fa69494995c29e59d235330 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/3d Prototyp/Assets/Materials/foodDeveloperNeed.mat b/3d Prototyp/Assets/Materials/foodDeveloperNeed.mat new file mode 100644 index 00000000..11bf66ac --- /dev/null +++ b/3d Prototyp/Assets/Materials/foodDeveloperNeed.mat @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: foodDeveloperNeed + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + 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: 2800000, guid: 16b2f7c43fa69494995c29e59d235330, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _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} + m_BuildTextureStacks: [] diff --git a/3d Prototyp/Assets/Materials/foodDeveloperNeed.mat.meta b/3d Prototyp/Assets/Materials/foodDeveloperNeed.mat.meta new file mode 100644 index 00000000..24e15386 --- /dev/null +++ b/3d Prototyp/Assets/Materials/foodDeveloperNeed.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2e9f21225c4c0564384d586dfff59786 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/3d Prototyp/Assets/Prefabs/FoodDeveloperNeeds.prefab b/3d Prototyp/Assets/Prefabs/FoodDeveloperNeeds.prefab new file mode 100644 index 00000000..a84bfb0f --- /dev/null +++ b/3d Prototyp/Assets/Prefabs/FoodDeveloperNeeds.prefab @@ -0,0 +1,125 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2350437210533342175 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4436768814499293496} + - component: {fileID: 143819135981374605} + - component: {fileID: 2964655485596874049} + - component: {fileID: 1943093715876155399} + - component: {fileID: 120758001594329482} + m_Layer: 0 + m_Name: FoodDeveloperNeeds + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4436768814499293496 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2350437210533342175} + serializedVersion: 2 + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.6, y: 0.05, z: 0.6} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!33 &143819135981374605 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2350437210533342175} + m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &2964655485596874049 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2350437210533342175} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 2e9f21225c4c0564384d586dfff59786, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!136 &1943093715876155399 +CapsuleCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2350437210533342175} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Radius: 0.5000001 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0.000000059604645, y: 0, z: -0.00000008940697} +--- !u!114 &120758001594329482 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2350437210533342175} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4b7e9647fcf4a0b439acce6afe885ee3, type: 3} + m_Name: + m_EditorClassIdentifier: + spinningSpeed: 100 + hoverSpeed: 1.5 + hoverHeight: 0.1 diff --git a/3d Prototyp/Assets/Prefabs/FoodDeveloperNeeds.prefab.meta b/3d Prototyp/Assets/Prefabs/FoodDeveloperNeeds.prefab.meta new file mode 100644 index 00000000..e25f5b11 --- /dev/null +++ b/3d Prototyp/Assets/Prefabs/FoodDeveloperNeeds.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2122156ae265fcc4da01213f31a64901 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/3d Prototyp/Assets/Prefabs/Zombie.prefab b/3d Prototyp/Assets/Prefabs/Zombie.prefab new file mode 100644 index 00000000..8ee93246 --- /dev/null +++ b/3d Prototyp/Assets/Prefabs/Zombie.prefab @@ -0,0 +1,1117 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &856601670117699712 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272800} + m_Layer: 0 + m_Name: R_hand_container + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272800 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699712} + serializedVersion: 2 + m_LocalRotation: {x: 0.74032545, y: 0.023411764, z: -0.6707637, w: -0.03802957} + m_LocalPosition: {x: -0.073909394, y: 0.009959373, z: 0.092282094} + m_LocalScale: {x: 0.99999994, y: 0.9999999, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 856601670117272938} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699722 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272810} + m_Layer: 0 + m_Name: HEAD_CONTAINER + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272810 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699722} + serializedVersion: 2 + m_LocalRotation: {x: 0.70710725, y: -0.00000051700005, z: -0.70710635, w: -0.0000005170007} + m_LocalPosition: {x: -0.16768356, y: 0.06229271, z: 0.00000029067994} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272558} + m_Father: {fileID: 856601670117272908} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699726 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272814} + - component: {fileID: 856601670124978856} + - component: {fileID: -8235577483402533963} + m_Layer: 0 + m_Name: Zombie + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272814 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699726} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 1, z: 0, w: -0.00000016292068} + m_LocalPosition: {x: -3.86, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272906} + - {fileID: 856601670117272556} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!95 &856601670124978856 +Animator: + serializedVersion: 5 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699726} + m_Enabled: 1 + m_Avatar: {fileID: 9000000, guid: f88c8301226fd194cbbc64e25b20d567, type: 3} + m_Controller: {fileID: 0} + m_CullingMode: 1 + m_UpdateMode: 0 + m_ApplyRootMotion: 1 + m_LinearVelocityBlending: 0 + m_StabilizeFeet: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorStateOnDisable: 0 + m_WriteDefaultValuesOnDisable: 0 +--- !u!114 &-8235577483402533963 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699726} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a455fc831fa3efb449326d693b740682, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &856601670117699840 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272928} + m_Layer: 0 + m_Name: Bip001 R UpperArm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272928 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699840} + serializedVersion: 2 + m_LocalRotation: {x: -0.047865096, y: 0.2808051, z: 0.0122590875, w: 0.9584921} + m_LocalPosition: {x: -0.10956235, y: 0, z: -0.00000009689331} + m_LocalScale: {x: 1, y: 0.99999994, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272936} + m_Father: {fileID: 856601670117272916} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699842 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272930} + m_Layer: 0 + m_Name: Bip001 Spine + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272930 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699842} + serializedVersion: 2 + m_LocalRotation: {x: -0.000002080476, y: 0.000000693676, z: -0.000398159, w: 0.99999994} + m_LocalPosition: {x: -0.08668395, y: -0.0003778294, z: 0.00000012073723} + m_LocalScale: {x: 1, y: 0.99999994, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272896} + - {fileID: 856601670117272926} + - {fileID: 856601670117272916} + m_Father: {fileID: 856601670117272912} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699848 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272936} + m_Layer: 0 + m_Name: Bip001 R Forearm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272936 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699848} + serializedVersion: 2 + m_LocalRotation: {x: -0.000000002584751, y: -0.0000000302113, z: 0.09983343, w: 0.9950042} + m_LocalPosition: {x: -0.1928595, y: -0.000000012111664, z: 0.00000009689331} + m_LocalScale: {x: 0.99999994, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272938} + m_Father: {fileID: 856601670117272928} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699850 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272938} + m_Layer: 0 + m_Name: Bip001 R Hand + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272938 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699850} + serializedVersion: 2 + m_LocalRotation: {x: 0.7068252, y: -0.000000005266258, z: -0.000000005270453, w: 0.7073882} + m_LocalPosition: {x: -0.1380071, y: 0, z: 0.00000009689331} + m_LocalScale: {x: 1, y: 0.99999994, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272800} + m_Father: {fileID: 856601670117272936} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699852 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272940} + m_Layer: 0 + m_Name: Bip001 R Thigh + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272940 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699852} + serializedVersion: 2 + m_LocalRotation: {x: -0.021307006, y: 0.99977297, z: -0.0000006783294, w: -0.000000718286} + m_LocalPosition: {x: -0.00000024223328, y: -0.00000022406577, z: -0.17689882} + m_LocalScale: {x: 1.0000001, y: 1, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272914} + m_Father: {fileID: 856601670117272912} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699854 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272942} + m_Layer: 0 + m_Name: Bip001 R Toe0 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272942 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699854} + serializedVersion: 2 + m_LocalRotation: {x: -0.00000001545431, y: 0.00000001545431, z: -0.7071068, w: 0.7071068} + m_LocalPosition: {x: -0.123024076, y: 0.2732259, z: 0} + m_LocalScale: {x: 0.99999994, y: 1, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272530} + m_Father: {fileID: 856601670117272918} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699936 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272896} + m_Layer: 0 + m_Name: Bip001 L Clavicle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272896 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699936} + serializedVersion: 2 + m_LocalRotation: {x: -0.6404204, y: -0.00025605707, z: 0.76802444, w: -0.00030490497} + m_LocalPosition: {x: -0.3317789, y: 0.000112889786, z: 0.21894683} + m_LocalScale: {x: 1.0000001, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272924} + m_Father: {fileID: 856601670117272930} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699938 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272898} + m_Layer: 0 + m_Name: Bip001 L Foot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272898 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699938} + serializedVersion: 2 + m_LocalRotation: {x: -0.0000000051264695, y: -0.00000007698254, z: -0.067478254, w: 0.9977208} + m_LocalPosition: {x: -0.10479825, y: 0, z: 0} + m_LocalScale: {x: 1, y: 0.99999994, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272922} + m_Father: {fileID: 856601670117272910} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699940 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272900} + m_Layer: 0 + m_Name: Bip001 L Forearm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272900 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699940} + serializedVersion: 2 + m_LocalRotation: {x: 7.3141e-10, y: 0.000000030025348, z: 0.09983345, w: 0.9950042} + m_LocalPosition: {x: -0.1928595, y: -0.000000012111664, z: 0} + m_LocalScale: {x: 0.99999994, y: 1.0000001, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272902} + m_Father: {fileID: 856601670117272924} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699942 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272902} + m_Layer: 0 + m_Name: Bip001 L Hand + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272902 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699942} + serializedVersion: 2 + m_LocalRotation: {x: -0.7068252, y: -0.000000010540906, z: -0.000000010532516, w: 0.7073882} + m_LocalPosition: {x: -0.13800707, y: 0, z: -0.00000009689331} + m_LocalScale: {x: 1, y: 0.99999994, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 856601670117272900} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699946 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272906} + m_Layer: 0 + m_Name: Bip001 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272906 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699946} + serializedVersion: 2 + m_LocalRotation: {x: -0.50000036, y: 0.49999964, z: 0.49999964, w: 0.50000036} + m_LocalPosition: {x: -0, y: 0.45108902, z: -0.036125187} + m_LocalScale: {x: 0.99999994, y: 0.99999994, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272540} + - {fileID: 856601670117272912} + m_Father: {fileID: 856601670117272814} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699948 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272908} + m_Layer: 0 + m_Name: Bip001 Head + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272908 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699948} + serializedVersion: 2 + m_LocalRotation: {x: -7.2656e-14, y: -0.0000000011042733, z: 0.00039883057, w: 0.99999994} + m_LocalPosition: {x: -0.08924581, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272542} + - {fileID: 856601670117272810} + m_Father: {fileID: 856601670117272926} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699950 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272910} + m_Layer: 0 + m_Name: Bip001 L Calf + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272910 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699950} + serializedVersion: 2 + m_LocalRotation: {x: 2.1740764e-14, y: 1.6203627e-14, z: 0.08872142, w: 0.9960565} + m_LocalPosition: {x: -0.21324629, y: -0.000000004541874, z: 0} + m_LocalScale: {x: 0.9999999, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272898} + m_Father: {fileID: 856601670117272920} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699952 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272912} + m_Layer: 0 + m_Name: Bip001 Pelvis + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272912 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699952} + serializedVersion: 2 + m_LocalRotation: {x: -0.5, y: 0.5, z: 0.4999993, w: 0.5000007} + m_LocalPosition: {x: -0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 0.99999994, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272920} + - {fileID: 856601670117272940} + - {fileID: 856601670117272930} + m_Father: {fileID: 856601670117272906} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699954 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272914} + m_Layer: 0 + m_Name: Bip001 R Calf + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272914 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699954} + serializedVersion: 2 + m_LocalRotation: {x: 1.5907614e-14, y: -2.149846e-15, z: 0.08872142, w: 0.9960565} + m_LocalPosition: {x: -0.2132463, y: -0.000000001513958, z: -0.000000012111664} + m_LocalScale: {x: 0.9999999, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272918} + m_Father: {fileID: 856601670117272940} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699956 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272916} + m_Layer: 0 + m_Name: Bip001 R Clavicle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272916 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699956} + serializedVersion: 2 + m_LocalRotation: {x: 0.6404204, y: 0.00025392688, z: 0.76802444, w: -0.00030668126} + m_LocalPosition: {x: -0.3317789, y: 0.000114100956, z: -0.21894683} + m_LocalScale: {x: 1.0000001, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272928} + m_Father: {fileID: 856601670117272930} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699958 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272918} + m_Layer: 0 + m_Name: Bip001 R Foot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272918 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699958} + serializedVersion: 2 + m_LocalRotation: {x: -7.726713e-10, y: -0.000000010241, z: -0.067478254, w: 0.9977208} + m_LocalPosition: {x: -0.10479823, y: 0, z: 0} + m_LocalScale: {x: 1, y: 0.99999994, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272942} + m_Father: {fileID: 856601670117272914} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699960 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272920} + m_Layer: 0 + m_Name: Bip001 L Thigh + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272920 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699960} + serializedVersion: 2 + m_LocalRotation: {x: -0.021307006, y: 0.99977297, z: -0.00000067674466, w: -0.00000078515063} + m_LocalPosition: {x: 0.00000024223328, y: 0.0000002664566, z: 0.17689882} + m_LocalScale: {x: 1.0000001, y: 1, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272910} + m_Father: {fileID: 856601670117272912} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699962 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272922} + m_Layer: 0 + m_Name: Bip001 L Toe0 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272922 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699962} + serializedVersion: 2 + m_LocalRotation: {x: 0.000000015454312, y: -0.000000015454312, z: -0.7071068, w: 0.7071068} + m_LocalPosition: {x: -0.123024076, y: 0.2732259, z: 0} + m_LocalScale: {x: 0.99999994, y: 1, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272528} + m_Father: {fileID: 856601670117272898} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699964 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272924} + m_Layer: 0 + m_Name: Bip001 L UpperArm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272924 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699964} + serializedVersion: 2 + m_LocalRotation: {x: 0.047865096, y: -0.2808051, z: 0.0122590875, w: 0.9584921} + m_LocalPosition: {x: -0.10956235, y: 0.000000003027916, z: 0.00000009689331} + m_LocalScale: {x: 1, y: 0.99999994, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272900} + m_Father: {fileID: 856601670117272896} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117699966 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272926} + m_Layer: 0 + m_Name: Bip001 Neck + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272926 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117699966} + serializedVersion: 2 + m_LocalRotation: {x: -3.0117673e-14, y: 0, z: -0, w: 1} + m_LocalPosition: {x: -0.4422119, y: 0.0018946155, z: 0.0000000025954159} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 856601670117272908} + m_Father: {fileID: 856601670117272930} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117703564 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272556} + - component: {fileID: 856601670120881098} + m_Layer: 0 + m_Name: Body_01_tanktop + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272556 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703564} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 856601670117272814} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!137 &856601670120881098 +SkinnedMeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703564} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 3 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 8fd192304df88db499eedb3456dc6d67, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + serializedVersion: 2 + m_Quality: 0 + m_UpdateWhenOffscreen: 0 + m_SkinnedMotionVectors: 1 + m_Mesh: {fileID: 4300362, guid: f88c8301226fd194cbbc64e25b20d567, type: 3} + m_Bones: + - {fileID: 856601670117272912} + - {fileID: 856601670117272918} + - {fileID: 856601670117272940} + - {fileID: 856601670117272930} + - {fileID: 856601670117272908} + - {fileID: 856601670117272928} + - {fileID: 856601670117272898} + - {fileID: 856601670117272920} + - {fileID: 856601670117272914} + - {fileID: 856601670117272936} + - {fileID: 856601670117272938} + - {fileID: 856601670117272910} + - {fileID: 856601670117272924} + - {fileID: 856601670117272900} + - {fileID: 856601670117272902} + m_BlendShapeWeights: [] + m_RootBone: {fileID: 856601670117272912} + m_AABB: + m_Center: {x: -0.07043728, y: 0.021879755, z: 0.000000029802322} + m_Extent: {x: 0.52468824, y: 0.24432853, z: 0.75921905} + m_DirtyAABB: 0 +--- !u!1 &856601670117703566 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272558} + - component: {fileID: 856601670118599790} + - component: {fileID: 856601670119698094} + m_Layer: 0 + m_Name: Z_head_02 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272558 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703566} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 5.439261e-20, w: 1} + m_LocalPosition: {x: -0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 856601670117272810} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &856601670118599790 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703566} + m_Mesh: {fileID: 4300360, guid: f88c8301226fd194cbbc64e25b20d567, type: 3} +--- !u!23 &856601670119698094 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703566} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 8fd192304df88db499eedb3456dc6d67, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &856601670117703664 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272528} + m_Layer: 0 + m_Name: Bip001 L Toe0Nub + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272528 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703664} + serializedVersion: 2 + m_LocalRotation: {x: 9.553441e-16, y: 1.75553e-30, z: 1, w: -1.8375893e-15} + m_LocalPosition: {x: -0.006900354, y: 0, z: 0} + m_LocalScale: {x: -0.99999994, y: -1, z: -0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 856601670117272922} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117703666 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272530} + m_Layer: 0 + m_Name: Bip001 R Toe0Nub + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272530 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703666} + serializedVersion: 2 + m_LocalRotation: {x: 1.6970273e-30, y: -9.553415e-16, z: 1.776357e-15, w: 1} + m_LocalPosition: {x: -0.006900354, y: 0, z: 0} + m_LocalScale: {x: 0.99999994, y: 1, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 856601670117272942} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117703676 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272540} + m_Layer: 0 + m_Name: Bip001 Footsteps + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272540 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703676} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: -0.7071063, w: 0.70710725} + m_LocalPosition: {x: -0, y: 0, z: -0.43992063} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 856601670117272906} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &856601670117703678 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 856601670117272542} + m_Layer: 0 + m_Name: Bip001 HeadNub + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &856601670117272542 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 856601670117703678} + serializedVersion: 2 + m_LocalRotation: {x: -4.1174657e-20, y: -3.3881318e-21, z: -1.39505e-40, w: 1} + m_LocalPosition: {x: -0.5598671, y: 0.000000003027916, z: 0} + m_LocalScale: {x: 1, y: 0.99999994, z: 0.99999994} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 856601670117272908} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/3d Prototyp/Assets/Prefabs/Zombie.prefab.meta b/3d Prototyp/Assets/Prefabs/Zombie.prefab.meta new file mode 100644 index 00000000..c3de6bc1 --- /dev/null +++ b/3d Prototyp/Assets/Prefabs/Zombie.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a34b2d22562c7214f9daf0d3dea8d85c +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/3d Prototyp/Assets/Scenes/GameLoopTest.unity b/3d Prototyp/Assets/Scenes/GameLoopTest.unity index 58cb951b..be6e17b5 100644 --- a/3d Prototyp/Assets/Scenes/GameLoopTest.unity +++ b/3d Prototyp/Assets/Scenes/GameLoopTest.unity @@ -251,6 +251,58 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 0} +--- !u!1 &37507747 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 37507749} + - component: {fileID: 37507748} + m_Layer: 0 + m_Name: Zeitschaltuhr + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &37507748 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 37507747} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1627adb53b4429346a7b0a984867d9d2, type: 3} + m_Name: + m_EditorClassIdentifier: + IsOn: 0 + _turnOnTime: + _hour: 0 + _minutes: 0 + _turnOffTime: + _hour: 0 + _minutes: 0 +--- !u!4 &37507749 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 37507747} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 27.598955, y: 1.3647667, z: -5.786058} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 266099154} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &179279865 GameObject: m_ObjectHideFlags: 0 @@ -393,6 +445,53 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &266099153 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 266099154} + - component: {fileID: 266099155} + m_Layer: 0 + m_Name: ZombieSpawner + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &266099154 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 266099153} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 37507749} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &266099155 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 266099153} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a61873b0f5608a44982d48387f34f682, type: 3} + m_Name: + m_EditorClassIdentifier: + ZombiePrefab: {fileID: 0} + _spawnRate: 1 + _spawnTimer: 0 --- !u!1001 &514859708 PrefabInstance: m_ObjectHideFlags: 0 @@ -1998,7 +2097,7 @@ MonoBehaviour: - {fileID: 2907046783514947559, guid: 92b71cfc6a2687d44b165ead746233f0, type: 3} - {fileID: 3355435593704932208, guid: b31fb59d198e53b459943bf898293618, type: 3} - {fileID: 7697340910557049827, guid: 5d809e3a343d45f4185615db92384dc7, type: 3} - - {fileID: 2405502523364773131, guid: b396df2098c22e1488c2c2769c6ddcd6, type: 3} + - {fileID: 2350437210533342175, guid: 2122156ae265fcc4da01213f31a64901, type: 3} --- !u!114 &1814492794 MonoBehaviour: m_ObjectHideFlags: 0 @@ -2253,3 +2352,4 @@ SceneRoots: - {fileID: 983523620} - {fileID: 1814492790} - {fileID: 514859708} + - {fileID: 37507749} diff --git a/3d Prototyp/Assets/Scripts/Developer.cs b/3d Prototyp/Assets/Scripts/Developer.cs index 10356fac..9e577ab5 100644 --- a/3d Prototyp/Assets/Scripts/Developer.cs +++ b/3d Prototyp/Assets/Scripts/Developer.cs @@ -123,6 +123,8 @@ public class Developer : MonoBehaviour [SerializeField, ShowOnly] private float _talkTimer; + private List _needList = new List(); + void Start() { _developerNeeds = gameObject.GetComponent(); @@ -179,6 +181,8 @@ public class Developer : MonoBehaviour if (_caffeineNeed != null && _caffeineLevel > GameManager.Instance.NeedNotificationThreshold) { + UpdateNeedPositions(_caffeineNeed); + _needList.Remove(_caffeineNeed); NeedFullfilled(_caffeineNeed); _caffeineNeed = null; } @@ -209,6 +213,8 @@ public class Developer : MonoBehaviour if (_hungerNeed != null && _hungerLevel > GameManager.Instance.NeedNotificationThreshold) { + UpdateNeedPositions(_hungerNeed); + _needList.Remove(_hungerNeed); NeedFullfilled(_hungerNeed); _hungerNeed = null; } @@ -239,6 +245,8 @@ public class Developer : MonoBehaviour if (_toiletNeed != null && _urgeToUrinateLevel > GameManager.Instance.NeedNotificationThreshold) { + UpdateNeedPositions(_toiletNeed); + _needList.Remove(_toiletNeed); NeedFullfilled(_toiletNeed); _toiletNeed = null; } @@ -271,20 +279,23 @@ public class Developer : MonoBehaviour if (Random.Range(0.0f, 1.0f) > 0.5f) { - _caffeineNeed = _developerNeeds.SpawnMateNeed(); + _caffeineNeed = _developerNeeds.SpawnMateNeed(_needList.Count); _wantedDrink = WantedConsumable.Mate; + _needList.Add(_caffeineNeed); } else { - _caffeineNeed = _developerNeeds.SpawnCoffeeNeed(); + _caffeineNeed = _developerNeeds.SpawnCoffeeNeed(_needList.Count); _wantedDrink = WantedConsumable.Coffee; + _needList.Add(_caffeineNeed); } } if (_hungerLevel < GameManager.Instance.NeedNotificationThreshold && _hungerNeed == null) { - _hungerNeed = _developerNeeds.SpawnHungerNeed(); + _hungerNeed = _developerNeeds.SpawnHungerNeed(_needList.Count); _wantedFood = WantedConsumable.Pizza; + _needList.Add(_hungerNeed); } if (_urgeToUrinateLevel < GameManager.Instance.NeedNotificationThreshold && _toiletNeed == null) @@ -293,7 +304,8 @@ public class Developer : MonoBehaviour Debug.Log("Ich muss aufs Klo!"); - _toiletNeed = _developerNeeds.SpawnToiletNeed(); + _toiletNeed = _developerNeeds.SpawnToiletNeed(_needList.Count); + _needList.Add(_toiletNeed); } if (_hungerLevel <= 0.0) @@ -302,6 +314,23 @@ public class Developer : MonoBehaviour } } + private void UpdateNeedPositions(GameObject reference) + { + int referenceIndex = _needList.IndexOf(reference); + + if (referenceIndex == -1) + { + Debug.LogError("Reference GameObject not in List."); + return; + } + + for (int i = referenceIndex + 1; i < _needList.Count; i++) + { + GameObject currentItem = _needList[i]; + currentItem.GetComponent().originalY -= 0.5f; + } + } + private void NeedFullfilled(GameObject needObject) { Instantiate(GameManager.Instance.NeedFullfilledParticleEffect, needObject.transform.position, needObject.transform.rotation); diff --git a/3d Prototyp/Assets/Scripts/DeveloperNeeds.cs b/3d Prototyp/Assets/Scripts/DeveloperNeeds.cs index 29fb3aac..4d087633 100644 --- a/3d Prototyp/Assets/Scripts/DeveloperNeeds.cs +++ b/3d Prototyp/Assets/Scripts/DeveloperNeeds.cs @@ -24,14 +24,14 @@ public class DeveloperNeeds : MonoBehaviour // TODO: Enums statt strings verwenden // TODO: Multiple Needs möglich übereinander anzeigen? - - public GameObject SpawnCoffeeNeed() => spawnNeed("coffee"); - public GameObject SpawnMateNeed() => spawnNeed("mate"); - public GameObject SpawnToiletNeed() => spawnNeed("toilet"); - public GameObject SpawnHungerNeed() => spawnNeed("hunger"); - public GameObject SpawnMoneyNeed() => spawnNeed("money"); - public GameObject spawnNeed(string needName) + public GameObject SpawnCoffeeNeed(int numNeeds) => spawnNeed("coffee", numNeeds); + public GameObject SpawnMateNeed(int numNeeds) => spawnNeed("mate", numNeeds); + public GameObject SpawnToiletNeed(int numNeeds) => spawnNeed("toilet", numNeeds); + public GameObject SpawnHungerNeed(int numNeeds) => spawnNeed("hunger", numNeeds); + public GameObject SpawnMoneyNeed(int numNeeds) => spawnNeed("money", numNeeds); + + public GameObject spawnNeed(string needName, float numNeeds) { GameObject spawnedNeed = null; @@ -40,20 +40,20 @@ public class DeveloperNeeds : MonoBehaviour switch (needName) { case "coffee": - spawnedNeed = Instantiate(Needs[0], new Vector3(0.0f, 2f, 0.0f), Needs[0].transform.rotation); - context = "The NPC wants coffee"; + spawnedNeed = Instantiate(Needs[0], new Vector3(0.0f, 2f + (numNeeds * 0.5f), 0.0f), Needs[0].transform.rotation); + context = "The Developer wants coffee"; break; case "mate": - spawnedNeed = Instantiate(Needs[1], new Vector3(0.0f, 2f, 0.0f), Needs[0].transform.rotation); - context = "The NPC wants a Blub Mate (Yes, its a drink called Blub Mate)"; + spawnedNeed = Instantiate(Needs[1], new Vector3(0.0f, 2f + (numNeeds * 0.5f), 0.0f), Needs[0].transform.rotation); + context = "The Developer wants a Blub Mate (Yes, its a drink called Blub Mate)"; break; case "toilet": - spawnedNeed = Instantiate(Needs[2], new Vector3(0.0f, 2f, 0.0f), Needs[0].transform.rotation); - context = "The NPC wants to go to the toilet, toilet is clogged and dirty"; + spawnedNeed = Instantiate(Needs[2], new Vector3(0.0f, 2f + (numNeeds * 0.5f), 0.0f), Needs[0].transform.rotation); + context = "The Developer wants to go to the toilet, toilet is clogged and dirty"; break; - case "money": - spawnedNeed = Instantiate(Needs[3], new Vector3(0.0f, 2f, 0.0f), Needs[0].transform.rotation); - context = "The NPC wants a raise, The NPC needs more money"; + case "hunger": + spawnedNeed = Instantiate(Needs[3], new Vector3(0.0f, 2f + (numNeeds * 0.5f), 0.0f), Needs[0].transform.rotation); + context = "The Developer wants a pizza"; break; default: Debug.LogError($"Unbekannter need \"{needName}\""); diff --git a/3d Prototyp/Assets/Scripts/NPC_Behavior.cs b/3d Prototyp/Assets/Scripts/NPC_Behavior.cs index 59ef6042..ad69095f 100644 --- a/3d Prototyp/Assets/Scripts/NPC_Behavior.cs +++ b/3d Prototyp/Assets/Scripts/NPC_Behavior.cs @@ -126,7 +126,7 @@ public class NPC_Behavior : MonoBehaviour need = needName; } - _currentNeed = _developerNeeds.spawnNeed(need); + _currentNeed = _developerNeeds.spawnNeed(need, 0); HasNeed = true; _lastTenNeeds.Add(need); if (_lastTenNeeds.Count > 10) diff --git a/3d Prototyp/Assets/Scripts/Utility/SpinningSpinner.cs b/3d Prototyp/Assets/Scripts/Utility/SpinningSpinner.cs index 4a5b5f1f..76d38c24 100644 --- a/3d Prototyp/Assets/Scripts/Utility/SpinningSpinner.cs +++ b/3d Prototyp/Assets/Scripts/Utility/SpinningSpinner.cs @@ -8,7 +8,7 @@ public class SpinningSpinner : MonoBehaviour public float hoverSpeed = 1.5f; public float hoverHeight = 0.1f; - private float originalY; + public float originalY; void Start() diff --git a/3d Prototyp/Assets/Scripts/Zombie.cs b/3d Prototyp/Assets/Scripts/Zombie.cs new file mode 100644 index 00000000..123bd613 --- /dev/null +++ b/3d Prototyp/Assets/Scripts/Zombie.cs @@ -0,0 +1,18 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Zombie : MonoBehaviour +{ + // Start is called before the first frame update + void Start() + { + + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/3d Prototyp/Assets/Scripts/Zombie.cs.meta b/3d Prototyp/Assets/Scripts/Zombie.cs.meta new file mode 100644 index 00000000..4c254583 --- /dev/null +++ b/3d Prototyp/Assets/Scripts/Zombie.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a455fc831fa3efb449326d693b740682 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/3d Prototyp/Assets/Scripts/ZombieSpawner.cs b/3d Prototyp/Assets/Scripts/ZombieSpawner.cs new file mode 100644 index 00000000..eb7dcd35 --- /dev/null +++ b/3d Prototyp/Assets/Scripts/ZombieSpawner.cs @@ -0,0 +1,32 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using Utility; + +public class ZombieSpawner : MonoBehaviour +{ + [SerializeField] + GameObject ZombiePrefab; + [SerializeField] + private float _spawnRate = 1.0f; + [SerializeField, ShowOnly] + private float _spawnTimer; + + // Start wird aufgerufen, bevor das erste Frame gezeichnet wird + void Start() + { + _spawnTimer = 60 / _spawnRate; + } + + // Update wird einmal pro Frame aufgerufen + void Update() + { + _spawnTimer -= Time.deltaTime; + + if (_spawnTimer <= 0) + { + Instantiate(ZombiePrefab, transform.position, Quaternion.identity); + _spawnTimer = 60 / _spawnRate; + } + } +} diff --git a/3d Prototyp/Assets/Scripts/ZombieSpawner.cs.meta b/3d Prototyp/Assets/Scripts/ZombieSpawner.cs.meta new file mode 100644 index 00000000..e8aa95fd --- /dev/null +++ b/3d Prototyp/Assets/Scripts/ZombieSpawner.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a61873b0f5608a44982d48387f34f682 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: