diff --git a/Assets/Models/KR_Model_Slime_Blue_Vang.fbx b/Assets/Models/KR_Model_Slime_Blue_Vang.fbx new file mode 100644 index 0000000..d8eb21e Binary files /dev/null and b/Assets/Models/KR_Model_Slime_Blue_Vang.fbx differ diff --git a/Assets/Models/KR_Model_Slime_Blue_Vang.fbx.meta b/Assets/Models/KR_Model_Slime_Blue_Vang.fbx.meta new file mode 100644 index 0000000..d4f8d06 --- /dev/null +++ b/Assets/Models/KR_Model_Slime_Blue_Vang.fbx.meta @@ -0,0 +1,122 @@ +fileFormatVersion: 2 +guid: 4abb9bd24e67cfb478b7aabdeec0f757 +ModelImporter: + serializedVersion: 20200 + internalIDToNameTable: [] + externalObjects: + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: black + second: {fileID: 2100000, guid: 758cd0658b3f309498f5b490fdd888e7, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: lambert1 + second: {fileID: 2100000, guid: e08087b829a49b54c9336e2ff50f3a19, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: slimeblue + second: {fileID: 2100000, guid: a8f035ee0087c1a46bbaec53ac7c8521, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: white + second: {fileID: 2100000, guid: 367e6127c9ad59443a3f211c4afb5ab4, type: 2} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 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 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + secondaryUVPackMargin: 4 + useFileScale: 1 + 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 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/Materials/KR_Model_Slimes_Vang_slimeblue_BaseMap.png b/Assets/Models/Materials/KR_Model_Slimes_Vang_slimeblue_BaseMap.png new file mode 100644 index 0000000..8e7f9cc Binary files /dev/null and b/Assets/Models/Materials/KR_Model_Slimes_Vang_slimeblue_BaseMap.png differ diff --git a/Assets/Models/Materials/KR_Model_Slimes_Vang_slimeblue_BaseMap.png.meta b/Assets/Models/Materials/KR_Model_Slimes_Vang_slimeblue_BaseMap.png.meta new file mode 100644 index 0000000..7f45153 --- /dev/null +++ b/Assets/Models/Materials/KR_Model_Slimes_Vang_slimeblue_BaseMap.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 615a59ff6620c7c42b82cb9ff3ba9189 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/Materials/black 1.mat b/Assets/Models/Materials/black 1.mat new file mode 100644 index 0000000..e6f9ef1 --- /dev/null +++ b/Assets/Models/Materials/black 1.mat @@ -0,0 +1,78 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: black 1 + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0, g: 0, b: 0, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Models/Materials/black 1.mat.meta b/Assets/Models/Materials/black 1.mat.meta new file mode 100644 index 0000000..16f602b --- /dev/null +++ b/Assets/Models/Materials/black 1.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 758cd0658b3f309498f5b490fdd888e7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/Materials/lambert1.mat b/Assets/Models/Materials/lambert1.mat new file mode 100644 index 0000000..8d87cbe --- /dev/null +++ b/Assets/Models/Materials/lambert1.mat @@ -0,0 +1,78 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: lambert1 + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.66518503, g: 0.66518503, b: 0.66518503, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Models/Materials/lambert1.mat.meta b/Assets/Models/Materials/lambert1.mat.meta new file mode 100644 index 0000000..51f5dd8 --- /dev/null +++ b/Assets/Models/Materials/lambert1.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e08087b829a49b54c9336e2ff50f3a19 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/Materials/slimeblue.mat b/Assets/Models/Materials/slimeblue.mat new file mode 100644 index 0000000..6f34a39 --- /dev/null +++ b/Assets/Models/Materials/slimeblue.mat @@ -0,0 +1,78 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: slimeblue + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 615a59ff6620c7c42b82cb9ff3ba9189, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.9063317, g: 0.9063317, b: 0.9063317, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Models/Materials/slimeblue.mat.meta b/Assets/Models/Materials/slimeblue.mat.meta new file mode 100644 index 0000000..25bbf37 --- /dev/null +++ b/Assets/Models/Materials/slimeblue.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a8f035ee0087c1a46bbaec53ac7c8521 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/Materials/white 1.mat b/Assets/Models/Materials/white 1.mat new file mode 100644 index 0000000..cb898b7 --- /dev/null +++ b/Assets/Models/Materials/white 1.mat @@ -0,0 +1,78 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: white 1 + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.9063317, g: 0.9063317, b: 0.9063317, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Models/Materials/white 1.mat.meta b/Assets/Models/Materials/white 1.mat.meta new file mode 100644 index 0000000..2d2d9bc --- /dev/null +++ b/Assets/Models/Materials/white 1.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 367e6127c9ad59443a3f211c4afb5ab4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/King/BlueSlime.prefab b/Assets/Prefabs/King/BlueSlime.prefab new file mode 100644 index 0000000..be04ed6 --- /dev/null +++ b/Assets/Prefabs/King/BlueSlime.prefab @@ -0,0 +1,380 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2473164398266792268 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8625354462242626231} + - component: {fileID: 4964155360514941951} + - component: {fileID: 6854420395799664387} + m_Layer: 0 + m_Name: righteye1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8625354462242626231 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2473164398266792268} + m_LocalRotation: {x: 0, y: -0, z: -0.7071068, w: 0.7071068} + m_LocalPosition: {x: 314.36594, y: 366.8004, z: 142.16344} + m_LocalScale: {x: 1.017381, y: 1, z: 1.3220628} + m_Children: [] + m_Father: {fileID: 5345597395429103979} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &4964155360514941951 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2473164398266792268} + m_Mesh: {fileID: 91412445114230090, guid: 4abb9bd24e67cfb478b7aabdeec0f757, type: 3} +--- !u!23 &6854420395799664387 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2473164398266792268} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 367e6127c9ad59443a3f211c4afb5ab4, type: 2} + - {fileID: 2100000, guid: 758cd0658b3f309498f5b490fdd888e7, type: 2} + - {fileID: 2100000, guid: e08087b829a49b54c9336e2ff50f3a19, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &4712084825249301457 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5345597395429103979} + - component: {fileID: 8090070604819905594} + - component: {fileID: 2303901767517809937} + - component: {fileID: -3779024249235075538} + - component: {fileID: -5142495884304490216} + m_Layer: 18 + m_Name: BlueSlime + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5345597395429103979 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4712084825249301457} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.03, y: 0.03, z: 0.03} + m_Children: + - {fileID: 2251361012055558189} + - {fileID: 6896333812027232854} + - {fileID: 8625354462242626231} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &8090070604819905594 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4712084825249301457} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 16272419deebd26418bee88aca87e679, type: 3} + m_Name: + m_EditorClassIdentifier: + Goo: {fileID: 9109488354154531999, guid: e0a933a7f4d98134ea0c045fabc6a6a0, type: 3} + LayerMask: + serializedVersion: 2 + m_Bits: 64 +--- !u!114 &2303901767517809937 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4712084825249301457} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3} + m_Name: + m_EditorClassIdentifier: + NetworkInstanceId: 0 + PrefabHash: 15782804623688272819 + PrefabHashGenerator: BlueSlime + AlwaysReplicateAsRoot: 0 + DontDestroyWithOwner: 0 +--- !u!114 &-3779024249235075538 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4712084825249301457} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e96cb6065543e43c4a752faaa1468eb1, type: 3} + m_Name: + m_EditorClassIdentifier: + FixedSendsPerSecond: 20 + AssumeSyncedSends: 1 + InterpolatePosition: 1 + SnapDistance: 10 + InterpolateServer: 1 + MinMeters: 0.15 + MinDegrees: 1.5 + ExtrapolatePosition: 0 + MaxSendsToExtrapolate: 5 + Channel: + EnableRange: 0 + EnableNonProvokedResendChecks: 0 + DistanceSendrate: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 20 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 500 + value: 20 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!65 &-5142495884304490216 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4712084825249301457} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 650, y: 650, z: 650} + m_Center: {x: 0, y: 315, z: 0} +--- !u!1 &4935914821002370003 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2251361012055558189} + - component: {fileID: 9200004350512051259} + - component: {fileID: 7379393279353976801} + m_Layer: 0 + m_Name: pCube1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2251361012055558189 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4935914821002370003} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0, y: 309.88315, z: 0} + m_LocalScale: {x: 6.472408, y: 6.472408, z: 6.472408} + m_Children: [] + m_Father: {fileID: 5345597395429103979} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &9200004350512051259 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4935914821002370003} + m_Mesh: {fileID: 4068373912626513877, guid: 4abb9bd24e67cfb478b7aabdeec0f757, type: 3} +--- !u!23 &7379393279353976801 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4935914821002370003} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: a8f035ee0087c1a46bbaec53ac7c8521, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &8622785450391661174 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6896333812027232854} + - component: {fileID: 6573391350758222067} + - component: {fileID: 6106155844451897509} + m_Layer: 0 + m_Name: righteye + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6896333812027232854 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8622785450391661174} + m_LocalRotation: {x: 0, y: -0, z: -0.7071068, w: 0.7071068} + m_LocalPosition: {x: 314.36594, y: 366.8004, z: -146.43811} + m_LocalScale: {x: 1.017381, y: 1, z: 1.3220628} + m_Children: [] + m_Father: {fileID: 5345597395429103979} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &6573391350758222067 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8622785450391661174} + m_Mesh: {fileID: 1369616880213451696, guid: 4abb9bd24e67cfb478b7aabdeec0f757, type: 3} +--- !u!23 &6106155844451897509 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8622785450391661174} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 367e6127c9ad59443a3f211c4afb5ab4, type: 2} + - {fileID: 2100000, guid: 758cd0658b3f309498f5b490fdd888e7, type: 2} + - {fileID: 2100000, guid: e08087b829a49b54c9336e2ff50f3a19, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} diff --git a/Assets/Prefabs/King/BlueSlime.prefab.meta b/Assets/Prefabs/King/BlueSlime.prefab.meta new file mode 100644 index 0000000..e0c2003 --- /dev/null +++ b/Assets/Prefabs/King/BlueSlime.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: fb0559f90611429409ab7c260946e561 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/King/BlueSlimeWithoutNetwork.prefab b/Assets/Prefabs/King/BlueSlimeWithoutNetwork.prefab new file mode 100644 index 0000000..639ddc5 --- /dev/null +++ b/Assets/Prefabs/King/BlueSlimeWithoutNetwork.prefab @@ -0,0 +1,614 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &987699667809355086 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3371861805909091386} + - component: {fileID: 3559942474539987334} + m_Layer: 0 + m_Name: ArrowUP + m_TagString: Arrow + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &3371861805909091386 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 987699667809355086} + m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 500, z: -2200.0005} + m_LocalScale: {x: 5000.0015, y: 5000.0024, z: 5000.0024} + m_Children: [] + m_Father: {fileID: 5186048346143331657} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0} +--- !u!212 &3559942474539987334 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 987699667809355086} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: 4f3ff2a93920421488d4b875bb5126c5, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.5, y: 0.5} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &3424312513330394478 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8819316713920353941} + - component: {fileID: 5274791602453622749} + - component: {fileID: 5965053941379685153} + m_Layer: 0 + m_Name: righteye1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8819316713920353941 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3424312513330394478} + m_LocalRotation: {x: 0, y: -0, z: -0.7071068, w: 0.7071068} + m_LocalPosition: {x: 314.36594, y: 366.8004, z: 142.16344} + m_LocalScale: {x: 1.017381, y: 1, z: 1.3220628} + m_Children: [] + m_Father: {fileID: 5186048346143331657} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &5274791602453622749 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3424312513330394478} + m_Mesh: {fileID: 91412445114230090, guid: 4abb9bd24e67cfb478b7aabdeec0f757, type: 3} +--- !u!23 &5965053941379685153 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3424312513330394478} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 367e6127c9ad59443a3f211c4afb5ab4, type: 2} + - {fileID: 2100000, guid: 758cd0658b3f309498f5b490fdd888e7, type: 2} + - {fileID: 2100000, guid: e08087b829a49b54c9336e2ff50f3a19, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &4822721606439519702 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5914765717852372905} + - component: {fileID: 684807273111341829} + m_Layer: 0 + m_Name: ArrowDOWN + m_TagString: Arrow + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &5914765717852372905 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4822721606439519702} + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 500, z: 2200.0005} + m_LocalScale: {x: 5000.0015, y: 5000.0024, z: 5000.0024} + m_Children: [] + m_Father: {fileID: 5186048346143331657} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!212 &684807273111341829 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4822721606439519702} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: 4f3ff2a93920421488d4b875bb5126c5, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.5, y: 0.5} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &4828537503824994917 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1369479240216353502} + - component: {fileID: 2902029869238319981} + m_Layer: 0 + m_Name: ArrowLEFT + m_TagString: Arrow + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &1369479240216353502 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4828537503824994917} + m_LocalRotation: {x: 0.5, y: 0.5, z: -0.5, w: 0.5} + m_LocalPosition: {x: 2200.0005, y: 500, z: 0} + m_LocalScale: {x: 5000.0015, y: 5000.0015, z: 5000.0015} + m_Children: [] + m_Father: {fileID: 5186048346143331657} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 90, y: 90, z: 0} +--- !u!212 &2902029869238319981 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4828537503824994917} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: 4f3ff2a93920421488d4b875bb5126c5, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.5, y: 0.5} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &4894266960204585837 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 335508953299713358} + - component: {fileID: 1224402960862307008} + m_Layer: 0 + m_Name: ArrowRIGHT + m_TagString: Arrow + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &335508953299713358 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4894266960204585837} + m_LocalRotation: {x: -0.5, y: 0.5, z: 0.5, w: 0.5} + m_LocalPosition: {x: -2200.0005, y: 500, z: 0} + m_LocalScale: {x: 5000.0015, y: 5000.0015, z: 5000.0015} + m_Children: [] + m_Father: {fileID: 5186048346143331657} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: -90, y: 90, z: 0} +--- !u!212 &1224402960862307008 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4894266960204585837} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: 4f3ff2a93920421488d4b875bb5126c5, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.5, y: 0.5} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &5307509327609763825 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1362790879732057103} + - component: {fileID: 8249205605273679897} + - component: {fileID: 7763982467486350275} + m_Layer: 0 + m_Name: pCube1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1362790879732057103 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5307509327609763825} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0, y: 309.88315, z: 0} + m_LocalScale: {x: 6.472408, y: 6.472408, z: 6.472408} + m_Children: [] + m_Father: {fileID: 5186048346143331657} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &8249205605273679897 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5307509327609763825} + m_Mesh: {fileID: 4068373912626513877, guid: 4abb9bd24e67cfb478b7aabdeec0f757, type: 3} +--- !u!23 &7763982467486350275 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5307509327609763825} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: a8f035ee0087c1a46bbaec53ac7c8521, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &5526862129129345011 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5186048346143331657} + m_Layer: 0 + m_Name: BlueSlimeWithoutNetwork + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5186048346143331657 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5526862129129345011} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.03, y: 0.03, z: 0.03} + m_Children: + - {fileID: 1362790879732057103} + - {fileID: 5936686506441186932} + - {fileID: 8819316713920353941} + - {fileID: 5914765717852372905} + - {fileID: 1369479240216353502} + - {fileID: 335508953299713358} + - {fileID: 3371861805909091386} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &8826389320877106772 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5936686506441186932} + - component: {fileID: 6264097406598489297} + - component: {fileID: 6443111337006800007} + m_Layer: 0 + m_Name: righteye + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5936686506441186932 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8826389320877106772} + m_LocalRotation: {x: 0, y: -0, z: -0.7071068, w: 0.7071068} + m_LocalPosition: {x: 314.36594, y: 366.8004, z: -146.43811} + m_LocalScale: {x: 1.017381, y: 1, z: 1.3220628} + m_Children: [] + m_Father: {fileID: 5186048346143331657} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &6264097406598489297 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8826389320877106772} + m_Mesh: {fileID: 1369616880213451696, guid: 4abb9bd24e67cfb478b7aabdeec0f757, type: 3} +--- !u!23 &6443111337006800007 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8826389320877106772} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 367e6127c9ad59443a3f211c4afb5ab4, type: 2} + - {fileID: 2100000, guid: 758cd0658b3f309498f5b490fdd888e7, type: 2} + - {fileID: 2100000, guid: e08087b829a49b54c9336e2ff50f3a19, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} diff --git a/Assets/Prefabs/King/BlueSlimeWithoutNetwork.prefab.meta b/Assets/Prefabs/King/BlueSlimeWithoutNetwork.prefab.meta new file mode 100644 index 0000000..a59b33c --- /dev/null +++ b/Assets/Prefabs/King/BlueSlimeWithoutNetwork.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e73f9de6af399ab41bf6fa0678de174a +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/King/King.prefab b/Assets/Prefabs/King/King.prefab index 06a9deb..cf9b46e 100644 --- a/Assets/Prefabs/King/King.prefab +++ b/Assets/Prefabs/King/King.prefab @@ -208,8 +208,8 @@ MonoBehaviour: m_EditorClassIdentifier: Block: {fileID: 8322169750614848705, guid: 14529042a14497c499bdce8f966e884c, type: 3} BlockWithoutNetwork: {fileID: 5704254083382235334, guid: f56dedeb24725ab4a844690df1d5d3cd, type: 3} - Slime: {fileID: 2350198489747510937, guid: 24f3f8d1ca9cb65499b276dd8f1df901, type: 3} - SlimeWithoutNetwork: {fileID: 2511859290852366113, guid: ac312ddeb2b064d47a12cc319328d598, type: 3} + Slime: {fileID: 4712084825249301457, guid: fb0559f90611429409ab7c260946e561, type: 3} + SlimeWithoutNetwork: {fileID: 5526862129129345011, guid: e73f9de6af399ab41bf6fa0678de174a, type: 3} Bumper: {fileID: 8337410631319514038, guid: 7637747d23035f14ca81f867f4c3ec31, type: 3} BumperWithoutNetwork: {fileID: 6693924812654725878, guid: 779115152a7c03340ab739e77b4eab49, type: 3} HailSprite: {fileID: 7196861874458538651, guid: 69eee063ae6700a41a40964271faf676, type: 3} @@ -220,6 +220,9 @@ MonoBehaviour: LayerMask: serializedVersion: 2 m_Bits: 64 + GroundMask: + serializedVersion: 2 + m_Bits: 393224 --- !u!1 &3173415395421141913 GameObject: m_ObjectHideFlags: 0 @@ -729,7 +732,7 @@ Camera: m_Depth: -1 m_CullingMask: serializedVersion: 2 - m_Bits: 194559 + m_Bits: 456703 m_RenderingPath: -1 m_TargetTexture: {fileID: 0} m_TargetDisplay: 0 @@ -786,10 +789,10 @@ RectTransform: m_Father: {fileID: 3173415395030910393} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} + m_SizeDelta: {x: 350, y: 350} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &3173415396104633696 CanvasRenderer: diff --git a/Assets/Prefabs/King/KingBlockWithoutNetwork.prefab b/Assets/Prefabs/King/KingBlockWithoutNetwork.prefab index 2ce229f..b95b39e 100644 --- a/Assets/Prefabs/King/KingBlockWithoutNetwork.prefab +++ b/Assets/Prefabs/King/KingBlockWithoutNetwork.prefab @@ -11,7 +11,6 @@ GameObject: - component: {fileID: 7316280474503270304} - component: {fileID: 8193877025775761519} - component: {fileID: 4313844460143191416} - - component: {fileID: 4855766791970369095} - component: {fileID: 7133238326309539709} m_Layer: 0 m_Name: KingBlockWithoutNetwork @@ -83,19 +82,6 @@ MeshRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_AdditionalVertexStreams: {fileID: 0} ---- !u!65 &4855766791970369095 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5704254083382235334} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 0.129032, y: 0.129032, z: 0.129032} - m_Center: {x: 0, y: 0.064516, z: 0} --- !u!114 &7133238326309539709 MonoBehaviour: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/King/TempBumper.prefab b/Assets/Prefabs/King/TempBumper.prefab index f6083d6..fba5a3b 100644 --- a/Assets/Prefabs/King/TempBumper.prefab +++ b/Assets/Prefabs/King/TempBumper.prefab @@ -84,6 +84,10 @@ PrefabInstance: propertyPath: m_Name value: TempBumper objectReference: {fileID: 0} + - target: {fileID: 6693924812654725878, guid: 779115152a7c03340ab739e77b4eab49, type: 3} + propertyPath: m_Layer + value: 18 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 779115152a7c03340ab739e77b4eab49, type: 3} --- !u!1 &8337410631319514038 stripped diff --git a/Assets/Prefabs/King/TempBumperWithoutNetwork.prefab b/Assets/Prefabs/King/TempBumperWithoutNetwork.prefab index 3d806a4..b08a792 100644 --- a/Assets/Prefabs/King/TempBumperWithoutNetwork.prefab +++ b/Assets/Prefabs/King/TempBumperWithoutNetwork.prefab @@ -11,7 +11,6 @@ GameObject: - component: {fileID: 1093892204678916335} - component: {fileID: 10017695625894551} - component: {fileID: 5573311107389572129} - - component: {fileID: 6693924812654725864} - component: {fileID: 6693924812654725879} m_Layer: 0 m_Name: TempBumperWithoutNetwork @@ -84,20 +83,6 @@ MeshRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_AdditionalVertexStreams: {fileID: 0} ---- !u!64 &6693924812654725864 -MeshCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6693924812654725878} - m_Material: {fileID: 0} - m_IsTrigger: 1 - m_Enabled: 1 - serializedVersion: 4 - m_Convex: 1 - m_CookingOptions: 30 - m_Mesh: {fileID: 189474581528608548, guid: e517743df9a91064b852e4b16df5b6ad, type: 3} --- !u!114 &6693924812654725879 MonoBehaviour: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/Demos/KingImpGraybox.unity b/Assets/Scenes/Demos/KingImpGraybox.unity index a8c74ad..ccdfad9 100644 --- a/Assets/Scenes/Demos/KingImpGraybox.unity +++ b/Assets/Scenes/Demos/KingImpGraybox.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.864397, g: 0.82191086, b: 0.78032, a: 1} + m_IndirectSpecularColor: {r: 0.8643677, g: 0.8219142, b: 0.78027064, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -63865,14 +63865,50 @@ PrefabInstance: propertyPath: BumperWithoutNetwork value: objectReference: {fileID: 6693924812654725878, guid: 779115152a7c03340ab739e77b4eab49, type: 3} + - target: {fileID: 3173415396083440353, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: field of view + value: 40 + objectReference: {fileID: 0} - target: {fileID: 3173415396083440353, guid: d23bf55f2a40d494487eb188930f895d, type: 3} propertyPath: near clip plane value: 1 objectReference: {fileID: 0} + - target: {fileID: 3173415396104633697, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: m_Enabled + value: 0 + objectReference: {fileID: 0} - target: {fileID: 3173415396104633698, guid: d23bf55f2a40d494487eb188930f895d, type: 3} propertyPath: UItext value: objectReference: {fileID: 1277454841} + - target: {fileID: 3173415396104633699, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3173415396104633699, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3173415396104633699, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3173415396104633699, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3173415396104633699, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: m_SizeDelta.x + value: 350 + objectReference: {fileID: 0} + - target: {fileID: 3173415396104633699, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: m_SizeDelta.y + value: 350 + objectReference: {fileID: 0} + - target: {fileID: 3173415396104633710, guid: d23bf55f2a40d494487eb188930f895d, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} - target: {fileID: 3173415396260468957, guid: d23bf55f2a40d494487eb188930f895d, type: 3} propertyPath: m_AnchorMax.x value: 0 diff --git a/Assets/Scenes/Preloader.unity b/Assets/Scenes/Preloader.unity index c4b657d..4d4d6d9 100644 --- a/Assets/Scenes/Preloader.unity +++ b/Assets/Scenes/Preloader.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1} + m_IndirectSpecularColor: {r: 0.3731193, g: 0.38073996, b: 0.35872698, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -318,7 +318,7 @@ MonoBehaviour: PlayerPrefab: 0 - Prefab: {fileID: 5101599074794639085, guid: e9e6e933240a1e74483b2513509941a7, type: 3} PlayerPrefab: 0 - - Prefab: {fileID: 2350198489747510937, guid: 24f3f8d1ca9cb65499b276dd8f1df901, type: 3} + - Prefab: {fileID: 4712084825249301457, guid: fb0559f90611429409ab7c260946e561, type: 3} PlayerPrefab: 0 - Prefab: {fileID: 9109488354154531999, guid: e0a933a7f4d98134ea0c045fabc6a6a0, type: 3} PlayerPrefab: 0 diff --git a/Assets/Scripts/KingScripts/HailArea.cs b/Assets/Scripts/KingScripts/HailArea.cs index f91b134..2d0807f 100644 --- a/Assets/Scripts/KingScripts/HailArea.cs +++ b/Assets/Scripts/KingScripts/HailArea.cs @@ -82,20 +82,16 @@ public class HailArea : NetworkBehaviour if(distance < 0) { distance *= -1; } - if(distance <= 40) { - Debug.Log("100 Frames"); + if(distance <= 60) { timeMax = 100; } - else if(distance > 40 && distance <= 180) { - Debug.Log("75 Frames"); + else if(distance > 60 && distance <= 250) { timeMax = 75; } - else if (distance > 180 && distance <= 400) { - Debug.Log("50 Frames"); + else if (distance > 250 && distance <= 500) { timeMax = 50; } - else if (distance > 400) { - Debug.Log("25 Frames"); + else if (distance > 500) { timeMax = 25; } } diff --git a/Assets/Scripts/KingScripts/KingPlace.cs b/Assets/Scripts/KingScripts/KingPlace.cs index 17d49a5..1c6afa2 100644 --- a/Assets/Scripts/KingScripts/KingPlace.cs +++ b/Assets/Scripts/KingScripts/KingPlace.cs @@ -141,12 +141,13 @@ public class KingPlace : NetworkBehaviour SlimeDir = DrawArrow(); if (Input.GetMouseButtonUp(0)) {//Reads the player releasing the left mouse button - Vector3 slimeLoc = PlaceTemp.transform.position; + Vector3 slimeLoc = PlaceTemp.transform.position;//Gets the Slime's position and rotation + Quaternion slimeRot = PlaceTemp.transform.rotation; Destroy(PlaceTemp); // PLACE NETWORKED VERSION - SpawnSlimeServerRPC(slimeLoc, SlimeDir); + SpawnSlimeServerRPC(slimeLoc, slimeRot, SlimeDir); SlimePlacing = false; MenuOff(); @@ -174,6 +175,7 @@ public class KingPlace : NetworkBehaviour private GameObject Row; private GameObject Platform; Vector3 spawnLoc; + Quaternion spawnRot = Quaternion.identity; private void FindGridBox() { int RowNumb = 0, Box = 0, x = 0, z = 0; if (PlaceTemp.transform.position.x < MontStr.x) {//King is trying to place on the mountain @@ -195,6 +197,7 @@ public class KingPlace : NetworkBehaviour found = true; Vector3 rot = row.transform.rotation.eulerAngles; PlaceTemp.transform.Rotate(0, (rot.y-90), 0);//Sets the object's rotation to the rows rotation + spawnRot = PlaceTemp.transform.rotation; spawnLoc = new Vector3(box.transform.position.x-MountxOffset, PlaceTemp.transform.position.y, box.transform.position.z-MountzOffset);//Sets the object's location break;//Breaks out from the loops when found } @@ -228,7 +231,7 @@ public class KingPlace : NetworkBehaviour if (Place == BlockWithoutNetwork) { // Have the server spawn the box - SpawnBoxServerRPC(spawnLoc); + SpawnBoxServerRPC(spawnLoc, spawnRot); // Remove the reference to PlaceTemp Destroy(PlaceTemp); @@ -238,7 +241,7 @@ public class KingPlace : NetworkBehaviour if (Place == BumperWithoutNetwork) { //Server spawn Bumper - SpawnBumperServerRPC(spawnLoc); + SpawnBumperServerRPC(spawnLoc, spawnRot); //Remove PlaceTemp Destroy(PlaceTemp); @@ -257,6 +260,8 @@ public class KingPlace : NetworkBehaviour } } + [SerializeField] private LayerMask GroundMask; + private void GridCheck(int Row, int Box, ref bool Placing) {//Makes it so items can only be placed in valid positions GameObject RowTrue; GameObject BoxTrue; @@ -273,8 +278,12 @@ public class KingPlace : NetworkBehaviour BoxTrue = null; } if (BoxTrue != null) { - Grid.GetComponent().GridSwitch(false); //Switch off the grid - Placing = false;//Stop placing + //Check if there's something in the box, unless it's Hail, then it skips past + if (Physics.CheckSphere(BoxTrue.transform.GetChild(0).transform.position, BoxSize-1.5f, GroundMask) == false || PlaceTemp == HailSprite || Placing == HailPlacing) + { + Grid.GetComponent().GridSwitch(false); //Switch off the grid + Placing = false;//Stop placing + } } } } @@ -305,7 +314,6 @@ public class KingPlace : NetworkBehaviour if (HailCorner.transform.position.z <= (box.transform.position.z - MountzOffset) + boxsize / 2 && HailCorner.transform.position.z >= (box.transform.position.z - MountzOffset) - boxsize / 2) {//Sees if the z fits within the box found = true; - Vector3 rot = row.transform.rotation.eulerAngles; HailCorner.transform.position = new Vector3(box.transform.position.x - MountxOffset, HailCorner.transform.position.y, box.transform.position.z - MountzOffset);//Sets the object's location break;//Breaks out from the loops when found } @@ -348,7 +356,9 @@ public class KingPlace : NetworkBehaviour MosPos = RayCastHit.point; } foreach (Transform child in PlaceTemp.transform) { - child.gameObject.SetActive(false); + if (child.gameObject.tag == "Arrow") { // Makes sure not to turn off the model + child.gameObject.SetActive(false); + } }//y=x(PlaceTemp.y - PlaceTemp.x) y=-x(PlaceTemp.y - PlaceTemp.x) if (MosPos.x > PlaceTemp.transform.position.x && MosPos.z < PlaceTemp.transform.position.z) {//Temp function to change Slime's dir PlaceTemp.transform.Find("ArrowUP").gameObject.SetActive(true); @@ -394,21 +404,23 @@ public class KingPlace : NetworkBehaviour } } + + //ServerRPCs for spawning the King's abilities [ServerRpc(RequireOwnership = false)] - private void SpawnBoxServerRPC(Vector3 spawnLoc) { - placedObj = Instantiate(Block, spawnLoc, Quaternion.identity); + private void SpawnBoxServerRPC(Vector3 spawnLoc, Quaternion spawnRot) { + placedObj = Instantiate(Block, spawnLoc, spawnRot); placedObj.GetComponent().Spawn(null, true); } [ServerRpc(RequireOwnership = false)] - private void SpawnBumperServerRPC(Vector3 spawnLoc) { - placedObj = Instantiate(Bumper, spawnLoc, Quaternion.identity); + private void SpawnBumperServerRPC(Vector3 spawnLoc, Quaternion spawnRot) { + placedObj = Instantiate(Bumper, spawnLoc, spawnRot); placedObj.GetComponent().Spawn(null, true); } [ServerRpc(RequireOwnership = false)] - private void SpawnSlimeServerRPC(Vector3 spawnLoc, int SlimeDir) { - placedObj = Instantiate(Slime, spawnLoc, Quaternion.identity); + private void SpawnSlimeServerRPC(Vector3 spawnLoc, Quaternion spawnRot, int SlimeDir) { + placedObj = Instantiate(Slime, spawnLoc, spawnRot); placedObj.GetComponent().GooStart(SlimeDir); diff --git a/Assets/Scripts/KingScripts/RadialMenu.cs b/Assets/Scripts/KingScripts/RadialMenu.cs index f5639a9..fe19916 100644 --- a/Assets/Scripts/KingScripts/RadialMenu.cs +++ b/Assets/Scripts/KingScripts/RadialMenu.cs @@ -7,6 +7,7 @@ public class RadialMenu : MonoBehaviour { bool UIOn = false; + bool ButtonUp = true; public GameObject King; public Camera cam; @@ -14,28 +15,52 @@ public class RadialMenu : MonoBehaviour [SerializeField] private Text UItext; + + private float xBound = 1920f;//Resolution + private float yBound = 1080f; + + private float xSize; + private float ySize; + + void Start() + { + xSize = GetComponent().sizeDelta.x / 2;//Converts the size of the Panel into the bounds of the screen + ySize = GetComponent().sizeDelta.y / 2; + xBound -= xSize; + yBound -= ySize; + } + // Update is called once per frame void Update() { if (UIOn == false) { screenPoint = Input.mousePosition; screenPoint.z = 120f; + screenPoint.x = Mathf.Clamp(screenPoint.x, xSize, xBound);//Uses the calculated bounds to keep the UI on the screen + screenPoint.y = Mathf.Clamp(screenPoint.y, ySize, yBound); transform.position = cam.ScreenToWorldPoint(screenPoint);//Moved the UI to where the mouse is } - if(Input.GetAxis("RadialMenu") > 0) {//Pressing Q makes the UI appear + if(Input.GetAxis("RadialMenu") > 0 && UIOn == false && ButtonUp == true) {//Pressing Q makes the UI appear, if it is off + ButtonUp = false; if (King.GetComponent().FirstPlacing == true) { King.GetComponent().CancelPlacing(); } MenuOn(); } - if (Input.GetAxis("RadialMenu") < 0) {//Pressing E makes the UI dissapear + else if (Input.GetAxis("RadialMenu") > 0 && UIOn == true && ButtonUp == true) {//Pressing Q makes the UI dissapear, if it is on + ButtonUp = false; MenuOff(); } + + if(Input.GetAxis("RadialMenu") == 0) + { + ButtonUp = true; + } } private void MenuOn() { - UItext.text = "Press E to Close Menu"; + UItext.text = "Press Q to Close Menu"; foreach (Transform child in transform) { //Turns on all of the different buttons attached to this panel and stops it from moving child.gameObject.SetActive(true); UIOn = true; diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset index b0f4da0..9b70ae1 100644 --- a/ProjectSettings/TagManager.asset +++ b/ProjectSettings/TagManager.asset @@ -33,6 +33,7 @@ TagManager: - UICam - hasEvent - MountainUpperRespawnPoint + - Arrow layers: - Default - TransparentFX @@ -53,6 +54,7 @@ TagManager: - InvisibleWall - KingBlock - hasEvent + - KingPlaceable - - -