diff --git a/Assets/Models/GreenBoy2.fbx.meta b/Assets/Models/GreenBoy2.fbx.meta index 95c1204..414f4fe 100644 --- a/Assets/Models/GreenBoy2.fbx.meta +++ b/Assets/Models/GreenBoy2.fbx.meta @@ -35,7 +35,7 @@ ModelImporter: isReadable: 0 meshes: lODScreenPercentages: [] - globalScale: 1 + globalScale: 0.1 meshCompression: 0 addColliders: 0 useSRGBMaterialColor: 1 @@ -90,7 +90,7 @@ ModelImporter: armStretch: 0.05 legStretch: 0.05 feetSpacing: 0 - globalScale: 1 + globalScale: 0.001 rootMotionBoneName: hasTranslationDoF: 0 hasExtraRoot: 0 diff --git a/Assets/Models/GreenBoy3.fbx.meta b/Assets/Models/GreenBoy3.fbx.meta index 273a6bf..ced534c 100644 --- a/Assets/Models/GreenBoy3.fbx.meta +++ b/Assets/Models/GreenBoy3.fbx.meta @@ -35,7 +35,7 @@ ModelImporter: isReadable: 0 meshes: lODScreenPercentages: [] - globalScale: 1 + globalScale: 0.1 meshCompression: 0 addColliders: 0 useSRGBMaterialColor: 1 @@ -90,7 +90,7 @@ ModelImporter: armStretch: 0.05 legStretch: 0.05 feetSpacing: 0 - globalScale: 1 + globalScale: 0.001 rootMotionBoneName: hasTranslationDoF: 0 hasExtraRoot: 0 diff --git a/Assets/Models/GreenBoy4.fbx.meta b/Assets/Models/GreenBoy4.fbx.meta index 759646a..5e54d03 100644 --- a/Assets/Models/GreenBoy4.fbx.meta +++ b/Assets/Models/GreenBoy4.fbx.meta @@ -35,7 +35,7 @@ ModelImporter: isReadable: 0 meshes: lODScreenPercentages: [] - globalScale: 1 + globalScale: 0.1 meshCompression: 0 addColliders: 0 useSRGBMaterialColor: 1 @@ -90,7 +90,7 @@ ModelImporter: armStretch: 0.05 legStretch: 0.05 feetSpacing: 0 - globalScale: 1 + globalScale: 0.001 rootMotionBoneName: hasTranslationDoF: 0 hasExtraRoot: 0 diff --git a/Assets/Prefabs/Enemies/Enemy.prefab b/Assets/Prefabs/Enemies/Enemy.prefab index d9c3e27..811e6b0 100644 --- a/Assets/Prefabs/Enemies/Enemy.prefab +++ b/Assets/Prefabs/Enemies/Enemy.prefab @@ -28,8 +28,8 @@ Transform: 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_LocalScale: {x: 5, y: 5, z: 5} + m_ConstrainProportionsScale: 1 m_Children: - {fileID: 4199099976017055095} m_Father: {fileID: 0} diff --git a/Assets/Prefabs/Enemies/GreenBoy1.prefab b/Assets/Prefabs/Enemies/GreenBoy1.prefab index 367d050..d914565 100644 --- a/Assets/Prefabs/Enemies/GreenBoy1.prefab +++ b/Assets/Prefabs/Enemies/GreenBoy1.prefab @@ -1,5 +1,174 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!1 &1484513804757582226 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2627284670810454475} + - component: {fileID: 3695515590031474163} + - component: {fileID: 9127653115427650586} + m_Layer: 0 + m_Name: Sphere + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2627284670810454475 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1484513804757582226} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 100, y: 100, z: 100} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8975678556269892804} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3695515590031474163 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1484513804757582226} + m_Mesh: {fileID: 4711208715938537054, guid: 18a302e9a279644c19653ac58e191809, type: 3} +--- !u!23 &9127653115427650586 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1484513804757582226} + 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: -6478536213147159724, guid: 18a302e9a279644c19653ac58e191809, type: 3} + - {fileID: -3846018093981099296, guid: 18a302e9a279644c19653ac58e191809, type: 3} + - {fileID: -6629797300637803691, guid: 18a302e9a279644c19653ac58e191809, type: 3} + - {fileID: -6922793697723135513, guid: 18a302e9a279644c19653ac58e191809, type: 3} + 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 &4905475334432804188 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4318888908952639763} + - component: {fileID: 6038133753003561376} + - component: {fileID: 7713656331555127907} + m_Layer: 0 + m_Name: Cube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4318888908952639763 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4905475334432804188} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: -0.054092992, y: -0.06743198, z: 0.00022393615} + m_LocalScale: {x: 55.62371, y: 55.62371, z: 55.62371} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8975678556269892804} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &6038133753003561376 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4905475334432804188} + m_Mesh: {fileID: -5495902117074765545, guid: 18a302e9a279644c19653ac58e191809, type: 3} +--- !u!23 &7713656331555127907 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4905475334432804188} + 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: 4874126678125670354, guid: 18a302e9a279644c19653ac58e191809, type: 3} + 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!1001 &320849908925323048 PrefabInstance: m_ObjectHideFlags: 0 @@ -74,7 +243,11 @@ PrefabInstance: - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} insertIndex: -1 - addedObject: {fileID: 2345304631018742066} + addedObject: {fileID: 4318888908952639763} + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 2627284670810454475} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} --- !u!4 &8975678556269892804 stripped @@ -83,77 +256,3 @@ Transform: type: 3} m_PrefabInstance: {fileID: 320849908925323048} m_PrefabAsset: {fileID: 0} ---- !u!1001 &2812088260485842649 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 8975678556269892804} - m_Modifications: - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 919132149155446097, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - propertyPath: m_Name - value: GreenBoy - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 18a302e9a279644c19653ac58e191809, type: 3} ---- !u!4 &2345304631018742066 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 18a302e9a279644c19653ac58e191809, - type: 3} - m_PrefabInstance: {fileID: 2812088260485842649} - m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/Enemies/GreenBoy2.prefab b/Assets/Prefabs/Enemies/GreenBoy2.prefab index 01bc255..c9eb2a1 100644 --- a/Assets/Prefabs/Enemies/GreenBoy2.prefab +++ b/Assets/Prefabs/Enemies/GreenBoy2.prefab @@ -1,5 +1,342 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!1 &3231083907916497553 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4196044277737084291} + - component: {fileID: 7564610506935021097} + - component: {fileID: 3645469771944819949} + m_Layer: 0 + m_Name: Cube.002 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4196044277737084291 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3231083907916497553} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: 0.0043915086, y: 0.012331475, z: -0.0077101276} + m_LocalScale: {x: 100, y: 100, z: 100} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &7564610506935021097 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3231083907916497553} + m_Mesh: {fileID: -1550514412580984892, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} +--- !u!23 &3645469771944819949 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3231083907916497553} + 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: 6699446615349125189, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + - {fileID: 880774007180850119, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + 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 &5245729724523394288 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6284276867580951690} + - component: {fileID: 6243685724512154118} + - component: {fileID: 7245593571651325249} + m_Layer: 0 + m_Name: Sphere.001 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6284276867580951690 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5245729724523394288} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: 0, y: 0, z: -0.008381486} + m_LocalScale: {x: 100, y: 100, z: 100} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &6243685724512154118 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5245729724523394288} + m_Mesh: {fileID: 70948873267775455, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} +--- !u!23 &7245593571651325249 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5245729724523394288} + 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: -2813467912831258332, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + - {fileID: -8274133419916619345, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + - {fileID: 9185737683893222716, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + - {fileID: -3522955778539423533, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + 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 &6007150768222056047 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7814617659454412460} + - component: {fileID: 3556598478310389610} + - component: {fileID: 1742843013608051939} + m_Layer: 0 + m_Name: Cube.003 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7814617659454412460 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6007150768222056047} + serializedVersion: 2 + m_LocalRotation: {x: -0.49431682, y: 0.5056193, z: 0.50561994, w: 0.49431622} + m_LocalPosition: {x: 0, y: -0.061433177, z: -0.10827058} + m_LocalScale: {x: 21.63955, y: 21.63955, z: 21.63955} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3556598478310389610 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6007150768222056047} + m_Mesh: {fileID: -8678823145569952518, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} +--- !u!23 &1742843013608051939 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6007150768222056047} + 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: 4874126678125670354, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + - {fileID: 1886820026795636259, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + 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 &8439137990335698816 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5829932881554470356} + - component: {fileID: 6832063665726950265} + - component: {fileID: 6256289494710273022} + m_Layer: 0 + m_Name: Cube.001 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5829932881554470356 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8439137990335698816} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: -0.054092992, y: -0.06743198, z: -0.00815754} + m_LocalScale: {x: 55.62371, y: 55.62371, z: 55.62371} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &6832063665726950265 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8439137990335698816} + m_Mesh: {fileID: 4493585093827132993, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} +--- !u!23 &6256289494710273022 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8439137990335698816} + 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: -6087771358165109452, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} + 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!1001 &4585900668521982005 PrefabInstance: m_ObjectHideFlags: 0 @@ -74,7 +411,19 @@ PrefabInstance: - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} insertIndex: -1 - addedObject: {fileID: 6051289371301309448} + addedObject: {fileID: 5829932881554470356} + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 4196044277737084291} + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 7814617659454412460} + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 6284276867580951690} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} --- !u!4 &5136217943868287961 stripped @@ -83,77 +432,3 @@ Transform: type: 3} m_PrefabInstance: {fileID: 4585900668521982005} m_PrefabAsset: {fileID: 0} ---- !u!1001 &6084581771603577827 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 5136217943868287961} - m_Modifications: - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 919132149155446097, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - propertyPath: m_Name - value: GreenBoy2 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: d98e454151a6ff242b2b65cdea2b147b, type: 3} ---- !u!4 &6051289371301309448 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: d98e454151a6ff242b2b65cdea2b147b, - type: 3} - m_PrefabInstance: {fileID: 6084581771603577827} - m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/Enemies/GreenBoyBoss.prefab b/Assets/Prefabs/Enemies/GreenBoyBoss.prefab index bffcd4b..2019357 100644 --- a/Assets/Prefabs/Enemies/GreenBoyBoss.prefab +++ b/Assets/Prefabs/Enemies/GreenBoyBoss.prefab @@ -1,79 +1,174 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1001 &4458172739655399607 -PrefabInstance: +--- !u!1 &2553432573220452155 +GameObject: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 5136217943868287961} - m_Modifications: - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalPosition.z - value: 11 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 919132149155446097, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - propertyPath: m_Name - value: GreenBoy4 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: e60b24c47552f824b837bfe6ab682658, type: 3} ---- !u!4 &4203025038481301340 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: e60b24c47552f824b837bfe6ab682658, - type: 3} - m_PrefabInstance: {fileID: 4458172739655399607} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2581943205175689103} + - component: {fileID: 712066307697701920} + - component: {fileID: 4230355486181096376} + m_Layer: 0 + m_Name: Sphere.003 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2581943205175689103 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2553432573220452155} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: 0, y: 0.09005289, z: -1.1093463} + m_LocalScale: {x: 206.21457, y: 206.21457, z: 206.21457} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &712066307697701920 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2553432573220452155} + m_Mesh: {fileID: 3447038591770236762, guid: e60b24c47552f824b837bfe6ab682658, type: 3} +--- !u!23 &4230355486181096376 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2553432573220452155} + 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: -4246479402191905792, guid: e60b24c47552f824b837bfe6ab682658, type: 3} + - {fileID: -7198559261415225722, guid: e60b24c47552f824b837bfe6ab682658, type: 3} + - {fileID: -5998004595915773402, guid: e60b24c47552f824b837bfe6ab682658, type: 3} + - {fileID: -8693172909504858975, guid: e60b24c47552f824b837bfe6ab682658, type: 3} + 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 &4634280698832045599 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5174690768294890204} + - component: {fileID: 579297057861196090} + - component: {fileID: 2244513670021367640} + m_Layer: 0 + m_Name: Cube.006 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5174690768294890204 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4634280698832045599} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: -0.10187311, y: -0.26510406, z: -1.1091224} + m_LocalScale: {x: 111.66589, y: 111.66589, z: 111.66589} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &579297057861196090 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4634280698832045599} + m_Mesh: {fileID: -2228417370725966487, guid: e60b24c47552f824b837bfe6ab682658, type: 3} +--- !u!23 &2244513670021367640 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4634280698832045599} + 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: -2813337366143557646, guid: e60b24c47552f824b837bfe6ab682658, type: 3} + 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!1001 &4585900668521982005 PrefabInstance: m_ObjectHideFlags: 0 @@ -148,7 +243,11 @@ PrefabInstance: - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} insertIndex: -1 - addedObject: {fileID: 4203025038481301340} + addedObject: {fileID: 5174690768294890204} + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 2581943205175689103} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} --- !u!4 &5136217943868287961 stripped diff --git a/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab b/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab index 785477f..c297f2a 100644 --- a/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab +++ b/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab @@ -1,79 +1,257 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1001 &3238267526140592289 -PrefabInstance: +--- !u!1 &328181127392286608 +GameObject: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 5136217943868287961} - m_Modifications: - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalPosition.z - value: 4 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 919132149155446097, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - propertyPath: m_Name - value: GreenBoy3 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} ---- !u!4 &3132845443465504586 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: f213d10596067dd42a05d8fbce2813a2, - type: 3} - m_PrefabInstance: {fileID: 3238267526140592289} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5502987293853872770} + - component: {fileID: 5635140987920469086} + - component: {fileID: 8365036987529120051} + m_Layer: 0 + m_Name: Cube.004 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5502987293853872770 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 328181127392286608} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: -0.054092992, y: -0.06743198, z: -0.402755} + m_LocalScale: {x: 55.62371, y: 55.62371, z: 55.62371} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &5635140987920469086 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 328181127392286608} + m_Mesh: {fileID: -5053925668127403250, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} +--- !u!23 &8365036987529120051 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 328181127392286608} + 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: -5605289326131794027, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} + 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 &1198457551814079549 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7940863433879303452} + - component: {fileID: 7226785372496171369} + - component: {fileID: 2393395469905274384} + m_Layer: 0 + m_Name: Cube.005 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7940863433879303452 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1198457551814079549} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: 0, y: 0, z: -0.40107602} + m_LocalScale: {x: 58.426834, y: 58.426834, z: 58.426834} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &7226785372496171369 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1198457551814079549} + m_Mesh: {fileID: 2212009239438826721, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} +--- !u!23 &2393395469905274384 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1198457551814079549} + 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: 1886820026795636259, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} + 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 &8635889218845086774 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4732930958137629346} + - component: {fileID: 7776676039101429320} + - component: {fileID: 2272425703536899450} + m_Layer: 0 + m_Name: Sphere.002 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4732930958137629346 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8635889218845086774} + serializedVersion: 2 + m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + m_LocalPosition: {x: 0, y: 0, z: -0.4029789} + m_LocalScale: {x: 100, y: 100, z: 100} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5136217943868287961} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &7776676039101429320 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8635889218845086774} + m_Mesh: {fileID: 212370497460711607, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} +--- !u!23 &2272425703536899450 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8635889218845086774} + 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: 3780671244086486322, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} + - {fileID: 3016479151454471876, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} + - {fileID: 99656467281103303, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} + - {fileID: 637949407474519127, guid: f213d10596067dd42a05d8fbce2813a2, type: 3} + 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!1001 &4585900668521982005 PrefabInstance: m_ObjectHideFlags: 0 @@ -148,7 +326,15 @@ PrefabInstance: - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} insertIndex: -1 - addedObject: {fileID: 3132845443465504586} + addedObject: {fileID: 5502987293853872770} + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 7940863433879303452} + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 4732930958137629346} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} --- !u!4 &5136217943868287961 stripped diff --git a/Assets/Prefabs/Paths/SkyPath.prefab b/Assets/Prefabs/Paths/SkyPath.prefab index 8f2c48e..e7ebdbd 100644 --- a/Assets/Prefabs/Paths/SkyPath.prefab +++ b/Assets/Prefabs/Paths/SkyPath.prefab @@ -58,9 +58,16 @@ MonoBehaviour: WaypointRadiusTolerence: 0.01 Waypoints: - {fileID: 2880784203372593049} - - {fileID: 0} - - {fileID: 0} - - {fileID: 0} + - {fileID: 2112609190714215028} + - {fileID: 636086281215121674} + - {fileID: 5179355799010253008} + - {fileID: 381980946232919517} + - {fileID: 9063986181337726499} + - {fileID: 3787763904814071501} + - {fileID: 6300183897556542389} + - {fileID: 176731242052501642} + - {fileID: 6420523799539329286} + - {fileID: 866733683227094387} --- !u!1 &2434556274776937257 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/ScriptableObjects/EnemyCollection.asset b/Assets/ScriptableObjects/EnemyCollection.asset index 3523db0..969b417 100644 --- a/Assets/ScriptableObjects/EnemyCollection.asset +++ b/Assets/ScriptableObjects/EnemyCollection.asset @@ -16,19 +16,23 @@ MonoBehaviour: - name: moveSpeed: 1 FlyPath: 0 + feetOffset: 0.7 prefab: {fileID: 369660384824789643, guid: 784f819fe659a3e488f123c96ee801ad, type: 3} - name: moveSpeed: 2 FlyPath: 0 + feetOffset: 0.7 prefab: {fileID: 4537037150239815062, guid: bd436a2c4dcc94241a7ecbb15e61a724, type: 3} - name: moveSpeed: 4 FlyPath: 1 + feetOffset: 0.7 prefab: {fileID: 4537037150239815062, guid: 5a35ef73a064d664cbaf53a719468025, type: 3} - name: moveSpeed: 0.5 FlyPath: 0 + feetOffset: 0.7 prefab: {fileID: 4537037150239815062, guid: d932943ff31baa849b971b949d37222a, type: 3} diff --git a/Assets/Scripts/Classes/EnemyCollection.cs b/Assets/Scripts/Classes/EnemyCollection.cs index 598b78a..2d792f9 100644 --- a/Assets/Scripts/Classes/EnemyCollection.cs +++ b/Assets/Scripts/Classes/EnemyCollection.cs @@ -12,5 +12,6 @@ public struct EnemyInfo public string name; public float moveSpeed; public bool FlyPath; + public float feetOffset; public GameObject prefab; } diff --git a/Assets/Scripts/Manager/EnemySpawnManager.cs b/Assets/Scripts/Manager/EnemySpawnManager.cs index 8f96503..5be9eb0 100644 --- a/Assets/Scripts/Manager/EnemySpawnManager.cs +++ b/Assets/Scripts/Manager/EnemySpawnManager.cs @@ -90,7 +90,7 @@ public class EnemySpawnManager : MonoBehaviour EnemyInfo enemyInfo = enemyCollection.Enemies[group.enemyIndex]; GameObject spawned = Instantiate(enemyInfo.prefab); - WaypointEntityData data = new WaypointEntityData(spawned.transform, enemyInfo.moveSpeed); + WaypointEntityData data = new WaypointEntityData(spawned.transform, enemyInfo.moveSpeed, enemyInfo.feetOffset); if (enemyInfo.FlyPath) { diff --git a/Assets/Scripts/Manager/WaypointPath.cs b/Assets/Scripts/Manager/WaypointPath.cs index 6d1633f..9b6dced 100644 --- a/Assets/Scripts/Manager/WaypointPath.cs +++ b/Assets/Scripts/Manager/WaypointPath.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using UnityEngine; using System.Linq; using System; +using UnityUtils; public class WaypointPath : MonoBehaviour { @@ -52,6 +53,8 @@ public class WaypointPath : MonoBehaviour float minDist = Math.Min(dist, data.MoveSpeed * Time.deltaTime); data.Entity.position += normTargetDir * minDist; + Debug.Log(data.FeetOffset); + data.Entity.position = data.Entity.position.With(y: data.FeetOffset); } } @@ -66,10 +69,14 @@ public class WaypointEntityData public Transform Entity; public Transform NextTargetPosition; public float MoveSpeed; + public float FeetOffset; - public WaypointEntityData(Transform entity, float moveSpeed) + public WaypointEntityData(Transform entity, float moveSpeed, float feet) { Entity = entity; MoveSpeed = moveSpeed; + + // feet :P + FeetOffset = feet; } }