diff --git a/Assets/Models/GreenBoy2.fbx b/Assets/Models/GreenBoy2.fbx new file mode 100644 index 0000000..16583c3 Binary files /dev/null and b/Assets/Models/GreenBoy2.fbx differ diff --git a/Assets/Models/GreenBoy2.fbx.meta b/Assets/Models/GreenBoy2.fbx.meta new file mode 100644 index 0000000..95c1204 --- /dev/null +++ b/Assets/Models/GreenBoy2.fbx.meta @@ -0,0 +1,109 @@ +fileFormatVersion: 2 +guid: d98e454151a6ff242b2b65cdea2b147b +ModelImporter: + serializedVersion: 22200 + internalIDToNameTable: [] + externalObjects: {} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + removeConstantScaleCurves: 0 + motionNodeName: + rigImportErrors: + rigImportWarnings: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + importAnimatedCustomProperties: 0 + importConstraints: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + extraUserProperties: [] + clipAnimations: [] + isReadable: 0 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + useSRGBMaterialColor: 1 + sortHierarchyByName: 1 + importPhysicalCameras: 1 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + nodeNameCollisionStrategy: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + optimizeBones: 1 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + secondaryUVPackMargin: 4 + useFileScale: 1 + strictVertexDataChecks: 0 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 + blendShapeNormalImportMode: 1 + normalSmoothingSource: 0 + referencedClips: [] + importAnimation: 1 + humanDescription: + serializedVersion: 3 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + globalScale: 1 + rootMotionBoneName: + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + autoGenerateAvatarMappingIfUnspecified: 1 + animationType: 2 + humanoidOversampling: 1 + avatarSetup: 0 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + importBlendShapeDeformPercent: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/GreenBoy3.fbx b/Assets/Models/GreenBoy3.fbx new file mode 100644 index 0000000..9bedde1 Binary files /dev/null and b/Assets/Models/GreenBoy3.fbx differ diff --git a/Assets/Models/GreenBoy3.fbx.meta b/Assets/Models/GreenBoy3.fbx.meta new file mode 100644 index 0000000..273a6bf --- /dev/null +++ b/Assets/Models/GreenBoy3.fbx.meta @@ -0,0 +1,109 @@ +fileFormatVersion: 2 +guid: f213d10596067dd42a05d8fbce2813a2 +ModelImporter: + serializedVersion: 22200 + internalIDToNameTable: [] + externalObjects: {} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + removeConstantScaleCurves: 0 + motionNodeName: + rigImportErrors: + rigImportWarnings: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + importAnimatedCustomProperties: 0 + importConstraints: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + extraUserProperties: [] + clipAnimations: [] + isReadable: 0 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + useSRGBMaterialColor: 1 + sortHierarchyByName: 1 + importPhysicalCameras: 1 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + nodeNameCollisionStrategy: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + optimizeBones: 1 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + secondaryUVPackMargin: 4 + useFileScale: 1 + strictVertexDataChecks: 0 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 + blendShapeNormalImportMode: 1 + normalSmoothingSource: 0 + referencedClips: [] + importAnimation: 1 + humanDescription: + serializedVersion: 3 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + globalScale: 1 + rootMotionBoneName: + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + autoGenerateAvatarMappingIfUnspecified: 1 + animationType: 2 + humanoidOversampling: 1 + avatarSetup: 0 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + importBlendShapeDeformPercent: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/GreenBoy4.fbx b/Assets/Models/GreenBoy4.fbx new file mode 100644 index 0000000..5101425 Binary files /dev/null and b/Assets/Models/GreenBoy4.fbx differ diff --git a/Assets/Models/GreenBoy4.fbx.meta b/Assets/Models/GreenBoy4.fbx.meta new file mode 100644 index 0000000..759646a --- /dev/null +++ b/Assets/Models/GreenBoy4.fbx.meta @@ -0,0 +1,109 @@ +fileFormatVersion: 2 +guid: e60b24c47552f824b837bfe6ab682658 +ModelImporter: + serializedVersion: 22200 + internalIDToNameTable: [] + externalObjects: {} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + removeConstantScaleCurves: 0 + motionNodeName: + rigImportErrors: + rigImportWarnings: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + importAnimatedCustomProperties: 0 + importConstraints: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + extraUserProperties: [] + clipAnimations: [] + isReadable: 0 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + useSRGBMaterialColor: 1 + sortHierarchyByName: 1 + importPhysicalCameras: 1 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + nodeNameCollisionStrategy: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + optimizeBones: 1 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + secondaryUVPackMargin: 4 + useFileScale: 1 + strictVertexDataChecks: 0 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 + blendShapeNormalImportMode: 1 + normalSmoothingSource: 0 + referencedClips: [] + importAnimation: 1 + humanDescription: + serializedVersion: 3 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + globalScale: 1 + rootMotionBoneName: + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + autoGenerateAvatarMappingIfUnspecified: 1 + animationType: 2 + humanoidOversampling: 1 + avatarSetup: 0 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + importBlendShapeDeformPercent: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Enemies.meta b/Assets/Prefabs/Enemies.meta new file mode 100644 index 0000000..9d2367b --- /dev/null +++ b/Assets/Prefabs/Enemies.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4f4eca97d393ed846bfd8defe17a4d9b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Enemies/Enemy.prefab b/Assets/Prefabs/Enemies/Enemy.prefab new file mode 100644 index 0000000..04ac963 --- /dev/null +++ b/Assets/Prefabs/Enemies/Enemy.prefab @@ -0,0 +1,33 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &95331384460172707 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8711060493889635308} + m_Layer: 0 + m_Name: Enemy + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8711060493889635308 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 95331384460172707} + 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: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Prefabs/Enemies/Enemy.prefab.meta b/Assets/Prefabs/Enemies/Enemy.prefab.meta new file mode 100644 index 0000000..ef9631a --- /dev/null +++ b/Assets/Prefabs/Enemies/Enemy.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: eff762e00bcd52a438a5abf98a554a0b +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Enemies/GreenBoy1.prefab b/Assets/Prefabs/Enemies/GreenBoy1.prefab new file mode 100644 index 0000000..b2c04f7 --- /dev/null +++ b/Assets/Prefabs/Enemies/GreenBoy1.prefab @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &320849908925323048 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 95331384460172707, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_Name + value: GreenBoy1 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 2345304631018742066} + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} +--- !u!4 &8975678556269892804 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + 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/GreenBoy1.prefab.meta b/Assets/Prefabs/Enemies/GreenBoy1.prefab.meta new file mode 100644 index 0000000..2d75afa --- /dev/null +++ b/Assets/Prefabs/Enemies/GreenBoy1.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 784f819fe659a3e488f123c96ee801ad +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Enemies/GreenBoy2.prefab b/Assets/Prefabs/Enemies/GreenBoy2.prefab new file mode 100644 index 0000000..bbb05bf --- /dev/null +++ b/Assets/Prefabs/Enemies/GreenBoy2.prefab @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &4585900668521982005 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 95331384460172707, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_Name + value: GreenBoy2 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 6051289371301309448} + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} +--- !u!4 &5136217943868287961 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + 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/GreenBoy2.prefab.meta b/Assets/Prefabs/Enemies/GreenBoy2.prefab.meta new file mode 100644 index 0000000..f911bec --- /dev/null +++ b/Assets/Prefabs/Enemies/GreenBoy2.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bd436a2c4dcc94241a7ecbb15e61a724 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Enemies/GreenBoyBoss.prefab b/Assets/Prefabs/Enemies/GreenBoyBoss.prefab new file mode 100644 index 0000000..1a992a0 --- /dev/null +++ b/Assets/Prefabs/Enemies/GreenBoyBoss.prefab @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &4458172739655399607 +PrefabInstance: + 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_PrefabAsset: {fileID: 0} +--- !u!1001 &4585900668521982005 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 95331384460172707, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_Name + value: GreenBoyBoss + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 4203025038481301340} + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} +--- !u!4 &5136217943868287961 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + m_PrefabInstance: {fileID: 4585900668521982005} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/Enemies/GreenBoyBoss.prefab.meta b/Assets/Prefabs/Enemies/GreenBoyBoss.prefab.meta new file mode 100644 index 0000000..79936d7 --- /dev/null +++ b/Assets/Prefabs/Enemies/GreenBoyBoss.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d932943ff31baa849b971b949d37222a +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab b/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab new file mode 100644 index 0000000..317a8a1 --- /dev/null +++ b/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &3238267526140592289 +PrefabInstance: + 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_PrefabAsset: {fileID: 0} +--- !u!1001 &4585900668521982005 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 95331384460172707, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_Name + value: GreenBoyJetpack + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + insertIndex: -1 + addedObject: {fileID: 3132845443465504586} + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: eff762e00bcd52a438a5abf98a554a0b, type: 3} +--- !u!4 &5136217943868287961 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711060493889635308, guid: eff762e00bcd52a438a5abf98a554a0b, + type: 3} + m_PrefabInstance: {fileID: 4585900668521982005} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab.meta b/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab.meta new file mode 100644 index 0000000..185105e --- /dev/null +++ b/Assets/Prefabs/Enemies/GreenBoyJetpack.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5a35ef73a064d664cbaf53a719468025 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/TowerPlacement.unity b/Assets/Scenes/TowerPlacement.unity index fb173f0..1a4dfa9 100644 --- a/Assets/Scenes/TowerPlacement.unity +++ b/Assets/Scenes/TowerPlacement.unity @@ -171,88 +171,37 @@ MonoBehaviour: m_EditorClassIdentifier: RebuildGrid: 0 SilhouetteMaterial: {fileID: 2100000, guid: 0610eb89b05f0b546929db3664a351d8, type: 2} ---- !u!21 &103411599 -Material: - serializedVersion: 8 +--- !u!1 &13271516 +GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: UI/RoundedCorners/IndependentRoundedCorners - m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} - 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: - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _ColorMask: 15 - - _Stencil: 0 - - _StencilComp: 8 - - _StencilOp: 0 - - _StencilReadMask: 255 - - _StencilWriteMask: 255 - - _UseUIAlphaClip: 0 - m_Colors: - - _halfSize: {r: 36.5705, g: 37.7215, b: 0, a: 0} - - _r: {r: 40, g: 0, b: 0, a: 40} - - _rect2props: {r: 20, g: -0.0000076293945, b: 38.390244, a: 38.390244} - m_BuildTextureStacks: [] ---- !u!21 &233895429 -Material: - serializedVersion: 8 + serializedVersion: 6 + m_Component: + - component: {fileID: 13271517} + m_Layer: 0 + m_Name: Waypoint (4) + m_TagString: Untagged + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &13271517 +Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: UI/RoundedCorners/IndependentRoundedCorners - m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} - 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: - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _ColorMask: 15 - - _Stencil: 0 - - _StencilComp: 8 - - _StencilOp: 0 - - _StencilReadMask: 255 - - _StencilWriteMask: 255 - - _UseUIAlphaClip: 0 - m_Colors: - - _halfSize: {r: 97.8265, g: 37.763, b: 0, a: 0} - - _r: {r: 30.96, g: 0, b: 0, a: 0} - - _rect2props: {r: 7.7400208, g: -7.7400017, b: 84.93025, a: 95.87626} - m_BuildTextureStacks: [] + m_GameObject: {fileID: 13271516} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -4.5, y: 0, z: 9} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 822096754} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &240436525 GameObject: m_ObjectHideFlags: 0 @@ -265,7 +214,7 @@ GameObject: m_Layer: 0 m_Name: Waypoint (1) m_TagString: Untagged - m_Icon: {fileID: 0} + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 @@ -331,6 +280,47 @@ Transform: type: 3} m_PrefabInstance: {fileID: 8480757413362724446} m_PrefabAsset: {fileID: 0} +--- !u!21 &293864261 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: UI/RoundedCorners/IndependentRoundedCorners + m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} + 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: + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _ColorMask: 15 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UseUIAlphaClip: 0 + m_Colors: + - _halfSize: {r: 5, g: 13.05, b: 0, a: 0} + - _r: {r: 0, g: 0, b: 5, a: 5} + - _rect2props: {r: 0.00000047683716, g: 2.4999986, b: 10.995511, a: 10.995511} + m_BuildTextureStacks: [] --- !u!21 &295930840 Material: serializedVersion: 8 @@ -490,7 +480,38 @@ MonoBehaviour: m_LightCookieSize: {x: 1, y: 1} m_LightCookieOffset: {x: 0, y: 0} m_SoftShadowQuality: 0 ---- !u!21 &749564851 +--- !u!1 &558403274 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 558403275} + m_Layer: 0 + m_Name: Waypoint + m_TagString: Untagged + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &558403275 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 558403274} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -1.5, y: 0, z: 5.5} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 822096754} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!21 &573214706 Material: serializedVersion: 8 m_ObjectHideFlags: 0 @@ -527,11 +548,11 @@ Material: - _StencilWriteMask: 255 - _UseUIAlphaClip: 0 m_Colors: - - _halfSize: {r: 97.85, g: 477.754, b: 0, a: 0} - - _r: {r: 0, g: 0, b: 0, a: 40} - - _rect2props: {r: 10, g: 9.999939, b: 407.01352, a: 392.87137} + - _halfSize: {r: 360, g: 550, b: 0, a: 0} + - _r: {r: 0, g: 59.4, b: 59.4, a: 59.4} + - _rect2props: {r: -14.850006, g: 14.849915, b: 622.4661, a: 601.4651} m_BuildTextureStacks: [] ---- !u!21 &778760732 +--- !u!21 &695323298 Material: serializedVersion: 8 m_ObjectHideFlags: 0 @@ -572,7 +593,135 @@ Material: - _r: {r: 40, g: 0, b: 0, a: 40} - _rect2props: {r: 20.000002, g: -0.0000038146973, b: 37.833046, a: 37.833046} m_BuildTextureStacks: [] +--- !u!1 &710743025 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 710743026} + m_Layer: 0 + m_Name: Waypoint (3) + m_TagString: Untagged + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &710743026 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 710743025} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -1.25, y: 0, z: 8} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 822096754} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &822096753 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 822096754} + - component: {fileID: 822096755} + m_Layer: 0 + m_Name: GroundPath + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &822096754 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 822096753} + 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: + - {fileID: 558403275} + - {fileID: 1968711133} + - {fileID: 1173556649} + - {fileID: 710743026} + - {fileID: 13271517} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &822096755 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 822096753} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7355133f21643b44e8b997303686916c, type: 3} + m_Name: + m_EditorClassIdentifier: + WaypointRadiusTolerence: 0.01 + Waypoints: + - {fileID: 558403275} + - {fileID: 1968711133} + - {fileID: 1173556649} + - {fileID: 710743026} + - {fileID: 13271517} --- !u!21 &824310134 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: UI/RoundedCorners/IndependentRoundedCorners + m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} + 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: + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _ColorMask: 15 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UseUIAlphaClip: 0 + m_Colors: + - _halfSize: {r: 5, g: 13.05, b: 0, a: 0} + - _r: {r: 5, g: 5, b: 0, a: 0} + - _rect2props: {r: 0, g: -2.500002, b: 10.995511, a: 10.995511} + m_BuildTextureStacks: [] +--- !u!21 &865349856 Material: serializedVersion: 8 m_ObjectHideFlags: 0 @@ -625,7 +774,7 @@ GameObject: m_Layer: 0 m_Name: Waypoint m_TagString: Untagged - m_Icon: {fileID: 0} + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 @@ -650,7 +799,7 @@ GameObject: type: 3} m_PrefabInstance: {fileID: 2331233393358520666} m_PrefabAsset: {fileID: 0} ---- !u!114 &903034631 +--- !u!114 &903034632 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -659,17 +808,13 @@ MonoBehaviour: m_GameObject: {fileID: 903034628} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 7355133f21643b44e8b997303686916c, type: 3} + m_Script: {fileID: 11500000, guid: f2cd736facf1d954d981c917c80d9c25, type: 3} m_Name: m_EditorClassIdentifier: - WaypointRadiusTolerence: 0.01 - Waypoints: - - {fileID: 901079068} - - {fileID: 240436526} - - {fileID: 1932867447} - - {fileID: 923150806} - DebugPrefab: {fileID: 919132149155446097, guid: 18a302e9a279644c19653ac58e191809, - type: 3} + levelDefinition: {fileID: 11400000, guid: c8d456118a95ada459f30817ed2351a2, type: 2} + enemyCollection: {fileID: 11400000, guid: d600de6e8946fe54db15d9208f6f63f5, type: 2} + groundPath: {fileID: 822096755} + skyPath: {fileID: 1278148244} --- !u!1 &923150805 GameObject: m_ObjectHideFlags: 0 @@ -682,7 +827,7 @@ GameObject: m_Layer: 0 m_Name: Waypoint (3) m_TagString: Untagged - m_Icon: {fileID: 0} + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 @@ -701,47 +846,6 @@ Transform: m_Children: [] m_Father: {fileID: 1278148243} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!21 &1009945405 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UI/RoundedCorners/IndependentRoundedCorners - m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} - 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: - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _ColorMask: 15 - - _Stencil: 0 - - _StencilComp: 8 - - _StencilOp: 0 - - _StencilReadMask: 255 - - _StencilWriteMask: 255 - - _UseUIAlphaClip: 0 - m_Colors: - - _halfSize: {r: 360, g: 550, b: 0, a: 0} - - _r: {r: 0, g: 59.4, b: 59.4, a: 59.4} - - _rect2props: {r: -14.850006, g: 14.849915, b: 622.4661, a: 601.4651} - m_BuildTextureStacks: [] --- !u!1001 &1039229583 PrefabInstance: m_ObjectHideFlags: 0 @@ -945,6 +1049,16 @@ PrefabInstance: propertyPath: m_Material value: objectReference: {fileID: 1407489464} + - target: {fileID: 5335440098138690820, guid: 0a81f2c7ca749af478944c043ef306dc, + type: 3} + propertyPath: m_AnchoredPosition.x + value: 46.19995 + objectReference: {fileID: 0} + - target: {fileID: 5335440098138690820, guid: 0a81f2c7ca749af478944c043ef306dc, + type: 3} + propertyPath: m_AnchoredPosition.y + value: 47.900024 + objectReference: {fileID: 0} - target: {fileID: 7402271907180742918, guid: 0a81f2c7ca749af478944c043ef306dc, type: 3} propertyPath: m_AnchorMax.y @@ -1000,6 +1114,37 @@ PrefabInstance: m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 0a81f2c7ca749af478944c043ef306dc, type: 3} +--- !u!1 &1173556648 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1173556649} + m_Layer: 0 + m_Name: Waypoint (2) + m_TagString: Untagged + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1173556649 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1173556648} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -3.5, y: 0, z: 6} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 822096754} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1278148242 GameObject: m_ObjectHideFlags: 0 @@ -1009,8 +1154,9 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 1278148243} + - component: {fileID: 1278148244} m_Layer: 0 - m_Name: Waypoints + m_Name: SkyPath m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -1035,12 +1181,71 @@ Transform: - {fileID: 923150806} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1278148244 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1278148242} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7355133f21643b44e8b997303686916c, type: 3} + m_Name: + m_EditorClassIdentifier: + WaypointRadiusTolerence: 0.01 + Waypoints: + - {fileID: 901079068} + - {fileID: 240436526} + - {fileID: 1932867447} + - {fileID: 923150806} --- !u!4 &1287631730 stripped Transform: m_CorrespondingSourceObject: {fileID: 2739991145043243501, guid: 0c13e24f92c86f84a85c76e0bca22830, type: 3} m_PrefabInstance: {fileID: 1625022535} m_PrefabAsset: {fileID: 0} +--- !u!21 &1305722187 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: UI/RoundedCorners/IndependentRoundedCorners + m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} + 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: + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _ColorMask: 15 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UseUIAlphaClip: 0 + m_Colors: + - _halfSize: {r: 97.85, g: 477.754, b: 0, a: 0} + - _r: {r: 0, g: 0, b: 0, a: 40} + - _rect2props: {r: 10, g: 9.999939, b: 407.01352, a: 392.87137} + m_BuildTextureStacks: [] --- !u!21 &1407489464 Material: serializedVersion: 8 @@ -1240,7 +1445,89 @@ MonoBehaviour: selectLayer: serializedVersion: 2 m_Bits: 256 +--- !u!21 &1543495800 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: UI/RoundedCorners/IndependentRoundedCorners + m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} + 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: + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _ColorMask: 15 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UseUIAlphaClip: 0 + m_Colors: + - _halfSize: {r: 340.1145, g: 535, b: 0, a: 0} + - _r: {r: 0, g: 0, b: 0, a: 40} + - _rect2props: {r: 10.0000305, g: 9.999878, b: 618.79944, a: 604.6573} + m_BuildTextureStacks: [] --- !u!21 &1571237924 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: UI/RoundedCorners/IndependentRoundedCorners + m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} + 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: + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _ColorMask: 15 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UseUIAlphaClip: 0 + m_Colors: + - _halfSize: {r: 36.5705, g: 37.7215, b: 0, a: 0} + - _r: {r: 40, g: 0, b: 0, a: 40} + - _rect2props: {r: 20, g: -0.0000076293945, b: 38.390244, a: 38.390244} + m_BuildTextureStacks: [] +--- !u!21 &1607636321 Material: serializedVersion: 8 m_ObjectHideFlags: 0 @@ -1482,47 +1769,6 @@ Material: - _r: {r: 0, g: 0, b: 0, a: 40} - _rect2props: {r: 10.0000305, g: 9.999878, b: 618.79944, a: 604.6573} m_BuildTextureStacks: [] ---- !u!21 &1836645083 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UI/RoundedCorners/IndependentRoundedCorners - m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} - 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: - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _ColorMask: 15 - - _Stencil: 0 - - _StencilComp: 8 - - _StencilOp: 0 - - _StencilReadMask: 255 - - _StencilWriteMask: 255 - - _UseUIAlphaClip: 0 - m_Colors: - - _halfSize: {r: 5, g: 13.05, b: 0, a: 0} - - _r: {r: 5, g: 5, b: 0, a: 0} - - _rect2props: {r: 0, g: -2.500002, b: 10.995511, a: 10.995511} - m_BuildTextureStacks: [] --- !u!1 &1932867446 GameObject: m_ObjectHideFlags: 0 @@ -1535,7 +1781,7 @@ GameObject: m_Layer: 0 m_Name: Waypoint (2) m_TagString: Untagged - m_Icon: {fileID: 0} + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 @@ -1554,7 +1800,38 @@ Transform: m_Children: [] m_Father: {fileID: 1278148243} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!21 &1962086325 +--- !u!1 &1968711132 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1968711133} + m_Layer: 0 + m_Name: Waypoint (1) + m_TagString: Untagged + m_Icon: {fileID: -5487077368411116049, guid: 0000000000000000d000000000000000, type: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1968711133 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1968711132} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -3.5, y: 0, z: 7.5} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 822096754} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!21 &2096890271 Material: serializedVersion: 8 m_ObjectHideFlags: 0 @@ -1591,50 +1868,9 @@ Material: - _StencilWriteMask: 255 - _UseUIAlphaClip: 0 m_Colors: - - _halfSize: {r: 340.1145, g: 535, b: 0, a: 0} - - _r: {r: 0, g: 0, b: 0, a: 40} - - _rect2props: {r: 10.0000305, g: 9.999878, b: 618.79944, a: 604.6573} - m_BuildTextureStacks: [] ---- !u!21 &1977259215 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UI/RoundedCorners/IndependentRoundedCorners - m_Shader: {fileID: 4800000, guid: d3beb88e61f88ca4393acdefb005fa70, type: 3} - 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: - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _ColorMask: 15 - - _Stencil: 0 - - _StencilComp: 8 - - _StencilOp: 0 - - _StencilReadMask: 255 - - _StencilWriteMask: 255 - - _UseUIAlphaClip: 0 - m_Colors: - - _halfSize: {r: 5, g: 13.05, b: 0, a: 0} - - _r: {r: 0, g: 0, b: 5, a: 5} - - _rect2props: {r: 0.00000047683716, g: 2.4999986, b: 10.995511, a: 10.995511} + - _halfSize: {r: 97.8265, g: 37.763, b: 0, a: 0} + - _r: {r: 30.96, g: 0, b: 0, a: 0} + - _rect2props: {r: 7.7400208, g: -7.7400017, b: 84.93025, a: 95.87626} m_BuildTextureStacks: [] --- !u!1001 &2331233393358520666 PrefabInstance: @@ -1644,6 +1880,11 @@ PrefabInstance: serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: + - target: {fileID: 167310329963132665, guid: 9d875dda41d470948bbe6fd408a7e835, + type: 3} + propertyPath: m_Icon + value: + objectReference: {fileID: 0} - target: {fileID: 167310329963132665, guid: 9d875dda41d470948bbe6fd408a7e835, type: 3} propertyPath: m_Name @@ -1706,7 +1947,7 @@ PrefabInstance: - targetCorrespondingSourceObject: {fileID: 167310329963132665, guid: 9d875dda41d470948bbe6fd408a7e835, type: 3} insertIndex: -1 - addedObject: {fileID: 903034631} + addedObject: {fileID: 903034632} m_SourcePrefab: {fileID: 100100000, guid: 9d875dda41d470948bbe6fd408a7e835, type: 3} --- !u!1001 &8480757413362724446 PrefabInstance: @@ -1796,3 +2037,4 @@ SceneRoots: - {fileID: 444480} - {fileID: 1039229583} - {fileID: 1278148243} + - {fileID: 822096754} diff --git a/Assets/ScriptableObjects/EnemyCollection.asset b/Assets/ScriptableObjects/EnemyCollection.asset new file mode 100644 index 0000000..e5ae207 --- /dev/null +++ b/Assets/ScriptableObjects/EnemyCollection.asset @@ -0,0 +1,30 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ebb462e28b9d57e4fb001f4d10edb6a0, type: 3} + m_Name: EnemyCollection + m_EditorClassIdentifier: + Enemies: + - name: + moveSpeed: 1 + prefab: {fileID: 369660384824789643, guid: 784f819fe659a3e488f123c96ee801ad, type: 3} + - name: + moveSpeed: 2 + prefab: {fileID: 4537037150239815062, guid: bd436a2c4dcc94241a7ecbb15e61a724, + type: 3} + - name: + moveSpeed: 4 + prefab: {fileID: 4537037150239815062, guid: 5a35ef73a064d664cbaf53a719468025, + type: 3} + - name: + moveSpeed: 0.5 + prefab: {fileID: 4537037150239815062, guid: d932943ff31baa849b971b949d37222a, + type: 3} diff --git a/Assets/ScriptableObjects/EnemyCollection.asset.meta b/Assets/ScriptableObjects/EnemyCollection.asset.meta new file mode 100644 index 0000000..a912235 --- /dev/null +++ b/Assets/ScriptableObjects/EnemyCollection.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d600de6e8946fe54db15d9208f6f63f5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ScriptableObjects/Levels.meta b/Assets/ScriptableObjects/Levels.meta new file mode 100644 index 0000000..7800c30 --- /dev/null +++ b/Assets/ScriptableObjects/Levels.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 64951e68da51f0146b810d0030fb93cd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ScriptableObjects/Levels/Level1.asset b/Assets/ScriptableObjects/Levels/Level1.asset new file mode 100644 index 0000000..8942910 --- /dev/null +++ b/Assets/ScriptableObjects/Levels/Level1.asset @@ -0,0 +1,20 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc2af81aa1155804e9badc27ff408d3c, type: 3} + m_Name: Level1 + m_EditorClassIdentifier: + Waves: + - groups: + - enemyIndex: 0 + num: 10 + timeGapSpawn: 0 + time: 0 diff --git a/Assets/ScriptableObjects/Levels/Level1.asset.meta b/Assets/ScriptableObjects/Levels/Level1.asset.meta new file mode 100644 index 0000000..413ac94 --- /dev/null +++ b/Assets/ScriptableObjects/Levels/Level1.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c8d456118a95ada459f30817ed2351a2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Classes.meta b/Assets/Scripts/Classes.meta new file mode 100644 index 0000000..d9325ab --- /dev/null +++ b/Assets/Scripts/Classes.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7053e3629b58d7146af8390789dfa619 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Classes/EnemyCollection.cs b/Assets/Scripts/Classes/EnemyCollection.cs new file mode 100644 index 0000000..598b78a --- /dev/null +++ b/Assets/Scripts/Classes/EnemyCollection.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +[CreateAssetMenu(fileName = "EnemyCollection", menuName = "Tower Defense/Enemy Enemies")] +public class EnemyCollection : ScriptableObject +{ + public EnemyInfo[] Enemies; +} + +[System.Serializable] +public struct EnemyInfo +{ + public string name; + public float moveSpeed; + public bool FlyPath; + public GameObject prefab; +} diff --git a/Assets/Scripts/Classes/EnemyCollection.cs.meta b/Assets/Scripts/Classes/EnemyCollection.cs.meta new file mode 100644 index 0000000..07973cc --- /dev/null +++ b/Assets/Scripts/Classes/EnemyCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ebb462e28b9d57e4fb001f4d10edb6a0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Classes/LevelDefinition.cs b/Assets/Scripts/Classes/LevelDefinition.cs new file mode 100644 index 0000000..449ca40 --- /dev/null +++ b/Assets/Scripts/Classes/LevelDefinition.cs @@ -0,0 +1,22 @@ +using UnityEngine; + +[CreateAssetMenu(fileName = "New LevelDefinition", menuName = "Tower Defense/Level Definition")] +public class LevelDefinition : ScriptableObject +{ + public Wave[] Waves; +} + +[System.Serializable] +public struct Wave +{ + public float spawnTime; + public SpawnGroup[] groups; +} + +[System.Serializable] +public struct SpawnGroup +{ + public int enemyIndex; // Check in enemy collection + public int num; + public float spawnInterval; +} \ No newline at end of file diff --git a/Assets/Scripts/Classes/LevelDefinition.cs.meta b/Assets/Scripts/Classes/LevelDefinition.cs.meta new file mode 100644 index 0000000..7cb2370 --- /dev/null +++ b/Assets/Scripts/Classes/LevelDefinition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dc2af81aa1155804e9badc27ff408d3c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Manager/EnemySpawnManager.cs b/Assets/Scripts/Manager/EnemySpawnManager.cs new file mode 100644 index 0000000..3fdde05 --- /dev/null +++ b/Assets/Scripts/Manager/EnemySpawnManager.cs @@ -0,0 +1,68 @@ +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using UnityEngine; + +public class EnemySpawnManager : MonoBehaviour +{ + private float time = 0f; + [SerializeField] private LevelDefinition levelDefinition; + [SerializeField] private EnemyCollection enemyCollection; + + [SerializeField] private WaypointPath groundPath; + [SerializeField] private WaypointPath skyPath; + + private Queue waveQueue; + + private void Awake() + { + waveQueue = new Queue(levelDefinition.Waves); + } + + void Update() + { + if (waveQueue.Count <= 0) + { + return; + } + + time += Time.deltaTime; + + if (waveQueue.Peek().spawnTime < time) + { + PopWave(); + } + } + + void PopWave() + { + Wave spawnWave = waveQueue.Dequeue(); + for (int i = 0; i < spawnWave.groups.Length; i++) + { + var group = spawnWave.groups[i]; + StartCoroutine(StartSpawnGroup(group)); + } + } + + IEnumerator StartSpawnGroup(SpawnGroup group) + { + for (int i = 0; i < group.num; i++) + { + EnemyInfo enemyInfo = enemyCollection.Enemies[group.enemyIndex]; + + GameObject spawned = Instantiate(enemyInfo.prefab); + WaypointEntityData data = new WaypointEntityData(spawned.transform, enemyInfo.moveSpeed); + + if (enemyInfo.FlyPath) + { + skyPath.AddObjectToPath(data); + } + else + { + groundPath.AddObjectToPath(data); + } + + yield return new WaitForSecondsRealtime(group.spawnInterval); + } + } +} diff --git a/Assets/Scripts/Manager/EnemySpawnManager.cs.meta b/Assets/Scripts/Manager/EnemySpawnManager.cs.meta new file mode 100644 index 0000000..4a6a30d --- /dev/null +++ b/Assets/Scripts/Manager/EnemySpawnManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f2cd736facf1d954d981c917c80d9c25 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Manager/TowerCollection.cs b/Assets/Scripts/Manager/TowerCollection.cs index 4737856..5fbff11 100644 --- a/Assets/Scripts/Manager/TowerCollection.cs +++ b/Assets/Scripts/Manager/TowerCollection.cs @@ -1,6 +1,6 @@ using UnityEngine; -[CreateAssetMenu(fileName = "New TowerCollection", menuName = "Tower Defense/Tower Collection")] +[CreateAssetMenu(fileName = "New TowerCollection", menuName = "Tower Defense/Tower Enemies")] public class TowerCollection : ScriptableObject { public TowerInfo[] Towers; diff --git a/Assets/Scripts/Manager/WaypointSystemManager.cs b/Assets/Scripts/Manager/WaypointPath.cs similarity index 82% rename from Assets/Scripts/Manager/WaypointSystemManager.cs rename to Assets/Scripts/Manager/WaypointPath.cs index e9ede6d..9a9671b 100644 --- a/Assets/Scripts/Manager/WaypointSystemManager.cs +++ b/Assets/Scripts/Manager/WaypointPath.cs @@ -4,33 +4,13 @@ using UnityEngine; using System.Linq; using System; -public class WaypointSystemManager : MonoBehaviour +public class WaypointPath : MonoBehaviour { - public static WaypointSystemManager Instance; - [SerializeField] private float WaypointRadiusTolerence = 0.01f; [SerializeField] private List Waypoints; [SerializeField] public List activeEntities = new(); - public GameObject DebugPrefab; - - private void OnEnable() - { - if (Instance != null) - Destroy(Instance); - Instance = this; - } - - private void Start() - { - var data = new WaypointEntityData(); - data.Entity = Instantiate(DebugPrefab).transform; - data.MoveSpeed = 1; - - AddObjectToPath(data); - } - private void Update() { for (int i = 0; i < activeEntities.Count; i++) @@ -85,4 +65,10 @@ public class WaypointEntityData public Transform Entity; public Transform NextTargetPosition; public float MoveSpeed; + + public WaypointEntityData(Transform entity, float moveSpeed) + { + Entity = entity; + MoveSpeed = moveSpeed; + } } diff --git a/Assets/Scripts/Manager/WaypointSystemManager.cs.meta b/Assets/Scripts/Manager/WaypointPath.cs.meta similarity index 100% rename from Assets/Scripts/Manager/WaypointSystemManager.cs.meta rename to Assets/Scripts/Manager/WaypointPath.cs.meta