diff --git a/Assets/Fonts/BungeeHairline-Regular.ttf b/Assets/Fonts/BungeeHairline-Regular.ttf new file mode 100644 index 0000000..8fbb38d Binary files /dev/null and b/Assets/Fonts/BungeeHairline-Regular.ttf differ diff --git a/Assets/Fonts/BungeeHairline-Regular.ttf.meta b/Assets/Fonts/BungeeHairline-Regular.ttf.meta new file mode 100644 index 0000000..54d604f --- /dev/null +++ b/Assets/Fonts/BungeeHairline-Regular.ttf.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: a8ea32260b2a4c04f8e8e7f1989b7c67 +TrueTypeFontImporter: + externalObjects: {} + serializedVersion: 4 + fontSize: 16 + forceTextureCase: -2 + characterSpacing: 0 + characterPadding: 1 + includeFontData: 1 + fontName: Bungee Hairline + fontNames: + - Bungee Hairline + fallbackFontReferences: [] + customCharacters: + fontRenderingMode: 0 + ascentCalculationMode: 1 + useLegacyBoundsCalculation: 0 + shouldRoundAdvanceValue: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fonts/BungeeOutline-Regular.ttf b/Assets/Fonts/BungeeOutline-Regular.ttf new file mode 100644 index 0000000..2bea122 Binary files /dev/null and b/Assets/Fonts/BungeeOutline-Regular.ttf differ diff --git a/Assets/Fonts/BungeeOutline-Regular.ttf.meta b/Assets/Fonts/BungeeOutline-Regular.ttf.meta new file mode 100644 index 0000000..f02cba4 --- /dev/null +++ b/Assets/Fonts/BungeeOutline-Regular.ttf.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 04fed28f55f61f54f91b5b7894fd42c0 +TrueTypeFontImporter: + externalObjects: {} + serializedVersion: 4 + fontSize: 16 + forceTextureCase: -2 + characterSpacing: 0 + characterPadding: 1 + includeFontData: 1 + fontName: Bungee Outline + fontNames: + - Bungee Outline + fallbackFontReferences: [] + customCharacters: + fontRenderingMode: 0 + ascentCalculationMode: 1 + useLegacyBoundsCalculation: 0 + shouldRoundAdvanceValue: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/Black.mat b/Assets/Materials/Black.mat index 5fbd3ee..ef9c3f1 100644 --- a/Assets/Materials/Black.mat +++ b/Assets/Materials/Black.mat @@ -73,5 +73,5 @@ Material: - _UVSec: 0 - _ZWrite: 1 m_Colors: - - _Color: {r: 0, g: 0, b: 0, a: 1} + - _Color: {r: 0.0754717, g: 0.0754717, b: 0.0754717, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/Materials/GlowingBlue.mat b/Assets/Materials/GlowingBlue.mat new file mode 100644 index 0000000..7e8583a --- /dev/null +++ b/Assets/Materials/GlowingBlue.mat @@ -0,0 +1,77 @@ +%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: GlowingBlue + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _EMISSION + m_LightmapFlags: 1 + 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: 1 + - _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.9245283, g: 0.9245283, b: 0.9245283, a: 1} + - _EmissionColor: {r: 0.2500021, g: 0, b: 12.1257305, a: 1} diff --git a/Assets/Materials/GlowingBlue.mat.meta b/Assets/Materials/GlowingBlue.mat.meta new file mode 100644 index 0000000..8b6b569 --- /dev/null +++ b/Assets/Materials/GlowingBlue.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 47b8201b3a8d2fe488e4d3e74be679ac +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/GlowingGreen.mat b/Assets/Materials/GlowingGreen.mat new file mode 100644 index 0000000..795e23b --- /dev/null +++ b/Assets/Materials/GlowingGreen.mat @@ -0,0 +1,77 @@ +%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: GlowingGreen + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _EMISSION + m_LightmapFlags: 1 + 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: 1 + - _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.9245283, g: 0.9245283, b: 0.9245283, a: 1} + - _EmissionColor: {r: 0.3001528, g: 4.5947933, b: 0, a: 1} diff --git a/Assets/Materials/MenuText.mat.meta b/Assets/Materials/GlowingGreen.mat.meta similarity index 100% rename from Assets/Materials/MenuText.mat.meta rename to Assets/Materials/GlowingGreen.mat.meta diff --git a/Assets/Materials/MenuText.mat b/Assets/Materials/GlowingRed.mat similarity index 92% rename from Assets/Materials/MenuText.mat rename to Assets/Materials/GlowingRed.mat index 17571d2..91d501a 100644 --- a/Assets/Materials/MenuText.mat +++ b/Assets/Materials/GlowingRed.mat @@ -7,7 +7,7 @@ Material: m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: MenuText + m_Name: GlowingRed m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} m_ShaderKeywords: _EMISSION m_LightmapFlags: 1 @@ -73,5 +73,5 @@ Material: - _UVSec: 0 - _ZWrite: 1 m_Colors: - - _Color: {r: 1, g: 0, b: 0, a: 1} - - _EmissionColor: {r: 14.754423, g: 0.84973115, b: 0.15449658, a: 1} + - _Color: {r: 0.9245283, g: 0.9245283, b: 0.9245283, a: 1} + - _EmissionColor: {r: 9.082411, g: 0, b: 0.095103785, a: 1} diff --git a/Assets/Materials/GlowingRed.mat.meta b/Assets/Materials/GlowingRed.mat.meta new file mode 100644 index 0000000..d9a39a5 --- /dev/null +++ b/Assets/Materials/GlowingRed.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 57771a4c428d77849a642d87746ef5a9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/start_text.blend b/Assets/Models/start_text.blend index 77978ad..f46a364 100644 Binary files a/Assets/Models/start_text.blend and b/Assets/Models/start_text.blend differ diff --git a/Assets/Models/start_text.blend1 b/Assets/Models/start_text.blend1 index 8ce8e50..20b7190 100644 Binary files a/Assets/Models/start_text.blend1 and b/Assets/Models/start_text.blend1 differ diff --git a/Assets/Models/text_quit.blend b/Assets/Models/text_quit.blend new file mode 100644 index 0000000..6028daf Binary files /dev/null and b/Assets/Models/text_quit.blend differ diff --git a/Assets/Models/text_quit.blend.meta b/Assets/Models/text_quit.blend.meta new file mode 100644 index 0000000..e98074c --- /dev/null +++ b/Assets/Models/text_quit.blend.meta @@ -0,0 +1,95 @@ +fileFormatVersion: 2 +guid: 3d3c9958de912d040b823e8941c04fba +ModelImporter: + serializedVersion: 26 + internalIDToNameTable: [] + externalObjects: {} + materials: + importMaterials: 1 + 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 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 + blendShapeNormalImportMode: 1 + normalSmoothingSource: 0 + referencedClips: [] + importAnimation: 1 + copyAvatar: 0 + 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} + animationType: 0 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/text_quit.blend1 b/Assets/Models/text_quit.blend1 new file mode 100644 index 0000000..012155e Binary files /dev/null and b/Assets/Models/text_quit.blend1 differ diff --git a/Assets/Models/text_quit.blend1.meta b/Assets/Models/text_quit.blend1.meta new file mode 100644 index 0000000..97859e2 --- /dev/null +++ b/Assets/Models/text_quit.blend1.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5e88aaf71f932db41a184e9e56fff918 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models/text_template.blend b/Assets/Models/text_template.blend new file mode 100644 index 0000000..d5ce4c0 Binary files /dev/null and b/Assets/Models/text_template.blend differ diff --git a/Assets/Models/text_template.blend.meta b/Assets/Models/text_template.blend.meta new file mode 100644 index 0000000..da5127e --- /dev/null +++ b/Assets/Models/text_template.blend.meta @@ -0,0 +1,95 @@ +fileFormatVersion: 2 +guid: 52dbda25a48e2f545a18abe4ae33ac92 +ModelImporter: + serializedVersion: 26 + internalIDToNameTable: [] + externalObjects: {} + materials: + importMaterials: 1 + 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 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 + blendShapeNormalImportMode: 1 + normalSmoothingSource: 0 + referencedClips: [] + importAnimation: 1 + copyAvatar: 0 + 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} + animationType: 0 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/menu.unity b/Assets/Scenes/menu.unity index a71a732..7dfee2d 100644 --- a/Assets/Scenes/menu.unity +++ b/Assets/Scenes/menu.unity @@ -135,17 +135,17 @@ PrefabInstance: - target: {fileID: -4216859302048453862, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} propertyPath: m_LocalPosition.x - value: -9 + value: -22.4 objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} propertyPath: m_LocalPosition.y - value: 0 + value: -0.9 objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} propertyPath: m_LocalPosition.z - value: 0 + value: 3.8 objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} @@ -190,23 +190,63 @@ PrefabInstance: - target: {fileID: -4216859302048453862, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} propertyPath: m_LocalScale.x - value: 12 + value: 25 objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} propertyPath: m_LocalScale.y - value: 12 + value: 25 objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} propertyPath: m_LocalScale.z - value: 12 + value: 25 objectReference: {fileID: 0} - target: {fileID: -1504981713932161579, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} propertyPath: m_Materials.Array.data[0] value: objectReference: {fileID: 2100000, guid: ae5c9f828bb22a547a126dc3ddb8632a, type: 2} + - target: {fileID: -2911857058776738603, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -2911857058776738603, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -2911857058776738603, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -2088226352287203507, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: ae5c9f828bb22a547a126dc3ddb8632a, type: 2} + - target: {fileID: 4133950418179257051, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: ae5c9f828bb22a547a126dc3ddb8632a, type: 2} + - target: {fileID: 8717448951409054081, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8717448951409054081, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8717448951409054081, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: afe826dd867ed064eb8c9e8d20ebcbb8, type: 3} --- !u!1 &423715263 stripped @@ -240,6 +280,22 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 1.7904701, y: 0.70985544, z: 0.13607855} m_Center: {x: -0.9024396, y: 0.3283303, z: -0.000000078280046} +--- !u!114 &423715269 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 423715263} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b0e8dd31ab59b7f4eba86f0ce4ac95b0, type: 3} + m_Name: + m_EditorClassIdentifier: + hoverIntensity: 3 + defaultIntensity: 1 + lerpSpeed: 8 + target: {fileID: 2130034758} --- !u!1 &1392065296 GameObject: m_ObjectHideFlags: 0 @@ -252,7 +308,7 @@ GameObject: - component: {fileID: 1392065298} - component: {fileID: 1392065297} - component: {fileID: 1392065301} - - component: {fileID: 1392065300} + - component: {fileID: 1392065302} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -278,7 +334,7 @@ Camera: m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 1 - m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_BackGroundColor: {r: 0.34015664, g: 0.39864916, b: 0.49056602, a: 0} m_projectionMatrixMode: 1 m_GateFitMode: 2 m_FOVAxisMode: 0 @@ -293,9 +349,9 @@ Camera: height: 1 near clip plane: 0.3 far clip plane: 1000 - field of view: 60 - orthographic: 0 - orthographic size: 5 + field of view: 20 + orthographic: 1 + orthographic size: 26.097218 m_Depth: -1 m_CullingMask: serializedVersion: 2 @@ -325,23 +381,6 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} ---- !u!114 &1392065300 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1392065296} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 8b9a305e18de0c04dbd257a21cd47087, type: 3} - m_Name: - m_EditorClassIdentifier: - sharedProfile: {fileID: 11400000, guid: 8b9d47c0317477d46b0351d4425bebf1, type: 2} - isGlobal: 1 - blendDistance: 0 - weight: 1 - priority: 0 --- !u!114 &1392065301 MonoBehaviour: m_ObjectHideFlags: 0 @@ -402,6 +441,29 @@ MonoBehaviour: m_BeforeTransparentBundles: [] m_BeforeStackBundles: [] m_AfterStackBundles: [] +--- !u!114 &1392065302 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1392065296} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8b9a305e18de0c04dbd257a21cd47087, type: 3} + m_Name: + m_EditorClassIdentifier: + sharedProfile: {fileID: 11400000, guid: 8b9d47c0317477d46b0351d4425bebf1, type: 2} + isGlobal: 1 + blendDistance: 0 + weight: 1 + priority: 0 +--- !u!23 &1453726629 stripped +MeshRenderer: + m_CorrespondingSourceObject: {fileID: 7452761831188128528, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + m_PrefabInstance: {fileID: 1969327177} + m_PrefabAsset: {fileID: 0} --- !u!1 &1726452643 GameObject: m_ObjectHideFlags: 0 @@ -490,8 +552,175 @@ Transform: m_GameObject: {fileID: 1726452643} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1000, y: 1000, z: 1000} + m_LocalScale: {x: 50, y: 50, z: 50} m_Children: [] m_Father: {fileID: 0} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1969327177 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: -927199367670048503, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_Name + value: text_quit + objectReference: {fileID: 0} + - target: {fileID: -8516149092970067591, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 57771a4c428d77849a642d87746ef5a9, type: 2} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalPosition.x + value: -10.5 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.6 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalPosition.z + value: -16.9 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalRotation.y + value: -1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalRotation.w + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 180 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 180 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalScale.x + value: 15 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalScale.y + value: 15 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_LocalScale.z + value: 15 + objectReference: {fileID: 0} + - target: {fileID: 4133950418179257051, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 57771a4c428d77849a642d87746ef5a9, type: 2} + - target: {fileID: -4902684145042165152, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 57771a4c428d77849a642d87746ef5a9, type: 2} + - target: {fileID: -2088226352287203507, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 57771a4c428d77849a642d87746ef5a9, type: 2} + - target: {fileID: 7452761831188128528, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 57771a4c428d77849a642d87746ef5a9, type: 2} + - target: {fileID: -8336890411983990595, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 3d3c9958de912d040b823e8941c04fba, type: 3} +--- !u!1 &2121460457 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: -927199367670048503, guid: 3d3c9958de912d040b823e8941c04fba, + type: 3} + m_PrefabInstance: {fileID: 1969327177} + m_PrefabAsset: {fileID: 0} +--- !u!114 &2121460459 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2121460457} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b0e8dd31ab59b7f4eba86f0ce4ac95b0, type: 3} + m_Name: + m_EditorClassIdentifier: + hoverIntensity: 3 + defaultIntensity: 1 + lerpSpeed: 8 + target: {fileID: 1453726629} +--- !u!65 &2121460460 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2121460457} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1.7163517, y: 0.9999999, z: 0.73255974} + m_Center: {x: -0.70202744, y: 0, z: -0.1337198} +--- !u!114 &2121460461 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2121460457} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 729d21fbc25334943a58d3590733519e, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!23 &2130034758 stripped +MeshRenderer: + m_CorrespondingSourceObject: {fileID: -2088226352287203507, guid: afe826dd867ed064eb8c9e8d20ebcbb8, + type: 3} + m_PrefabInstance: {fileID: 1473961} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Scripts/UI/GlowOnHover.cs b/Assets/Scripts/UI/GlowOnHover.cs new file mode 100644 index 0000000..c4fdee8 --- /dev/null +++ b/Assets/Scripts/UI/GlowOnHover.cs @@ -0,0 +1,49 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class GlowOnHover : MonoBehaviour +{ + public float hoverIntensity, defaultIntensity, lerpSpeed = 1; + public Renderer target; + private float fromIntensity, toIntensity, currentIntensity, t; + private Material material; + private Color defaultColor; + + private void Start() + { + this.material = this.target.material; + this.defaultColor = material.GetColor("_EmissionColor"); + this.toIntensity = defaultIntensity; + } + + private void Update() + { + + this.currentIntensity = Mathf.Lerp(this.fromIntensity, this.toIntensity, this.t); + this.t += Time.deltaTime * this.lerpSpeed; + + Color finalColor = this.defaultColor * Mathf.LinearToGammaSpace(this.currentIntensity); + this.material.SetVector("_EmissionColor", this.defaultColor * this.currentIntensity); + + //this.material.SetColor("_EmissionColor", finalColor); + + } + + private void lerpEmission(float from, float to) + { + this.t = 0; + this.fromIntensity = from; + this.toIntensity = to; + } + + private void OnMouseEnter() + { + this.lerpEmission(this.currentIntensity, this.hoverIntensity); + } + + private void OnMouseExit() + { + this.lerpEmission(this.currentIntensity, this.defaultIntensity); + } +} diff --git a/Assets/Scripts/UI/GlowOnHover.cs.meta b/Assets/Scripts/UI/GlowOnHover.cs.meta new file mode 100644 index 0000000..557e8a7 --- /dev/null +++ b/Assets/Scripts/UI/GlowOnHover.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b0e8dd31ab59b7f4eba86f0ce4ac95b0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/UI/QuitButton.cs b/Assets/Scripts/UI/QuitButton.cs new file mode 100644 index 0000000..bb93e9b --- /dev/null +++ b/Assets/Scripts/UI/QuitButton.cs @@ -0,0 +1,11 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class QuitButton : MonoBehaviour +{ + void OnMouseDown() + { + Application.Quit(); + } +} diff --git a/Assets/Scripts/UI/QuitButton.cs.meta b/Assets/Scripts/UI/QuitButton.cs.meta new file mode 100644 index 0000000..df90be8 --- /dev/null +++ b/Assets/Scripts/UI/QuitButton.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 729d21fbc25334943a58d3590733519e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: