diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 1360d0a..cff03e1 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -120,7 +120,7 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &1120142128 +--- !u!1 &16594060 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -128,23 +128,160 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 1120142130} - - component: {fileID: 1120142129} - - component: {fileID: 1120142131} + - component: {fileID: 16594062} + - component: {fileID: 16594063} + - component: {fileID: 16594061} m_Layer: 0 - m_Name: Logo + m_Name: CutsceneManager m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!212 &1120142129 +--- !u!114 &16594061 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 16594060} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 91beb731ac9f798499917d65e4b79eb3, type: 3} + m_Name: + m_EditorClassIdentifier: + logoCubic: {fileID: 225727805} + logoFull: {fileID: 885044044} + logoFullRenderer: {fileID: 885044045} +--- !u!4 &16594062 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 16594060} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &16594063 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 16594060} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4461999c2bda5da4e8eb91e0390c45d4, type: 3} + m_Name: + m_EditorClassIdentifier: + cutscene: {fileID: 16594061} +--- !u!1 &225727805 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 225727808} + - component: {fileID: 225727807} + - component: {fileID: 225727806} + m_Layer: 0 + m_Name: LogoCubic + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!23 &225727806 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 225727805} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: a5bb87460aebdc642a63f40f7b59553f, 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 +--- !u!33 &225727807 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 225727805} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &225727808 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 225727805} + m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 1.5, z: 100} + m_LocalScale: {x: 14, y: 13, z: 14} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!1 &885044044 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 885044046} + - component: {fileID: 885044045} + m_Layer: 0 + m_Name: LogoFull + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!212 &885044045 SpriteRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1120142128} + m_GameObject: {fileID: 885044044} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 @@ -176,44 +313,31 @@ SpriteRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 - m_Sprite: {fileID: 21300000, guid: c44f7bc8de4a1e54990571b5f78c5006, type: 3} + m_Sprite: {fileID: 21300000, guid: 32233e1aff9d5204a851f2677a290654, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} m_FlipX: 0 m_FlipY: 0 m_DrawMode: 0 - m_Size: {x: 112, y: 128} + m_Size: {x: 14, y: 16} m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 m_WasSpriteAssigned: 1 m_MaskInteraction: 0 m_SpriteSortPoint: 0 ---- !u!4 &1120142130 +--- !u!4 &885044046 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1120142128} + m_GameObject: {fileID: 885044044} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalPosition: {x: 0, y: 0, z: -2} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 1 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &1120142131 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1120142128} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 903dd5f2ae67978468e09862de06157f, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: {x: 0, y: 2, z: 0} --- !u!1001 &190725482322260703 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/Cutscene.cs b/Assets/Scripts/Cutscene.cs new file mode 100644 index 0000000..6564c08 --- /dev/null +++ b/Assets/Scripts/Cutscene.cs @@ -0,0 +1,18 @@ +using System.Collections; +using UnityEngine; + +public abstract class Cutscene : MonoBehaviour +{ + public IEnumerator Play() + { + OnSceneStart(); + yield return OnScenePlay(); + OnSceneEnd(); + } + + protected abstract IEnumerator OnScenePlay(); + + protected virtual void OnSceneStart() { } + + protected virtual void OnSceneEnd() { } +} diff --git a/Assets/Scripts/RotatingLogo.cs.meta b/Assets/Scripts/Cutscene.cs.meta similarity index 83% rename from Assets/Scripts/RotatingLogo.cs.meta rename to Assets/Scripts/Cutscene.cs.meta index d59ad3e..4f43edb 100644 --- a/Assets/Scripts/RotatingLogo.cs.meta +++ b/Assets/Scripts/Cutscene.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 903dd5f2ae67978468e09862de06157f +guid: 06fd16eb9a50013478bb59097b4d038a MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Scripts/CutsceneManager.cs b/Assets/Scripts/CutsceneManager.cs new file mode 100644 index 0000000..a94379a --- /dev/null +++ b/Assets/Scripts/CutsceneManager.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +public class CutsceneManager : MonoBehaviour +{ + [SerializeField] + Cutscene cutscene; + + void Start() + { + if (cutscene != null) + StartCoroutine(cutscene.Play()); + } +} diff --git a/Assets/Scripts/CutsceneManager.cs.meta b/Assets/Scripts/CutsceneManager.cs.meta new file mode 100644 index 0000000..5877fda --- /dev/null +++ b/Assets/Scripts/CutsceneManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4461999c2bda5da4e8eb91e0390c45d4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Easing.cs b/Assets/Scripts/Easing.cs new file mode 100644 index 0000000..33e826b --- /dev/null +++ b/Assets/Scripts/Easing.cs @@ -0,0 +1,134 @@ +using UnityEngine; + +namespace Assets.Scripts +{ + public static class Easing + { + public static float QuadIn(float t) => t * t; + + public static float QuadOut(float t) => t * (2f - t); + + public static float QuadInOut(float t) + { + return (t *= 2f) < 1f + ? .5f * t * t + : -.5f * ((t -= 1f) * (t - 2f) - 1f); + } + + public static float CubeIn(float t) => t * t * t; + + public static float CubeOut(float t) => 1f + ((t -= 1f) * t * t); + + public static float CubeInOut(float t) + { + return (t *= 2f) < 1f + ? .5f * t * t * t + : .5f * ((t -= 2f) * t * t + 2f); + } + + public static float QuartIn(float t) => t * t * t * t; + + public static float QuartOut(float t) => 1f - ((t -= 1f) * t * t * t); + + public static float QuartInOut(float t) + { + return (t *= 2f) < 1f + ? .5f * t * t * t * t + : -.5f * ((t -= 2f) * t * t * t - 2f); + } + + public static float QuintIn(float t) => t * t * t * t * t; + + public static float QuintOut(float t) => 1f + ((t -= 1f) * t * t * t * t); + + public static float QuintInOut(float t) + { + return (t *= 2f) < 1f + ? .5f * t * t * t * t * t + : .5f * ((t -= 2f) * t * t * t * t + 2f); + } + + public static float SineIn(float t) => 1f - Mathf.Cos(t * Mathf.PI / 2f); + + public static float SineOut(float t) => Mathf.Sin(t * Mathf.PI / 2f); + + public static float SineInOut(float t) => .5f * (1f - Mathf.Cos(Mathf.PI * t)); + + public static float ExpoIn(float t) => t == 0f ? 0f : Mathf.Pow(1024f, t - 1f); + + public static float ExpoOut(float t) => t == 1f ? 1f : 1f - Mathf.Pow(2f, -10f * t); + + public static float ExpoInOut(float t) + { + if (t == 0f || t == 1f) return t; + + return (t *= 2f) < 1f + ? .5f * Mathf.Pow(1024f, t - 1f) + : .5f * (-Mathf.Pow(2f, -10f * (t - 1f)) + 2f); + } + + public static float CircIn(float t) => 1f - Mathf.Sqrt(1f - t * t); + + public static float CircOut(float t) => Mathf.Sqrt(1f - ((t -= 1f) * t)); + + public static float CircInOut(float t) + { + return (t *= 2f) < 1f + ? -.5f * (Mathf.Sqrt(1f - t * t) - 1) + : .5f * (Mathf.Sqrt(1f - (t -= 2f) * t) + 1f); + } + + public static float ElastIn(float t) + { + if (t == 0f || t == 1f) return t; + + return -Mathf.Pow(2f, 10f * (t -= 1f)) + * Mathf.Sin((t - 0.1f) * (2f * Mathf.PI) / .4f); + } + + public static float ElastOut(float t) + { + if (t == 0f || t == 1f) return t; + + return Mathf.Pow(2f, -10f * t) + * Mathf.Sin((t - .1f) * (2f * Mathf.PI) / .4f) + 1f; + } + + public static float ElastInOut(float t) + { + return (t *= 2f) < 1f + ? -.5f * Mathf.Pow(2f, 10f * (t -= 1f)) + * Mathf.Sin((t - .1f) * (2f * Mathf.PI) / .4f) + : Mathf.Pow(2f, -10f * (t -= 1f)) + * Mathf.Sin((t - .1f) * (2f * Mathf.PI) / .4f) * .5f + 1f; + } + + public static float BackIn(float t) => t * t * (2.70158f * t - 1.70158f); + + public static float BackOut(float t) => (t -= 1f) * t * (2.70158f * t + 1.70158f) + 1f; + + public static float BackInOut(float t) + { + return (t *= 2f) < 1f + ? .5f * (t * t * ((2.5949095f + 1f) * t - 2.5949095f)) + : .5f * ((t -= 2f) * t * ((2.5949095f + 1f) * t + 2.5949095f) + 2f); + } + + public static float BounceIn(float t) => 1f - BounceOut(1f - t); + + public static float BounceOut(float t) + { + if (t < (1f / 2.75f)) return 7.5625f * t * t; + else if (t < (2f / 2.75f)) return 7.5625f * (t -= 1.5f / 2.75f) * t + .75f; + else if (t < (2.5f / 2.75f)) return 7.5625f * (t -= 2.25f / 2.75f) * t + .9375f; + else return 7.5625f * (t -= 2.625f / 2.75f) * t + .984375f; + } + + public static float BounceInOut(float t) + { + return t < 0.5f + ? BounceIn(t * 2f) * .5f + : BounceOut(t * 2f - 1f) * .5f + .5f; + } + } +} diff --git a/Assets/Scripts/Easing.cs.meta b/Assets/Scripts/Easing.cs.meta new file mode 100644 index 0000000..422aee6 --- /dev/null +++ b/Assets/Scripts/Easing.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ed7563d26ca64b440ae5873040e5d0af +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/LogoIntroCutscene.cs b/Assets/Scripts/LogoIntroCutscene.cs new file mode 100644 index 0000000..c5205b8 --- /dev/null +++ b/Assets/Scripts/LogoIntroCutscene.cs @@ -0,0 +1,66 @@ +using Assets.Scripts; +using System.Collections; +using UnityEngine; +using UnityEngine.SceneManagement; + +public class LogoIntroCutscene : Cutscene +{ + [SerializeField] + GameObject logoCubic; + [SerializeField] + GameObject logoFull; + [SerializeField] + SpriteRenderer logoFullRenderer; + + protected override void OnSceneStart() + { + logoFull.SetActive(false); + logoCubic.SetActive(true); + logoCubic.transform.eulerAngles = Vector3.up * 90f; + } + + protected override IEnumerator OnScenePlay() + { + yield return RotateCube(); + yield return new WaitForSeconds(.2f); + yield return FadeInLogo(); + yield return new WaitForSeconds(.5f); + } + + protected override void OnSceneEnd() + { + // TODO: Go to the next scene. + } + + IEnumerator RotateCube() + { + const int maxTicks = 80; + var angle = logoCubic.transform.eulerAngles; + + for (int i = 0; i <= maxTicks; i++) + { + var percent = Easing.SineOut(1f * i / maxTicks); + var angleLerp = new Vector3( + Mathf.Lerp(angle.x, angle.x + 360f, percent), + Mathf.Lerp(angle.y, angle.y + 360f, percent), + Mathf.Lerp(angle.z, angle.z + 360f, percent)); + logoCubic.transform.eulerAngles = angleLerp; + yield return null; + } + } + + IEnumerator FadeInLogo() + { + const int maxTicks = 45; + var clearWhite = new Color(1f, 1f, 1f, 0f); + + logoFull.SetActive(true); + + for (int i = 0; i <= maxTicks; i++) + { + var percent = Easing.SineIn(1f * i / maxTicks); + logoFullRenderer.color = Color.Lerp(clearWhite, Color.white, percent); + yield return null; + } + } +} diff --git a/Assets/Scripts/LogoIntroCutscene.cs.meta b/Assets/Scripts/LogoIntroCutscene.cs.meta new file mode 100644 index 0000000..f4a48ab --- /dev/null +++ b/Assets/Scripts/LogoIntroCutscene.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 91beb731ac9f798499917d65e4b79eb3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/RotatingLogo.cs b/Assets/Scripts/RotatingLogo.cs deleted file mode 100644 index 12c810e..0000000 --- a/Assets/Scripts/RotatingLogo.cs +++ /dev/null @@ -1,11 +0,0 @@ -using UnityEngine; - -public class RotatingLogo : MonoBehaviour -{ - public Vector3 speed; - - void Update() - { - transform.Rotate(speed); - } -} diff --git a/Assets/Textures/InsTechLogo.png b/Assets/Textures/InsTechLogo.png deleted file mode 100644 index b39dea3..0000000 Binary files a/Assets/Textures/InsTechLogo.png and /dev/null differ diff --git a/Assets/Textures/LogoFull.png b/Assets/Textures/LogoFull.png new file mode 100644 index 0000000..96c3d77 Binary files /dev/null and b/Assets/Textures/LogoFull.png differ diff --git a/Assets/Textures/InsTechLogo.png.meta b/Assets/Textures/LogoFull.png.meta similarity index 97% rename from Assets/Textures/InsTechLogo.png.meta rename to Assets/Textures/LogoFull.png.meta index 42a7b1f..c62c50d 100644 --- a/Assets/Textures/InsTechLogo.png.meta +++ b/Assets/Textures/LogoFull.png.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: c44f7bc8de4a1e54990571b5f78c5006 +guid: 32233e1aff9d5204a851f2677a290654 TextureImporter: internalIDToNameTable: [] externalObjects: {} @@ -41,13 +41,13 @@ TextureImporter: lightmap: 0 compressionQuality: 50 spriteMode: 1 - spriteExtrude: 0 + spriteExtrude: 1 spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} spritePixelsToUnits: 8 spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 0 + spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 alphaIsTransparency: 1 spriteTessellationDetail: -1 diff --git a/Assets/Textures/LogoHead.png b/Assets/Textures/LogoHead.png new file mode 100644 index 0000000..7650b3c Binary files /dev/null and b/Assets/Textures/LogoHead.png differ diff --git a/Assets/Textures/LogoHead.png.meta b/Assets/Textures/LogoHead.png.meta new file mode 100644 index 0000000..f98b8ef --- /dev/null +++ b/Assets/Textures/LogoHead.png.meta @@ -0,0 +1,151 @@ +fileFormatVersion: 2 +guid: 55753155eef8ec54f909b2a7c9e9ceb2 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 10 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + 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 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 0 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 8 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 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 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures/MatLogoHead.mat b/Assets/Textures/MatLogoHead.mat new file mode 100644 index 0000000..1d6d5b6 --- /dev/null +++ b/Assets/Textures/MatLogoHead.mat @@ -0,0 +1,98 @@ +%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: MatLogoHead + m_Shader: {fileID: 10752, 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: + - _AlphaTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _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: 55753155eef8ec54f909b2a7c9e9ceb2, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MaskTex: + 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} + - _NormalMap: + 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} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - PixelSnap: 0 + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _EnableExternalAlpha: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _Flip: {r: 1, g: 1, b: 1, a: 1} + - _RendererColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} diff --git a/Assets/Textures/MatLogoHead.mat.meta b/Assets/Textures/MatLogoHead.mat.meta new file mode 100644 index 0000000..52fd81b --- /dev/null +++ b/Assets/Textures/MatLogoHead.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a5bb87460aebdc642a63f40f7b59553f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: