├── .gitattributes ├── .gitignore ├── Assets ├── BackToMainMenu.cs ├── BackToMainMenu.cs.meta ├── DeepLinkTestpage.htm ├── DeepLinkTestpage.htm.meta ├── LocalPhoneDef.meta ├── LocalPhoneDef │ ├── Google Pixel 4.device.json │ ├── Google Pixel 4.device.json.meta │ ├── Google Pixel 4_Overlay.png │ ├── Google Pixel 4_Overlay.png.meta │ ├── README.md │ ├── README.md.meta │ ├── Samsung Fold Closed.device.json │ ├── Samsung Fold Closed.device.json.meta │ ├── Samsung Fold Closed_Overlay.png │ ├── Samsung Fold Closed_Overlay.png.meta │ ├── Samsung Fold Opened.device.json │ ├── Samsung Fold Opened.device.json.meta │ ├── Samsung Fold Opened_Overlay.png │ └── Samsung Fold Opened_Overlay.png.meta ├── Plugins.meta ├── Plugins │ ├── Android.meta │ └── Android │ │ ├── AndroidManifest.xml │ │ └── AndroidManifest.xml.meta ├── Prefabs.meta ├── Prefabs │ ├── Android.png │ ├── Android.png.meta │ ├── NetworkReach.cs │ ├── NetworkReach.cs.meta │ ├── NetworkReach.prefab │ ├── NetworkReach.prefab.meta │ ├── PlatformLogoSwitch.cs │ ├── PlatformLogoSwitch.cs.meta │ ├── PlatformLogos.prefab │ ├── PlatformLogos.prefab.meta │ ├── baseline_cloud_done_black_18dp.png │ ├── baseline_cloud_done_black_18dp.png.meta │ ├── baseline_cloud_off_black_18dp.png │ ├── baseline_cloud_off_black_18dp.png.meta │ ├── baseline_signal_cellular_4_bar_black_18dp.png │ ├── baseline_signal_cellular_4_bar_black_18dp.png.meta │ ├── baseline_signal_wifi_4_bar_black_18dp.png │ ├── baseline_signal_wifi_4_bar_black_18dp.png.meta │ ├── iOS.png │ ├── iOS.png.meta │ ├── logoUnity.png │ └── logoUnity.png.meta ├── Scenes.meta ├── Scenes │ ├── DisplayNotchSafeArea.unity │ ├── DisplayNotchSafeArea.unity.meta │ ├── Menu.unity │ ├── Menu.unity.meta │ ├── SafeAreaControl.unity │ └── SafeAreaControl.unity.meta ├── Scripts.meta └── Scripts │ ├── CanvasHelper.cs │ ├── CanvasHelper.cs.meta │ ├── LevelSelectItem.cs │ ├── LevelSelectItem.cs.meta │ ├── LevelSelectScreen.cs │ ├── LevelSelectScreen.cs.meta │ ├── ProcessDeepLinkMngr.cs │ ├── ProcessDeepLinkMngr.cs.meta │ ├── SceneLoadButton.cs │ ├── SceneLoadButton.cs.meta │ ├── UpdateDeepLink.cs │ ├── UpdateDeepLink.cs.meta │ ├── VersionLabel.cs │ ├── VersionLabel.cs.meta │ ├── notchDisplay.cs │ └── notchDisplay.cs.meta ├── DeviceSimulatorRoadMap2020Q1.gif ├── LICENSE.md ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DeviceSimulatorSettings.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset └── XRSettings.asset ├── README.md └── deeplinkSlow.gif /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Never ignore Asset meta data 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | 59 | Packages/packages-lock.json 60 | -------------------------------------------------------------------------------- /Assets/BackToMainMenu.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class BackToMainMenu : MonoBehaviour 6 | { 7 | // Start is called before the first frame update 8 | void Start() 9 | { 10 | 11 | } 12 | 13 | // Update is called once per frame 14 | void Update() 15 | { 16 | if (UnityEngine.InputSystem.Keyboard.current.anyKey.wasPressedThisFrame) 17 | { 18 | UnityEngine.SceneManagement.SceneManager.LoadScene("Menu"); 19 | Debug.Log("Back to main menu!"); 20 | //UnityEngine.InputSystem 21 | } 22 | //if ( Input.anyKeyDown) 23 | //{ 24 | // UnityEngine.SceneManagement.SceneManager.LoadScene("Menu"); 25 | //} 26 | 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Assets/BackToMainMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7734a8bd35b26a4a861b666d708bb4c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/DeepLinkTestpage.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

My Deep Link Test page

9 | 10 |

11 | Launch with no parameter 12 |

13 |

14 | Goto Scene DisplayNotchSafeArea 15 |

16 |

17 | Goto Scene SafeAreaControl 18 |

19 |

20 | Goto Scene Menu 21 |

22 |

23 | Random parameter value 24 |

25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Assets/DeepLinkTestpage.htm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20ea6a9ec5db2824498a8f22a423bcdb 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae1f89747bee2c448ae994e69386a279 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Google Pixel 4.device.json: -------------------------------------------------------------------------------- 1 | { 2 | "friendlyName": "Google Pixel 4-jc", 3 | "version": 1, 4 | "Screens": [ 5 | { 6 | "width": 1080, 7 | "height": 2160, 8 | "navigationBarHeight": 132, 9 | "dpi": 440.0, 10 | "orientations": [ 11 | { 12 | "orientation": 1, 13 | "safeArea": { 14 | "serializedVersion": "2", 15 | "x": 0.0, 16 | "y": 0.0, 17 | "width": 1080.0, 18 | "height": 2160.0 19 | }, 20 | "cutouts": [] 21 | }, 22 | { 23 | "orientation": 3, 24 | "safeArea": { 25 | "serializedVersion": "2", 26 | "x": 0.0, 27 | "y": 0.0, 28 | "width": 2160.0, 29 | "height": 1080.0 30 | }, 31 | "cutouts": [] 32 | }, 33 | { 34 | "orientation": 4, 35 | "safeArea": { 36 | "serializedVersion": "2", 37 | "x": 0.0, 38 | "y": 0.0, 39 | "width": 2160.0, 40 | "height": 1080.0 41 | }, 42 | "cutouts": [] 43 | } 44 | ], 45 | "presentation": { 46 | "overlayPath": "Google Pixel 4_Overlay.png", 47 | "borderSize": { 48 | "x": 35.0, 49 | "y": 155.0, 50 | "z": 35.0, 51 | "w": 155.0 52 | }, 53 | "cornerRadius": 0.0 54 | } 55 | } 56 | ], 57 | "SystemInfo": { 58 | "deviceModel": "Google Pixel 4", 59 | "deviceType": 1, 60 | "operatingSystem": "Android OS 10 / API-28 (PQ1A.190105.004/5148680)", 61 | "operatingSystemFamily": 0, 62 | "processorCount": 8, 63 | "processorFrequency": 2803, 64 | "processorType": "ARM64 FP ASIMD AES", 65 | "supportsAccelerometer": true, 66 | "supportsAudio": true, 67 | "supportsGyroscope": true, 68 | "supportsLocationService": true, 69 | "supportsVibration": true, 70 | "systemMemorySize": 3548, 71 | "unsupportedIdentifier": "n/a", 72 | "graphicsDependentData": [ 73 | { 74 | "graphicsDeviceType": 21, 75 | "graphicsMemorySize": 3804, 76 | "graphicsDeviceName": "Adreno (TM) 630", 77 | "graphicsDeviceVendor": "Qualcomm", 78 | "graphicsDeviceID": 100859905, 79 | "graphicsDeviceVendorID": 20803, 80 | "graphicsUVStartsAtTop": true, 81 | "graphicsDeviceVersion": "Vulkan 1.1.66 [512.313.0]", 82 | "graphicsShaderLevel": 45, 83 | "graphicsMultiThreaded": true, 84 | "renderingThreadingMode": 0, 85 | "hasHiddenSurfaceRemovalOnGPU": true, 86 | "hasDynamicUniformArrayIndexingInFragmentShaders": true, 87 | "supportsShadows": true, 88 | "supportsRawShadowDepthSampling": true, 89 | "supportsMotionVectors": true, 90 | "supports3DTextures": true, 91 | "supports2DArrayTextures": true, 92 | "supports3DRenderTextures": true, 93 | "supportsCubemapArrayTextures": true, 94 | "copyTextureSupport": 31, 95 | "supportsComputeShaders": true, 96 | "supportsGeometryShaders": false, 97 | "supportsTessellationShaders": false, 98 | "supportsInstancing": true, 99 | "supportsHardwareQuadTopology": false, 100 | "supports32bitsIndexBuffer": true, 101 | "supportsSparseTextures": false, 102 | "supportedRenderTargetCount": 8, 103 | "supportsSeparatedRenderTargetsBlend": true, 104 | "supportedRandomWriteTargetCount": 8, 105 | "supportsMultisampledTextures": 1, 106 | "supportsMultisampleAutoResolve": true, 107 | "supportsTextureWrapMirrorOnce": 1, 108 | "usesReversedZBuffer": true, 109 | "npotSupport": 2, 110 | "maxTextureSize": 16384, 111 | "maxCubemapSize": 16384, 112 | "maxComputeBufferInputsVertex": 72, 113 | "maxComputeBufferInputsFragment": 72, 114 | "maxComputeBufferInputsGeometry": 72, 115 | "maxComputeBufferInputsDomain": 72, 116 | "maxComputeBufferInputsHull": 72, 117 | "maxComputeBufferInputsCompute": 32, 118 | "maxComputeWorkGroupSize": 1024, 119 | "maxComputeWorkGroupSizeX": 1024, 120 | "maxComputeWorkGroupSizeY": 1024, 121 | "maxComputeWorkGroupSizeZ": 64, 122 | "supportsAsyncCompute": false, 123 | "supportsGraphicsFence": true, 124 | "supportsAsyncGPUReadback": true, 125 | "supportsRayTracing": false, 126 | "supportsSetConstantBuffer": true, 127 | "minConstantBufferOffsetAlignment": true, 128 | "hasMipMaxLevel": true, 129 | "supportsMipStreaming": true, 130 | "usesLoadStoreActions": true, 131 | "supportedTextureFormats": [], 132 | "supportedRenderTextureFormats": [], 133 | "ldrGraphicsFormat": 0, 134 | "hdrGraphicsFormat": 0 135 | }, 136 | { 137 | "graphicsDeviceType": 11, 138 | "graphicsMemorySize": 1024, 139 | "graphicsDeviceName": "Adreno (TM) 630", 140 | "graphicsDeviceVendor": "Qualcomm", 141 | "graphicsDeviceID": 0, 142 | "graphicsDeviceVendorID": 0, 143 | "graphicsUVStartsAtTop": false, 144 | "graphicsDeviceVersion": "OpenGL ES 3.2 V@313.0 (GIT@3f88ca2, I42f6fe38fb) (Date:07/13/18)", 145 | "graphicsShaderLevel": 50, 146 | "graphicsMultiThreaded": true, 147 | "renderingThreadingMode": 0, 148 | "hasHiddenSurfaceRemovalOnGPU": true, 149 | "hasDynamicUniformArrayIndexingInFragmentShaders": true, 150 | "supportsShadows": true, 151 | "supportsRawShadowDepthSampling": true, 152 | "supportsMotionVectors": true, 153 | "supports3DTextures": true, 154 | "supports2DArrayTextures": true, 155 | "supports3DRenderTextures": true, 156 | "supportsCubemapArrayTextures": true, 157 | "copyTextureSupport": 31, 158 | "supportsComputeShaders": true, 159 | "supportsGeometryShaders": true, 160 | "supportsTessellationShaders": true, 161 | "supportsInstancing": true, 162 | "supportsHardwareQuadTopology": false, 163 | "supports32bitsIndexBuffer": true, 164 | "supportsSparseTextures": false, 165 | "supportedRenderTargetCount": 8, 166 | "supportsSeparatedRenderTargetsBlend": true, 167 | "supportedRandomWriteTargetCount": 20, 168 | "supportsMultisampledTextures": 1, 169 | "supportsMultisampleAutoResolve": true, 170 | "supportsTextureWrapMirrorOnce": 0, 171 | "usesReversedZBuffer": false, 172 | "npotSupport": 2, 173 | "maxTextureSize": 16384, 174 | "maxCubemapSize": 16384, 175 | "maxComputeBufferInputsVertex": 4, 176 | "maxComputeBufferInputsFragment": 4, 177 | "maxComputeBufferInputsGeometry": 4, 178 | "maxComputeBufferInputsDomain": 4, 179 | "maxComputeBufferInputsHull": 4, 180 | "maxComputeBufferInputsCompute": 24, 181 | "maxComputeWorkGroupSize": 1024, 182 | "maxComputeWorkGroupSizeX": 1024, 183 | "maxComputeWorkGroupSizeY": 1024, 184 | "maxComputeWorkGroupSizeZ": 64, 185 | "supportsAsyncCompute": false, 186 | "supportsGraphicsFence": true, 187 | "supportsAsyncGPUReadback": false, 188 | "supportsRayTracing": false, 189 | "supportsSetConstantBuffer": true, 190 | "minConstantBufferOffsetAlignment": true, 191 | "hasMipMaxLevel": true, 192 | "supportsMipStreaming": true, 193 | "usesLoadStoreActions": true, 194 | "supportedTextureFormats": [], 195 | "supportedRenderTextureFormats": [], 196 | "ldrGraphicsFormat": 0, 197 | "hdrGraphicsFormat": 0 198 | }, 199 | { 200 | "graphicsDeviceType": 8, 201 | "graphicsMemorySize": 1024, 202 | "graphicsDeviceName": "Adreno (TM) 630", 203 | "graphicsDeviceVendor": "Qualcomm", 204 | "graphicsDeviceID": 0, 205 | "graphicsDeviceVendorID": 0, 206 | "graphicsUVStartsAtTop": false, 207 | "graphicsDeviceVersion": "OpenGL ES 3.2 V@313.0 (GIT@3f88ca2, I42f6fe38fb) (Date:07/13/18)", 208 | "graphicsShaderLevel": 46, 209 | "graphicsMultiThreaded": true, 210 | "renderingThreadingMode": 0, 211 | "hasHiddenSurfaceRemovalOnGPU": true, 212 | "hasDynamicUniformArrayIndexingInFragmentShaders": true, 213 | "supportsShadows": true, 214 | "supportsRawShadowDepthSampling": true, 215 | "supportsMotionVectors": true, 216 | "supports3DTextures": true, 217 | "supports2DArrayTextures": false, 218 | "supports3DRenderTextures": false, 219 | "supportsCubemapArrayTextures": false, 220 | "copyTextureSupport": 31, 221 | "supportsComputeShaders": false, 222 | "supportsGeometryShaders": true, 223 | "supportsTessellationShaders": true, 224 | "supportsInstancing": false, 225 | "supportsHardwareQuadTopology": false, 226 | "supports32bitsIndexBuffer": true, 227 | "supportsSparseTextures": false, 228 | "supportedRenderTargetCount": 1, 229 | "supportsSeparatedRenderTargetsBlend": false, 230 | "supportedRandomWriteTargetCount": 0, 231 | "supportsMultisampledTextures": 0, 232 | "supportsMultisampleAutoResolve": true, 233 | "supportsTextureWrapMirrorOnce": 0, 234 | "usesReversedZBuffer": false, 235 | "npotSupport": 2, 236 | "maxTextureSize": 16384, 237 | "maxCubemapSize": 16384, 238 | "maxComputeBufferInputsVertex": 0, 239 | "maxComputeBufferInputsFragment": 0, 240 | "maxComputeBufferInputsGeometry": 0, 241 | "maxComputeBufferInputsDomain": 0, 242 | "maxComputeBufferInputsHull": 0, 243 | "maxComputeBufferInputsCompute": 0, 244 | "maxComputeWorkGroupSize": 0, 245 | "maxComputeWorkGroupSizeX": 0, 246 | "maxComputeWorkGroupSizeY": 0, 247 | "maxComputeWorkGroupSizeZ": 0, 248 | "supportsAsyncCompute": false, 249 | "supportsGraphicsFence": true, 250 | "supportsAsyncGPUReadback": false, 251 | "supportsRayTracing": false, 252 | "supportsSetConstantBuffer": false, 253 | "minConstantBufferOffsetAlignment": false, 254 | "hasMipMaxLevel": false, 255 | "supportsMipStreaming": true, 256 | "usesLoadStoreActions": true, 257 | "supportedTextureFormats": [], 258 | "supportedRenderTextureFormats": [], 259 | "ldrGraphicsFormat": 0, 260 | "hdrGraphicsFormat": 0 261 | } 262 | ] 263 | } 264 | } -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Google Pixel 4.device.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a89233265b03e4a439458638ad877f9c 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Google Pixel 4_Overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/LocalPhoneDef/Google Pixel 4_Overlay.png -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Google Pixel 4_Overlay.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93d668bd9b06055499dd53180ac12bb2 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/README.md: -------------------------------------------------------------------------------- 1 | These device definitions are to illustrate how you can extend the list of device with custom definitions. 2 | They are not verified to be accurrate or complete. 3 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: abb2e90e9473aca4e93b9eddd1d2ab24 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Samsung Fold Closed.device.json: -------------------------------------------------------------------------------- 1 | { 2 | "friendlyName": "Samsung Galaxy Fold-Closed", 3 | "version": 1, 4 | "Screens": [ 5 | { 6 | "width": 840, 7 | "height": 1960, 8 | "navigationBarHeight": 126, 9 | "dpi": 420.0, 10 | "orientations": [ 11 | { 12 | "orientation": 1, 13 | "safeArea": { 14 | "serializedVersion": "2", 15 | "x": 0.0, 16 | "y": 0.0, 17 | "width": 840.0, 18 | "height": 1960.0 19 | }, 20 | "cutouts": [] 21 | }, 22 | { 23 | "orientation": 2, 24 | "safeArea": { 25 | "serializedVersion": "2", 26 | "x": 0.0, 27 | "y": 0.0, 28 | "width": 840.0, 29 | "height": 1960.0 30 | }, 31 | "cutouts": [] 32 | }, 33 | { 34 | "orientation": 3, 35 | "safeArea": { 36 | "serializedVersion": "2", 37 | "x": 0.0, 38 | "y": 0.0, 39 | "width": 1960.0, 40 | "height": 840.0 41 | }, 42 | "cutouts": [] 43 | }, 44 | { 45 | "orientation": 4, 46 | "safeArea": { 47 | "serializedVersion": "2", 48 | "x": 0.0, 49 | "y": 0.0, 50 | "width": 1960.0, 51 | "height": 840.0 52 | }, 53 | "cutouts": [] 54 | } 55 | ], 56 | "presentation": { 57 | "overlayPath": "Samsung Fold Closed_Overlay.png", 58 | "borderSize": { 59 | "x": 66.0, 60 | "y": 413.0, 61 | "z": 66.0, 62 | "w": 413.0 63 | }, 64 | "cornerRadius": 17.0 65 | } 66 | } 67 | ], 68 | "SystemInfo": { 69 | "deviceModel": "samsung SM-F900F", 70 | "deviceType": 1, 71 | "operatingSystem": "Android OS 10 / API-29", 72 | "operatingSystemFamily": 0, 73 | "processorCount": 8, 74 | "processorFrequency": 5683, 75 | "processorType": "ARM64 FP ASIMD AES", 76 | "supportsAccelerometer": true, 77 | "supportsAudio": true, 78 | "supportsGyroscope": true, 79 | "supportsLocationService": true, 80 | "supportsVibration": true, 81 | "systemMemorySize": 11445, 82 | "unsupportedIdentifier": "n/a", 83 | "graphicsDependentData": [ 84 | { 85 | "graphicsDeviceType": 11, 86 | "graphicsMemorySize": 4096, 87 | "graphicsDeviceName": "Adreno (TM) 640", 88 | "graphicsDeviceVendor": "Qualcomm", 89 | "graphicsDeviceID": 0, 90 | "graphicsDeviceVendorID": 0, 91 | "graphicsUVStartsAtTop": false, 92 | "graphicsDeviceVersion": "OpenGL ES 3.2", 93 | "graphicsShaderLevel": 50, 94 | "graphicsMultiThreaded": true, 95 | "renderingThreadingMode": 0, 96 | "hasHiddenSurfaceRemovalOnGPU": true, 97 | "hasDynamicUniformArrayIndexingInFragmentShaders": true, 98 | "supportsShadows": true, 99 | "supportsRawShadowDepthSampling": true, 100 | "supportsMotionVectors": true, 101 | "supports3DTextures": true, 102 | "supports2DArrayTextures": true, 103 | "supports3DRenderTextures": true, 104 | "supportsCubemapArrayTextures": true, 105 | "copyTextureSupport": 31, 106 | "supportsComputeShaders": true, 107 | "supportsGeometryShaders": true, 108 | "supportsTessellationShaders": true, 109 | "supportsInstancing": true, 110 | "supportsHardwareQuadTopology": false, 111 | "supports32bitsIndexBuffer": true, 112 | "supportsSparseTextures": false, 113 | "supportedRenderTargetCount": 8, 114 | "supportsSeparatedRenderTargetsBlend": true, 115 | "supportedRandomWriteTargetCount": 20, 116 | "supportsMultisampledTextures": 1, 117 | "supportsMultisampleAutoResolve": true, 118 | "supportsTextureWrapMirrorOnce": 0, 119 | "usesReversedZBuffer": false, 120 | "npotSupport": 2, 121 | "maxTextureSize": 16384, 122 | "maxCubemapSize": 16384, 123 | "maxComputeBufferInputsVertex": 4, 124 | "maxComputeBufferInputsFragment": 4, 125 | "maxComputeBufferInputsGeometry": 4, 126 | "maxComputeBufferInputsDomain": 4, 127 | "maxComputeBufferInputsHull": 4, 128 | "maxComputeBufferInputsCompute": 24, 129 | "maxComputeWorkGroupSize": 1024, 130 | "maxComputeWorkGroupSizeX": 1024, 131 | "maxComputeWorkGroupSizeY": 1024, 132 | "maxComputeWorkGroupSizeZ": 64, 133 | "supportsAsyncCompute": false, 134 | "supportsGraphicsFence": true, 135 | "supportsAsyncGPUReadback": false, 136 | "supportsRayTracing": false, 137 | "supportsSetConstantBuffer": true, 138 | "minConstantBufferOffsetAlignment": true, 139 | "hasMipMaxLevel": true, 140 | "supportsMipStreaming": true, 141 | "usesLoadStoreActions": true, 142 | "supportedTextureFormats": [ 143 | 1, 144 | 2, 145 | 3, 146 | 4, 147 | 5, 148 | 7, 149 | 9, 150 | 13, 151 | 14, 152 | 15, 153 | 16, 154 | 17, 155 | 18, 156 | 19, 157 | 20, 158 | 21, 159 | 22, 160 | 34, 161 | 41, 162 | 42, 163 | 43, 164 | 44, 165 | 45, 166 | 46, 167 | 47, 168 | 48, 169 | 49, 170 | 50, 171 | 51, 172 | 52, 173 | 53, 174 | 62, 175 | 63, 176 | 64, 177 | 65, 178 | 66, 179 | 67, 180 | 68, 181 | 69, 182 | 70, 183 | 71, 184 | 48, 185 | 49, 186 | 50, 187 | 51, 188 | 52, 189 | 53 190 | ], 191 | "supportedRenderTextureFormats": [ 192 | 0, 193 | 1, 194 | 2, 195 | 3, 196 | 4, 197 | 5, 198 | 6, 199 | 7, 200 | 8, 201 | 9, 202 | 10, 203 | 11, 204 | 12, 205 | 13, 206 | 14, 207 | 15, 208 | 16, 209 | 17, 210 | 18, 211 | 19, 212 | 20, 213 | 22, 214 | 23, 215 | 24, 216 | 25, 217 | 26, 218 | 27, 219 | 28 220 | ], 221 | "ldrGraphicsFormat": 8, 222 | "hdrGraphicsFormat": 48 223 | } 224 | ] 225 | } 226 | } -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Samsung Fold Closed.device.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9615a90767fc3334c91cb8d82a78775f 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Samsung Fold Closed_Overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/LocalPhoneDef/Samsung Fold Closed_Overlay.png -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Samsung Fold Closed_Overlay.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44b6fc6a7753bc340a06053624d6a7a7 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Samsung Fold Opened.device.json: -------------------------------------------------------------------------------- 1 | { 2 | "friendlyName": "Samsung Galaxy Fold-Opened", 3 | "version": 1, 4 | "Screens": [ 5 | { 6 | "width": 1536, 7 | "height": 2152, 8 | "navigationBarHeight": 22, 9 | "dpi": 420.0, 10 | "orientations": [ 11 | { 12 | "orientation": 1, 13 | "safeArea": { 14 | "serializedVersion": "2", 15 | "x": 0.0, 16 | "y": 0.0, 17 | "width": 1536.0, 18 | "height": 2048.0 19 | }, 20 | "cutouts": [ 21 | { 22 | "serializedVersion": "2", 23 | "x": 948.0, 24 | "y": 2048.0, 25 | "width": 588.0, 26 | "height": 104.0 27 | } 28 | ] 29 | }, 30 | { 31 | "orientation": 2, 32 | "safeArea": { 33 | "serializedVersion": "2", 34 | "x": 0.0, 35 | "y": 104.0, 36 | "width": 1536.0, 37 | "height": 2048.0 38 | }, 39 | "cutouts": [ 40 | { 41 | "serializedVersion": "2", 42 | "x": 0.0, 43 | "y": 0.0, 44 | "width": 588.0, 45 | "height": 104.0 46 | } 47 | ] 48 | }, 49 | { 50 | "orientation": 3, 51 | "safeArea": { 52 | "serializedVersion": "2", 53 | "x": 104.0, 54 | "y": 0.0, 55 | "width": 2048.0, 56 | "height": 1536.0 57 | }, 58 | "cutouts": [ 59 | { 60 | "serializedVersion": "2", 61 | "x": 0.0, 62 | "y": 948.0, 63 | "width": 104.0, 64 | "height": 588.0 65 | } 66 | ] 67 | }, 68 | { 69 | "orientation": 4, 70 | "safeArea": { 71 | "serializedVersion": "2", 72 | "x": 0.0, 73 | "y": 0.0, 74 | "width": 2048.0, 75 | "height": 1536.0 76 | }, 77 | "cutouts": [ 78 | { 79 | "serializedVersion": "2", 80 | "x": 2048.0, 81 | "y": 0.0, 82 | "width": 104.0, 83 | "height": 588.0 84 | } 85 | ] 86 | } 87 | ], 88 | "presentation": { 89 | "overlayPath": "Samsung Fold Opened_Overlay.png", 90 | "borderSize": { 91 | "x": 66.0, 92 | "y": 66.0, 93 | "z": 66.0, 94 | "w": 66.0 95 | }, 96 | "cornerRadius": 17.0 97 | } 98 | } 99 | ], 100 | "SystemInfo": { 101 | "deviceModel": "samsung SM-F900F", 102 | "deviceType": 1, 103 | "operatingSystem": "Android OS 10 / API-29", 104 | "operatingSystemFamily": 0, 105 | "processorCount": 8, 106 | "processorFrequency": 5683, 107 | "processorType": "ARM64 FP ASIMD AES", 108 | "supportsAccelerometer": true, 109 | "supportsAudio": true, 110 | "supportsGyroscope": true, 111 | "supportsLocationService": true, 112 | "supportsVibration": true, 113 | "systemMemorySize": 11445, 114 | "unsupportedIdentifier": "n/a", 115 | "graphicsDependentData": [ 116 | { 117 | "graphicsDeviceType": 11, 118 | "graphicsMemorySize": 4096, 119 | "graphicsDeviceName": "Adreno (TM) 640", 120 | "graphicsDeviceVendor": "Qualcomm", 121 | "graphicsDeviceID": 0, 122 | "graphicsDeviceVendorID": 0, 123 | "graphicsUVStartsAtTop": false, 124 | "graphicsDeviceVersion": "OpenGL ES 3.2", 125 | "graphicsShaderLevel": 50, 126 | "graphicsMultiThreaded": true, 127 | "renderingThreadingMode": 0, 128 | "hasHiddenSurfaceRemovalOnGPU": true, 129 | "hasDynamicUniformArrayIndexingInFragmentShaders": true, 130 | "supportsShadows": true, 131 | "supportsRawShadowDepthSampling": true, 132 | "supportsMotionVectors": true, 133 | "supports3DTextures": true, 134 | "supports2DArrayTextures": true, 135 | "supports3DRenderTextures": true, 136 | "supportsCubemapArrayTextures": true, 137 | "copyTextureSupport": 31, 138 | "supportsComputeShaders": true, 139 | "supportsGeometryShaders": true, 140 | "supportsTessellationShaders": true, 141 | "supportsInstancing": true, 142 | "supportsHardwareQuadTopology": false, 143 | "supports32bitsIndexBuffer": true, 144 | "supportsSparseTextures": false, 145 | "supportedRenderTargetCount": 8, 146 | "supportsSeparatedRenderTargetsBlend": true, 147 | "supportedRandomWriteTargetCount": 20, 148 | "supportsMultisampledTextures": 1, 149 | "supportsMultisampleAutoResolve": true, 150 | "supportsTextureWrapMirrorOnce": 0, 151 | "usesReversedZBuffer": false, 152 | "npotSupport": 2, 153 | "maxTextureSize": 16384, 154 | "maxCubemapSize": 16384, 155 | "maxComputeBufferInputsVertex": 4, 156 | "maxComputeBufferInputsFragment": 4, 157 | "maxComputeBufferInputsGeometry": 4, 158 | "maxComputeBufferInputsDomain": 4, 159 | "maxComputeBufferInputsHull": 4, 160 | "maxComputeBufferInputsCompute": 24, 161 | "maxComputeWorkGroupSize": 1024, 162 | "maxComputeWorkGroupSizeX": 1024, 163 | "maxComputeWorkGroupSizeY": 1024, 164 | "maxComputeWorkGroupSizeZ": 64, 165 | "supportsAsyncCompute": false, 166 | "supportsGraphicsFence": true, 167 | "supportsAsyncGPUReadback": false, 168 | "supportsRayTracing": false, 169 | "supportsSetConstantBuffer": true, 170 | "minConstantBufferOffsetAlignment": true, 171 | "hasMipMaxLevel": true, 172 | "supportsMipStreaming": true, 173 | "usesLoadStoreActions": true, 174 | "supportedTextureFormats": [ 175 | 1, 176 | 2, 177 | 3, 178 | 4, 179 | 5, 180 | 7, 181 | 9, 182 | 13, 183 | 14, 184 | 15, 185 | 16, 186 | 17, 187 | 18, 188 | 19, 189 | 20, 190 | 21, 191 | 22, 192 | 34, 193 | 41, 194 | 42, 195 | 43, 196 | 44, 197 | 45, 198 | 46, 199 | 47, 200 | 48, 201 | 49, 202 | 50, 203 | 51, 204 | 52, 205 | 53, 206 | 62, 207 | 63, 208 | 64, 209 | 65, 210 | 66, 211 | 67, 212 | 68, 213 | 69, 214 | 70, 215 | 71, 216 | 48, 217 | 49, 218 | 50, 219 | 51, 220 | 52, 221 | 53 222 | ], 223 | "supportedRenderTextureFormats": [ 224 | 0, 225 | 1, 226 | 2, 227 | 3, 228 | 4, 229 | 5, 230 | 6, 231 | 7, 232 | 8, 233 | 9, 234 | 10, 235 | 11, 236 | 12, 237 | 13, 238 | 14, 239 | 15, 240 | 16, 241 | 17, 242 | 18, 243 | 19, 244 | 20, 245 | 22, 246 | 23, 247 | 24, 248 | 25, 249 | 26, 250 | 27, 251 | 28 252 | ], 253 | "ldrGraphicsFormat": 8, 254 | "hdrGraphicsFormat": 48 255 | } 256 | ] 257 | } 258 | } -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Samsung Fold Opened.device.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb0d1eba25c913a47a695c66896a0e15 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Samsung Fold Opened_Overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/LocalPhoneDef/Samsung Fold Opened_Overlay.png -------------------------------------------------------------------------------- /Assets/LocalPhoneDef/Samsung Fold Opened_Overlay.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e8f0b083e7677c40b00eea07148d48b 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0213ffec251a40d418d4c22cf8f37c97 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 680d98a47713bc34589d4a85cce5ecb7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/AndroidManifest.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d2cc4e57f34420478e391967063b75a 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b105d9b525a670441b5f23d5cb0c0ad0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/Android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/Prefabs/Android.png -------------------------------------------------------------------------------- /Assets/Prefabs/Android.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f36b15cbd2db404ba3af3df69462471 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Assets/Prefabs/NetworkReach.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class NetworkReach : MonoBehaviour 6 | { 7 | public UnityEngine.UI.Image InternetOnIcon; 8 | public UnityEngine.UI.Image InternetOffIcon; 9 | public UnityEngine.UI.Image CellIcon; 10 | public UnityEngine.UI.Image WifiIcon; 11 | 12 | // Update is called once per frame 13 | void Update() 14 | { 15 | //Check if the device can reach the internet 16 | if (Application.internetReachability == NetworkReachability.NotReachable) 17 | { 18 | //Not Reachable. 19 | InternetOffIcon.enabled = true; 20 | InternetOnIcon.enabled=false; 21 | 22 | CellIcon.enabled = false; 23 | WifiIcon.enabled = false; 24 | 25 | } 26 | //Check if the device can reach the internet via a carrier data network 27 | else if (Application.internetReachability == NetworkReachability.ReachableViaCarrierDataNetwork) 28 | { 29 | // Reachable via carrier data network. 30 | InternetOffIcon.enabled = false; 31 | InternetOnIcon.enabled = true; 32 | CellIcon.enabled = true; 33 | WifiIcon.enabled = false; 34 | } 35 | //Check if the device can reach the internet via a LAN 36 | else if (Application.internetReachability == NetworkReachability.ReachableViaLocalAreaNetwork) 37 | { 38 | // Reachable via Local Area Network.; 39 | InternetOffIcon.enabled = false; 40 | InternetOnIcon.enabled = true; 41 | CellIcon.enabled = false; 42 | WifiIcon.enabled = true; 43 | } 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Assets/Prefabs/NetworkReach.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b01b99f73e026fb419558a5fb35ff008 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Prefabs/NetworkReach.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &7340107244102802555 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 7340107244102802554} 12 | - component: {fileID: 7340107244102802552} 13 | - component: {fileID: 7340107244102802553} 14 | m_Layer: 5 15 | m_Name: Cell 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!224 &7340107244102802554 22 | RectTransform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 7340107244102802555} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 7340107245546670724} 33 | m_RootOrder: 2 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | m_AnchorMin: {x: 0.5, y: 0.5} 36 | m_AnchorMax: {x: 0.5, y: 0.5} 37 | m_AnchoredPosition: {x: 50, y: 0} 38 | m_SizeDelta: {x: 100, y: 100} 39 | m_Pivot: {x: 0.5, y: 0.5} 40 | --- !u!222 &7340107244102802552 41 | CanvasRenderer: 42 | m_ObjectHideFlags: 0 43 | m_CorrespondingSourceObject: {fileID: 0} 44 | m_PrefabInstance: {fileID: 0} 45 | m_PrefabAsset: {fileID: 0} 46 | m_GameObject: {fileID: 7340107244102802555} 47 | m_CullTransparentMesh: 0 48 | --- !u!114 &7340107244102802553 49 | MonoBehaviour: 50 | m_ObjectHideFlags: 0 51 | m_CorrespondingSourceObject: {fileID: 0} 52 | m_PrefabInstance: {fileID: 0} 53 | m_PrefabAsset: {fileID: 0} 54 | m_GameObject: {fileID: 7340107244102802555} 55 | m_Enabled: 1 56 | m_EditorHideFlags: 0 57 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 58 | m_Name: 59 | m_EditorClassIdentifier: 60 | m_Material: {fileID: 0} 61 | m_Color: {r: 1, g: 1, b: 1, a: 1} 62 | m_RaycastTarget: 1 63 | m_OnCullStateChanged: 64 | m_PersistentCalls: 65 | m_Calls: [] 66 | m_Sprite: {fileID: 21300000, guid: 1de65f4aeae5ed64bb2ca955a2868cc5, type: 3} 67 | m_Type: 0 68 | m_PreserveAspect: 0 69 | m_FillCenter: 1 70 | m_FillMethod: 4 71 | m_FillAmount: 1 72 | m_FillClockwise: 1 73 | m_FillOrigin: 0 74 | m_UseSpriteMesh: 0 75 | m_PixelsPerUnitMultiplier: 1 76 | --- !u!1 &7340107244505702493 77 | GameObject: 78 | m_ObjectHideFlags: 0 79 | m_CorrespondingSourceObject: {fileID: 0} 80 | m_PrefabInstance: {fileID: 0} 81 | m_PrefabAsset: {fileID: 0} 82 | serializedVersion: 6 83 | m_Component: 84 | - component: {fileID: 7340107244505702492} 85 | - component: {fileID: 7340107244505702482} 86 | - component: {fileID: 7340107244505702483} 87 | m_Layer: 5 88 | m_Name: Wifi 89 | m_TagString: Untagged 90 | m_Icon: {fileID: 0} 91 | m_NavMeshLayer: 0 92 | m_StaticEditorFlags: 0 93 | m_IsActive: 1 94 | --- !u!224 &7340107244505702492 95 | RectTransform: 96 | m_ObjectHideFlags: 0 97 | m_CorrespondingSourceObject: {fileID: 0} 98 | m_PrefabInstance: {fileID: 0} 99 | m_PrefabAsset: {fileID: 0} 100 | m_GameObject: {fileID: 7340107244505702493} 101 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 102 | m_LocalPosition: {x: 0, y: 0, z: 0} 103 | m_LocalScale: {x: 1, y: 1, z: 1} 104 | m_Children: [] 105 | m_Father: {fileID: 7340107245546670724} 106 | m_RootOrder: 3 107 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 108 | m_AnchorMin: {x: 0.5, y: 0.5} 109 | m_AnchorMax: {x: 0.5, y: 0.5} 110 | m_AnchoredPosition: {x: 50, y: 0} 111 | m_SizeDelta: {x: 100, y: 100} 112 | m_Pivot: {x: 0.5, y: 0.5} 113 | --- !u!222 &7340107244505702482 114 | CanvasRenderer: 115 | m_ObjectHideFlags: 0 116 | m_CorrespondingSourceObject: {fileID: 0} 117 | m_PrefabInstance: {fileID: 0} 118 | m_PrefabAsset: {fileID: 0} 119 | m_GameObject: {fileID: 7340107244505702493} 120 | m_CullTransparentMesh: 0 121 | --- !u!114 &7340107244505702483 122 | MonoBehaviour: 123 | m_ObjectHideFlags: 0 124 | m_CorrespondingSourceObject: {fileID: 0} 125 | m_PrefabInstance: {fileID: 0} 126 | m_PrefabAsset: {fileID: 0} 127 | m_GameObject: {fileID: 7340107244505702493} 128 | m_Enabled: 1 129 | m_EditorHideFlags: 0 130 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 131 | m_Name: 132 | m_EditorClassIdentifier: 133 | m_Material: {fileID: 0} 134 | m_Color: {r: 1, g: 1, b: 1, a: 1} 135 | m_RaycastTarget: 1 136 | m_OnCullStateChanged: 137 | m_PersistentCalls: 138 | m_Calls: [] 139 | m_Sprite: {fileID: 21300000, guid: 839688634d0bc20419794bc984aa86ae, type: 3} 140 | m_Type: 0 141 | m_PreserveAspect: 0 142 | m_FillCenter: 1 143 | m_FillMethod: 4 144 | m_FillAmount: 1 145 | m_FillClockwise: 1 146 | m_FillOrigin: 0 147 | m_UseSpriteMesh: 0 148 | m_PixelsPerUnitMultiplier: 1 149 | --- !u!1 &7340107245374169978 150 | GameObject: 151 | m_ObjectHideFlags: 0 152 | m_CorrespondingSourceObject: {fileID: 0} 153 | m_PrefabInstance: {fileID: 0} 154 | m_PrefabAsset: {fileID: 0} 155 | serializedVersion: 6 156 | m_Component: 157 | - component: {fileID: 7340107245374169977} 158 | - component: {fileID: 7340107245374169983} 159 | - component: {fileID: 7340107245374169976} 160 | m_Layer: 5 161 | m_Name: InternetOff 162 | m_TagString: Untagged 163 | m_Icon: {fileID: 0} 164 | m_NavMeshLayer: 0 165 | m_StaticEditorFlags: 0 166 | m_IsActive: 1 167 | --- !u!224 &7340107245374169977 168 | RectTransform: 169 | m_ObjectHideFlags: 0 170 | m_CorrespondingSourceObject: {fileID: 0} 171 | m_PrefabInstance: {fileID: 0} 172 | m_PrefabAsset: {fileID: 0} 173 | m_GameObject: {fileID: 7340107245374169978} 174 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 175 | m_LocalPosition: {x: 0, y: 0, z: 0} 176 | m_LocalScale: {x: 1, y: 1, z: 1} 177 | m_Children: [] 178 | m_Father: {fileID: 7340107245546670724} 179 | m_RootOrder: 1 180 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 181 | m_AnchorMin: {x: 0.5, y: 0.5} 182 | m_AnchorMax: {x: 0.5, y: 0.5} 183 | m_AnchoredPosition: {x: -50, y: 0} 184 | m_SizeDelta: {x: 100, y: 100} 185 | m_Pivot: {x: 0.5, y: 0.5} 186 | --- !u!222 &7340107245374169983 187 | CanvasRenderer: 188 | m_ObjectHideFlags: 0 189 | m_CorrespondingSourceObject: {fileID: 0} 190 | m_PrefabInstance: {fileID: 0} 191 | m_PrefabAsset: {fileID: 0} 192 | m_GameObject: {fileID: 7340107245374169978} 193 | m_CullTransparentMesh: 0 194 | --- !u!114 &7340107245374169976 195 | MonoBehaviour: 196 | m_ObjectHideFlags: 0 197 | m_CorrespondingSourceObject: {fileID: 0} 198 | m_PrefabInstance: {fileID: 0} 199 | m_PrefabAsset: {fileID: 0} 200 | m_GameObject: {fileID: 7340107245374169978} 201 | m_Enabled: 1 202 | m_EditorHideFlags: 0 203 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 204 | m_Name: 205 | m_EditorClassIdentifier: 206 | m_Material: {fileID: 0} 207 | m_Color: {r: 1, g: 1, b: 1, a: 1} 208 | m_RaycastTarget: 1 209 | m_OnCullStateChanged: 210 | m_PersistentCalls: 211 | m_Calls: [] 212 | m_Sprite: {fileID: 21300000, guid: 9a16e09facd8ad34681e8ff085095aa8, type: 3} 213 | m_Type: 0 214 | m_PreserveAspect: 0 215 | m_FillCenter: 1 216 | m_FillMethod: 4 217 | m_FillAmount: 1 218 | m_FillClockwise: 1 219 | m_FillOrigin: 0 220 | m_UseSpriteMesh: 0 221 | m_PixelsPerUnitMultiplier: 1 222 | --- !u!1 &7340107245546670725 223 | GameObject: 224 | m_ObjectHideFlags: 0 225 | m_CorrespondingSourceObject: {fileID: 0} 226 | m_PrefabInstance: {fileID: 0} 227 | m_PrefabAsset: {fileID: 0} 228 | serializedVersion: 6 229 | m_Component: 230 | - component: {fileID: 7340107245546670724} 231 | - component: {fileID: 7340107245546670745} 232 | - component: {fileID: 7340107245546670746} 233 | - component: {fileID: 7340107245546670747} 234 | m_Layer: 5 235 | m_Name: NetworkReach 236 | m_TagString: Untagged 237 | m_Icon: {fileID: 0} 238 | m_NavMeshLayer: 0 239 | m_StaticEditorFlags: 0 240 | m_IsActive: 1 241 | --- !u!224 &7340107245546670724 242 | RectTransform: 243 | m_ObjectHideFlags: 0 244 | m_CorrespondingSourceObject: {fileID: 0} 245 | m_PrefabInstance: {fileID: 0} 246 | m_PrefabAsset: {fileID: 0} 247 | m_GameObject: {fileID: 7340107245546670725} 248 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 249 | m_LocalPosition: {x: 0, y: 0, z: 0} 250 | m_LocalScale: {x: 1, y: 1, z: 1} 251 | m_Children: 252 | - {fileID: 7340107245565983899} 253 | - {fileID: 7340107245374169977} 254 | - {fileID: 7340107244102802554} 255 | - {fileID: 7340107244505702492} 256 | m_Father: {fileID: 0} 257 | m_RootOrder: 0 258 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 259 | m_AnchorMin: {x: 0.5, y: 1} 260 | m_AnchorMax: {x: 0.5, y: 1} 261 | m_AnchoredPosition: {x: 221, y: -71} 262 | m_SizeDelta: {x: -220.5, y: 119} 263 | m_Pivot: {x: 0.5, y: 0.5} 264 | --- !u!222 &7340107245546670745 265 | CanvasRenderer: 266 | m_ObjectHideFlags: 0 267 | m_CorrespondingSourceObject: {fileID: 0} 268 | m_PrefabInstance: {fileID: 0} 269 | m_PrefabAsset: {fileID: 0} 270 | m_GameObject: {fileID: 7340107245546670725} 271 | m_CullTransparentMesh: 0 272 | --- !u!114 &7340107245546670746 273 | MonoBehaviour: 274 | m_ObjectHideFlags: 0 275 | m_CorrespondingSourceObject: {fileID: 0} 276 | m_PrefabInstance: {fileID: 0} 277 | m_PrefabAsset: {fileID: 0} 278 | m_GameObject: {fileID: 7340107245546670725} 279 | m_Enabled: 1 280 | m_EditorHideFlags: 0 281 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 282 | m_Name: 283 | m_EditorClassIdentifier: 284 | m_Material: {fileID: 0} 285 | m_Color: {r: 1, g: 1, b: 1, a: 0} 286 | m_RaycastTarget: 1 287 | m_OnCullStateChanged: 288 | m_PersistentCalls: 289 | m_Calls: [] 290 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 291 | m_Type: 1 292 | m_PreserveAspect: 0 293 | m_FillCenter: 1 294 | m_FillMethod: 4 295 | m_FillAmount: 1 296 | m_FillClockwise: 1 297 | m_FillOrigin: 0 298 | m_UseSpriteMesh: 0 299 | m_PixelsPerUnitMultiplier: 1 300 | --- !u!114 &7340107245546670747 301 | MonoBehaviour: 302 | m_ObjectHideFlags: 0 303 | m_CorrespondingSourceObject: {fileID: 0} 304 | m_PrefabInstance: {fileID: 0} 305 | m_PrefabAsset: {fileID: 0} 306 | m_GameObject: {fileID: 7340107245546670725} 307 | m_Enabled: 1 308 | m_EditorHideFlags: 0 309 | m_Script: {fileID: 11500000, guid: b01b99f73e026fb419558a5fb35ff008, type: 3} 310 | m_Name: 311 | m_EditorClassIdentifier: 312 | InternetOnIcon: {fileID: 7340107245565983898} 313 | InternetOffIcon: {fileID: 7340107245374169976} 314 | CellIcon: {fileID: 7340107244102802553} 315 | WifiIcon: {fileID: 7340107244505702483} 316 | --- !u!1 &7340107245565983876 317 | GameObject: 318 | m_ObjectHideFlags: 0 319 | m_CorrespondingSourceObject: {fileID: 0} 320 | m_PrefabInstance: {fileID: 0} 321 | m_PrefabAsset: {fileID: 0} 322 | serializedVersion: 6 323 | m_Component: 324 | - component: {fileID: 7340107245565983899} 325 | - component: {fileID: 7340107245565983897} 326 | - component: {fileID: 7340107245565983898} 327 | m_Layer: 5 328 | m_Name: InternetOn 329 | m_TagString: Untagged 330 | m_Icon: {fileID: 0} 331 | m_NavMeshLayer: 0 332 | m_StaticEditorFlags: 0 333 | m_IsActive: 1 334 | --- !u!224 &7340107245565983899 335 | RectTransform: 336 | m_ObjectHideFlags: 0 337 | m_CorrespondingSourceObject: {fileID: 0} 338 | m_PrefabInstance: {fileID: 0} 339 | m_PrefabAsset: {fileID: 0} 340 | m_GameObject: {fileID: 7340107245565983876} 341 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 342 | m_LocalPosition: {x: 0, y: 0, z: 0} 343 | m_LocalScale: {x: 1, y: 1, z: 1} 344 | m_Children: [] 345 | m_Father: {fileID: 7340107245546670724} 346 | m_RootOrder: 0 347 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 348 | m_AnchorMin: {x: 0.5, y: 0.5} 349 | m_AnchorMax: {x: 0.5, y: 0.5} 350 | m_AnchoredPosition: {x: -50, y: 0} 351 | m_SizeDelta: {x: 100, y: 100} 352 | m_Pivot: {x: 0.5, y: 0.5} 353 | --- !u!222 &7340107245565983897 354 | CanvasRenderer: 355 | m_ObjectHideFlags: 0 356 | m_CorrespondingSourceObject: {fileID: 0} 357 | m_PrefabInstance: {fileID: 0} 358 | m_PrefabAsset: {fileID: 0} 359 | m_GameObject: {fileID: 7340107245565983876} 360 | m_CullTransparentMesh: 0 361 | --- !u!114 &7340107245565983898 362 | MonoBehaviour: 363 | m_ObjectHideFlags: 0 364 | m_CorrespondingSourceObject: {fileID: 0} 365 | m_PrefabInstance: {fileID: 0} 366 | m_PrefabAsset: {fileID: 0} 367 | m_GameObject: {fileID: 7340107245565983876} 368 | m_Enabled: 1 369 | m_EditorHideFlags: 0 370 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 371 | m_Name: 372 | m_EditorClassIdentifier: 373 | m_Material: {fileID: 0} 374 | m_Color: {r: 1, g: 1, b: 1, a: 1} 375 | m_RaycastTarget: 1 376 | m_OnCullStateChanged: 377 | m_PersistentCalls: 378 | m_Calls: [] 379 | m_Sprite: {fileID: 21300000, guid: 75156ec251b36b544948584ebcba917a, type: 3} 380 | m_Type: 0 381 | m_PreserveAspect: 0 382 | m_FillCenter: 1 383 | m_FillMethod: 4 384 | m_FillAmount: 1 385 | m_FillClockwise: 1 386 | m_FillOrigin: 0 387 | m_UseSpriteMesh: 0 388 | m_PixelsPerUnitMultiplier: 1 389 | -------------------------------------------------------------------------------- /Assets/Prefabs/NetworkReach.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 504efe1a162ebb44e88eb04567410265 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Prefabs/PlatformLogoSwitch.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | public class PlatformLogoSwitch : MonoBehaviour { 7 | 8 | public UnityEngine.UI.Image Unity_Editor; 9 | public UnityEngine.UI.Image Android; 10 | public UnityEngine.UI.Image iOS; 11 | private string CurrentOS=""; 12 | 13 | // Update is called once per frame 14 | void Update () { 15 | //Check if OS has changed 16 | if (CurrentOS != SystemInfo.operatingSystem) 17 | { 18 | CurrentOS = SystemInfo.operatingSystem; 19 | int platID = (CurrentOS.StartsWith("Android") == true) ? 1 : 20 | (CurrentOS.StartsWith("iOS") == true) ? 2 : 0; 21 | SetPlatform(platID); 22 | } 23 | } 24 | 25 | private void SetPlatform(int id) 26 | { 27 | switch (id) 28 | { 29 | case 0: 30 | Unity_Editor.enabled = true; 31 | Android.enabled = false; 32 | iOS.enabled = false; 33 | break; 34 | case 1: 35 | Unity_Editor.enabled = false; 36 | Android.enabled = true; 37 | iOS.enabled = false; 38 | break; 39 | case 2: 40 | Unity_Editor.enabled = false; 41 | Android.enabled = false; 42 | iOS.enabled = true; 43 | break; 44 | default: 45 | break; 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Assets/Prefabs/PlatformLogoSwitch.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ce70df5a540f524b907e51dd8ffedad 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Prefabs/PlatformLogos.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &1682789449513142064 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 1682789449513142067} 12 | - component: {fileID: 1682789449513142077} 13 | - component: {fileID: 1682789449513142066} 14 | m_Layer: 5 15 | m_Name: iOS 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!224 &1682789449513142067 22 | RectTransform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 1682789449513142064} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 5828009427694900028} 33 | m_RootOrder: 2 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | m_AnchorMin: {x: 0.5, y: 0.5} 36 | m_AnchorMax: {x: 0.5, y: 0.5} 37 | m_AnchoredPosition: {x: -50, y: 0} 38 | m_SizeDelta: {x: 100, y: 100} 39 | m_Pivot: {x: 0.5, y: 0.5} 40 | --- !u!222 &1682789449513142077 41 | CanvasRenderer: 42 | m_ObjectHideFlags: 0 43 | m_CorrespondingSourceObject: {fileID: 0} 44 | m_PrefabInstance: {fileID: 0} 45 | m_PrefabAsset: {fileID: 0} 46 | m_GameObject: {fileID: 1682789449513142064} 47 | m_CullTransparentMesh: 0 48 | --- !u!114 &1682789449513142066 49 | MonoBehaviour: 50 | m_ObjectHideFlags: 0 51 | m_CorrespondingSourceObject: {fileID: 0} 52 | m_PrefabInstance: {fileID: 0} 53 | m_PrefabAsset: {fileID: 0} 54 | m_GameObject: {fileID: 1682789449513142064} 55 | m_Enabled: 0 56 | m_EditorHideFlags: 0 57 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 58 | m_Name: 59 | m_EditorClassIdentifier: 60 | m_Material: {fileID: 0} 61 | m_Color: {r: 1, g: 1, b: 1, a: 1} 62 | m_RaycastTarget: 1 63 | m_OnCullStateChanged: 64 | m_PersistentCalls: 65 | m_Calls: [] 66 | m_Sprite: {fileID: 21300000, guid: b92fd0695ddacf9499d98b8ebe4b5a71, type: 3} 67 | m_Type: 0 68 | m_PreserveAspect: 0 69 | m_FillCenter: 1 70 | m_FillMethod: 4 71 | m_FillAmount: 1 72 | m_FillClockwise: 1 73 | m_FillOrigin: 0 74 | m_UseSpriteMesh: 0 75 | m_PixelsPerUnitMultiplier: 1 76 | --- !u!1 &5828009427676849468 77 | GameObject: 78 | m_ObjectHideFlags: 0 79 | m_CorrespondingSourceObject: {fileID: 0} 80 | m_PrefabInstance: {fileID: 0} 81 | m_PrefabAsset: {fileID: 0} 82 | serializedVersion: 6 83 | m_Component: 84 | - component: {fileID: 5828009427676849443} 85 | - component: {fileID: 5828009427676849441} 86 | - component: {fileID: 5828009427676849442} 87 | m_Layer: 5 88 | m_Name: Unity 89 | m_TagString: Untagged 90 | m_Icon: {fileID: 0} 91 | m_NavMeshLayer: 0 92 | m_StaticEditorFlags: 0 93 | m_IsActive: 1 94 | --- !u!224 &5828009427676849443 95 | RectTransform: 96 | m_ObjectHideFlags: 0 97 | m_CorrespondingSourceObject: {fileID: 0} 98 | m_PrefabInstance: {fileID: 0} 99 | m_PrefabAsset: {fileID: 0} 100 | m_GameObject: {fileID: 5828009427676849468} 101 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 102 | m_LocalPosition: {x: 0, y: 0, z: 0} 103 | m_LocalScale: {x: 1, y: 1, z: 1} 104 | m_Children: [] 105 | m_Father: {fileID: 5828009427694900028} 106 | m_RootOrder: 0 107 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 108 | m_AnchorMin: {x: 0.5, y: 0.5} 109 | m_AnchorMax: {x: 0.5, y: 0.5} 110 | m_AnchoredPosition: {x: -50, y: 0} 111 | m_SizeDelta: {x: 100, y: 100} 112 | m_Pivot: {x: 0.5, y: 0.5} 113 | --- !u!222 &5828009427676849441 114 | CanvasRenderer: 115 | m_ObjectHideFlags: 0 116 | m_CorrespondingSourceObject: {fileID: 0} 117 | m_PrefabInstance: {fileID: 0} 118 | m_PrefabAsset: {fileID: 0} 119 | m_GameObject: {fileID: 5828009427676849468} 120 | m_CullTransparentMesh: 0 121 | --- !u!114 &5828009427676849442 122 | MonoBehaviour: 123 | m_ObjectHideFlags: 0 124 | m_CorrespondingSourceObject: {fileID: 0} 125 | m_PrefabInstance: {fileID: 0} 126 | m_PrefabAsset: {fileID: 0} 127 | m_GameObject: {fileID: 5828009427676849468} 128 | m_Enabled: 1 129 | m_EditorHideFlags: 0 130 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 131 | m_Name: 132 | m_EditorClassIdentifier: 133 | m_Material: {fileID: 0} 134 | m_Color: {r: 1, g: 1, b: 1, a: 1} 135 | m_RaycastTarget: 1 136 | m_OnCullStateChanged: 137 | m_PersistentCalls: 138 | m_Calls: [] 139 | m_Sprite: {fileID: 21300000, guid: e8066910306ee1946b36dec27e27175e, type: 3} 140 | m_Type: 0 141 | m_PreserveAspect: 0 142 | m_FillCenter: 1 143 | m_FillMethod: 4 144 | m_FillAmount: 1 145 | m_FillClockwise: 1 146 | m_FillOrigin: 0 147 | m_UseSpriteMesh: 0 148 | m_PixelsPerUnitMultiplier: 1 149 | --- !u!1 &5828009427694900029 150 | GameObject: 151 | m_ObjectHideFlags: 0 152 | m_CorrespondingSourceObject: {fileID: 0} 153 | m_PrefabInstance: {fileID: 0} 154 | m_PrefabAsset: {fileID: 0} 155 | serializedVersion: 6 156 | m_Component: 157 | - component: {fileID: 5828009427694900028} 158 | - component: {fileID: 5828009427694900001} 159 | - component: {fileID: 5828009427694900002} 160 | - component: {fileID: 5828009427694900031} 161 | m_Layer: 5 162 | m_Name: PlatformLogos 163 | m_TagString: Untagged 164 | m_Icon: {fileID: 0} 165 | m_NavMeshLayer: 0 166 | m_StaticEditorFlags: 0 167 | m_IsActive: 1 168 | --- !u!224 &5828009427694900028 169 | RectTransform: 170 | m_ObjectHideFlags: 0 171 | m_CorrespondingSourceObject: {fileID: 0} 172 | m_PrefabInstance: {fileID: 0} 173 | m_PrefabAsset: {fileID: 0} 174 | m_GameObject: {fileID: 5828009427694900029} 175 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 176 | m_LocalPosition: {x: 0, y: 0, z: 0} 177 | m_LocalScale: {x: 1, y: 1, z: 1} 178 | m_Children: 179 | - {fileID: 5828009427676849443} 180 | - {fileID: 5828009427885177537} 181 | - {fileID: 1682789449513142067} 182 | m_Father: {fileID: 0} 183 | m_RootOrder: 0 184 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 185 | m_AnchorMin: {x: 0.5, y: 1} 186 | m_AnchorMax: {x: 0.5, y: 1} 187 | m_AnchoredPosition: {x: 220.99991, y: -190.00002} 188 | m_SizeDelta: {x: -220.5, y: 119} 189 | m_Pivot: {x: 0.5, y: 0.5} 190 | --- !u!222 &5828009427694900001 191 | CanvasRenderer: 192 | m_ObjectHideFlags: 0 193 | m_CorrespondingSourceObject: {fileID: 0} 194 | m_PrefabInstance: {fileID: 0} 195 | m_PrefabAsset: {fileID: 0} 196 | m_GameObject: {fileID: 5828009427694900029} 197 | m_CullTransparentMesh: 0 198 | --- !u!114 &5828009427694900002 199 | MonoBehaviour: 200 | m_ObjectHideFlags: 0 201 | m_CorrespondingSourceObject: {fileID: 0} 202 | m_PrefabInstance: {fileID: 0} 203 | m_PrefabAsset: {fileID: 0} 204 | m_GameObject: {fileID: 5828009427694900029} 205 | m_Enabled: 1 206 | m_EditorHideFlags: 0 207 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 208 | m_Name: 209 | m_EditorClassIdentifier: 210 | m_Material: {fileID: 0} 211 | m_Color: {r: 1, g: 1, b: 1, a: 0} 212 | m_RaycastTarget: 1 213 | m_OnCullStateChanged: 214 | m_PersistentCalls: 215 | m_Calls: [] 216 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 217 | m_Type: 1 218 | m_PreserveAspect: 0 219 | m_FillCenter: 1 220 | m_FillMethod: 4 221 | m_FillAmount: 1 222 | m_FillClockwise: 1 223 | m_FillOrigin: 0 224 | m_UseSpriteMesh: 0 225 | m_PixelsPerUnitMultiplier: 1 226 | --- !u!114 &5828009427694900031 227 | MonoBehaviour: 228 | m_ObjectHideFlags: 0 229 | m_CorrespondingSourceObject: {fileID: 0} 230 | m_PrefabInstance: {fileID: 0} 231 | m_PrefabAsset: {fileID: 0} 232 | m_GameObject: {fileID: 5828009427694900029} 233 | m_Enabled: 1 234 | m_EditorHideFlags: 0 235 | m_Script: {fileID: 11500000, guid: 0ce70df5a540f524b907e51dd8ffedad, type: 3} 236 | m_Name: 237 | m_EditorClassIdentifier: 238 | Unity_Editor: {fileID: 5828009427676849442} 239 | Android: {fileID: 5828009427885177536} 240 | iOS: {fileID: 1682789449513142066} 241 | --- !u!1 &5828009427885177538 242 | GameObject: 243 | m_ObjectHideFlags: 0 244 | m_CorrespondingSourceObject: {fileID: 0} 245 | m_PrefabInstance: {fileID: 0} 246 | m_PrefabAsset: {fileID: 0} 247 | serializedVersion: 6 248 | m_Component: 249 | - component: {fileID: 5828009427885177537} 250 | - component: {fileID: 5828009427885177543} 251 | - component: {fileID: 5828009427885177536} 252 | m_Layer: 5 253 | m_Name: Android 254 | m_TagString: Untagged 255 | m_Icon: {fileID: 0} 256 | m_NavMeshLayer: 0 257 | m_StaticEditorFlags: 0 258 | m_IsActive: 1 259 | --- !u!224 &5828009427885177537 260 | RectTransform: 261 | m_ObjectHideFlags: 0 262 | m_CorrespondingSourceObject: {fileID: 0} 263 | m_PrefabInstance: {fileID: 0} 264 | m_PrefabAsset: {fileID: 0} 265 | m_GameObject: {fileID: 5828009427885177538} 266 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 267 | m_LocalPosition: {x: 0, y: 0, z: 0} 268 | m_LocalScale: {x: 1, y: 1, z: 1} 269 | m_Children: [] 270 | m_Father: {fileID: 5828009427694900028} 271 | m_RootOrder: 1 272 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 273 | m_AnchorMin: {x: 0.5, y: 0.5} 274 | m_AnchorMax: {x: 0.5, y: 0.5} 275 | m_AnchoredPosition: {x: -50, y: 0} 276 | m_SizeDelta: {x: 100, y: 100} 277 | m_Pivot: {x: 0.5, y: 0.5} 278 | --- !u!222 &5828009427885177543 279 | CanvasRenderer: 280 | m_ObjectHideFlags: 0 281 | m_CorrespondingSourceObject: {fileID: 0} 282 | m_PrefabInstance: {fileID: 0} 283 | m_PrefabAsset: {fileID: 0} 284 | m_GameObject: {fileID: 5828009427885177538} 285 | m_CullTransparentMesh: 0 286 | --- !u!114 &5828009427885177536 287 | MonoBehaviour: 288 | m_ObjectHideFlags: 0 289 | m_CorrespondingSourceObject: {fileID: 0} 290 | m_PrefabInstance: {fileID: 0} 291 | m_PrefabAsset: {fileID: 0} 292 | m_GameObject: {fileID: 5828009427885177538} 293 | m_Enabled: 0 294 | m_EditorHideFlags: 0 295 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 296 | m_Name: 297 | m_EditorClassIdentifier: 298 | m_Material: {fileID: 0} 299 | m_Color: {r: 1, g: 1, b: 1, a: 1} 300 | m_RaycastTarget: 1 301 | m_OnCullStateChanged: 302 | m_PersistentCalls: 303 | m_Calls: [] 304 | m_Sprite: {fileID: 21300000, guid: 9f36b15cbd2db404ba3af3df69462471, type: 3} 305 | m_Type: 0 306 | m_PreserveAspect: 0 307 | m_FillCenter: 1 308 | m_FillMethod: 4 309 | m_FillAmount: 1 310 | m_FillClockwise: 1 311 | m_FillOrigin: 0 312 | m_UseSpriteMesh: 0 313 | m_PixelsPerUnitMultiplier: 1 314 | -------------------------------------------------------------------------------- /Assets/Prefabs/PlatformLogos.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1aa87e6445749eb418ba943853f785cb 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Prefabs/baseline_cloud_done_black_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/Prefabs/baseline_cloud_done_black_18dp.png -------------------------------------------------------------------------------- /Assets/Prefabs/baseline_cloud_done_black_18dp.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75156ec251b36b544948584ebcba917a 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Assets/Prefabs/baseline_cloud_off_black_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/Prefabs/baseline_cloud_off_black_18dp.png -------------------------------------------------------------------------------- /Assets/Prefabs/baseline_cloud_off_black_18dp.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a16e09facd8ad34681e8ff085095aa8 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Assets/Prefabs/baseline_signal_cellular_4_bar_black_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/Prefabs/baseline_signal_cellular_4_bar_black_18dp.png -------------------------------------------------------------------------------- /Assets/Prefabs/baseline_signal_cellular_4_bar_black_18dp.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1de65f4aeae5ed64bb2ca955a2868cc5 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Assets/Prefabs/baseline_signal_wifi_4_bar_black_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/Prefabs/baseline_signal_wifi_4_bar_black_18dp.png -------------------------------------------------------------------------------- /Assets/Prefabs/baseline_signal_wifi_4_bar_black_18dp.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 839688634d0bc20419794bc984aa86ae 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Assets/Prefabs/iOS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/Prefabs/iOS.png -------------------------------------------------------------------------------- /Assets/Prefabs/iOS.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b92fd0695ddacf9499d98b8ebe4b5a71 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Assets/Prefabs/logoUnity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/NotchSafeAreaSample/86347dbbe46001f6bd2d40a7605f0098b1f02f65/Assets/Prefabs/logoUnity.png -------------------------------------------------------------------------------- /Assets/Prefabs/logoUnity.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8066910306ee1946b36dec27e27175e 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a052918768cbd5468135cbc9c9e107f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/DisplayNotchSafeArea.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.24372911, g: 1, b: 0, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 2 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_UseShadowmask: 1 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | debug: 122 | m_Flags: 0 123 | m_NavMeshData: {fileID: 0} 124 | --- !u!1 &129108422 125 | GameObject: 126 | m_ObjectHideFlags: 0 127 | m_CorrespondingSourceObject: {fileID: 0} 128 | m_PrefabInstance: {fileID: 0} 129 | m_PrefabAsset: {fileID: 0} 130 | serializedVersion: 6 131 | m_Component: 132 | - component: {fileID: 129108425} 133 | - component: {fileID: 129108424} 134 | - component: {fileID: 129108423} 135 | m_Layer: 0 136 | m_Name: Main Camera 137 | m_TagString: MainCamera 138 | m_Icon: {fileID: 0} 139 | m_NavMeshLayer: 0 140 | m_StaticEditorFlags: 0 141 | m_IsActive: 1 142 | --- !u!81 &129108423 143 | AudioListener: 144 | m_ObjectHideFlags: 0 145 | m_CorrespondingSourceObject: {fileID: 0} 146 | m_PrefabInstance: {fileID: 0} 147 | m_PrefabAsset: {fileID: 0} 148 | m_GameObject: {fileID: 129108422} 149 | m_Enabled: 1 150 | --- !u!20 &129108424 151 | Camera: 152 | m_ObjectHideFlags: 0 153 | m_CorrespondingSourceObject: {fileID: 0} 154 | m_PrefabInstance: {fileID: 0} 155 | m_PrefabAsset: {fileID: 0} 156 | m_GameObject: {fileID: 129108422} 157 | m_Enabled: 1 158 | serializedVersion: 2 159 | m_ClearFlags: 1 160 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 161 | m_projectionMatrixMode: 1 162 | m_GateFitMode: 2 163 | m_FOVAxisMode: 0 164 | m_SensorSize: {x: 36, y: 24} 165 | m_LensShift: {x: 0, y: 0} 166 | m_FocalLength: 50 167 | m_NormalizedViewPortRect: 168 | serializedVersion: 2 169 | x: 0 170 | y: 0 171 | width: 1 172 | height: 1 173 | near clip plane: 0.3 174 | far clip plane: 1000 175 | field of view: 60 176 | orthographic: 0 177 | orthographic size: 5 178 | m_Depth: -1 179 | m_CullingMask: 180 | serializedVersion: 2 181 | m_Bits: 4294967295 182 | m_RenderingPath: -1 183 | m_TargetTexture: {fileID: 0} 184 | m_TargetDisplay: 0 185 | m_TargetEye: 3 186 | m_HDR: 1 187 | m_AllowMSAA: 1 188 | m_AllowDynamicResolution: 0 189 | m_ForceIntoRT: 0 190 | m_OcclusionCulling: 1 191 | m_StereoConvergence: 10 192 | m_StereoSeparation: 0.022 193 | --- !u!4 &129108425 194 | Transform: 195 | m_ObjectHideFlags: 0 196 | m_CorrespondingSourceObject: {fileID: 0} 197 | m_PrefabInstance: {fileID: 0} 198 | m_PrefabAsset: {fileID: 0} 199 | m_GameObject: {fileID: 129108422} 200 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 201 | m_LocalPosition: {x: 0, y: 1, z: -10} 202 | m_LocalScale: {x: 1, y: 1, z: 1} 203 | m_Children: [] 204 | m_Father: {fileID: 0} 205 | m_RootOrder: 0 206 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 207 | --- !u!1 &987041579 208 | GameObject: 209 | m_ObjectHideFlags: 0 210 | m_CorrespondingSourceObject: {fileID: 0} 211 | m_PrefabInstance: {fileID: 0} 212 | m_PrefabAsset: {fileID: 0} 213 | serializedVersion: 6 214 | m_Component: 215 | - component: {fileID: 987041581} 216 | - component: {fileID: 987041580} 217 | m_Layer: 0 218 | m_Name: Directional Light 219 | m_TagString: Untagged 220 | m_Icon: {fileID: 0} 221 | m_NavMeshLayer: 0 222 | m_StaticEditorFlags: 0 223 | m_IsActive: 1 224 | --- !u!108 &987041580 225 | Light: 226 | m_ObjectHideFlags: 0 227 | m_CorrespondingSourceObject: {fileID: 0} 228 | m_PrefabInstance: {fileID: 0} 229 | m_PrefabAsset: {fileID: 0} 230 | m_GameObject: {fileID: 987041579} 231 | m_Enabled: 1 232 | serializedVersion: 10 233 | m_Type: 1 234 | m_Shape: 0 235 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 236 | m_Intensity: 1 237 | m_Range: 10 238 | m_SpotAngle: 30 239 | m_InnerSpotAngle: 21.80208 240 | m_CookieSize: 10 241 | m_Shadows: 242 | m_Type: 2 243 | m_Resolution: -1 244 | m_CustomResolution: -1 245 | m_Strength: 1 246 | m_Bias: 0.05 247 | m_NormalBias: 0.4 248 | m_NearPlane: 0.2 249 | m_CullingMatrixOverride: 250 | e00: 1 251 | e01: 0 252 | e02: 0 253 | e03: 0 254 | e10: 0 255 | e11: 1 256 | e12: 0 257 | e13: 0 258 | e20: 0 259 | e21: 0 260 | e22: 1 261 | e23: 0 262 | e30: 0 263 | e31: 0 264 | e32: 0 265 | e33: 1 266 | m_UseCullingMatrixOverride: 0 267 | m_Cookie: {fileID: 0} 268 | m_DrawHalo: 0 269 | m_Flare: {fileID: 0} 270 | m_RenderMode: 0 271 | m_CullingMask: 272 | serializedVersion: 2 273 | m_Bits: 4294967295 274 | m_RenderingLayerMask: 1 275 | m_Lightmapping: 4 276 | m_LightShadowCasterMode: 0 277 | m_AreaSize: {x: 1, y: 1} 278 | m_BounceIntensity: 1 279 | m_ColorTemperature: 6570 280 | m_UseColorTemperature: 0 281 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 282 | m_UseBoundingSphereOverride: 0 283 | m_ShadowRadius: 0 284 | m_ShadowAngle: 0 285 | --- !u!4 &987041581 286 | Transform: 287 | m_ObjectHideFlags: 0 288 | m_CorrespondingSourceObject: {fileID: 0} 289 | m_PrefabInstance: {fileID: 0} 290 | m_PrefabAsset: {fileID: 0} 291 | m_GameObject: {fileID: 987041579} 292 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 293 | m_LocalPosition: {x: 0, y: 3, z: 0} 294 | m_LocalScale: {x: 1, y: 1, z: 1} 295 | m_Children: [] 296 | m_Father: {fileID: 0} 297 | m_RootOrder: 1 298 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 299 | --- !u!1 &1648232022 300 | GameObject: 301 | m_ObjectHideFlags: 0 302 | m_CorrespondingSourceObject: {fileID: 0} 303 | m_PrefabInstance: {fileID: 0} 304 | m_PrefabAsset: {fileID: 0} 305 | serializedVersion: 6 306 | m_Component: 307 | - component: {fileID: 1648232024} 308 | - component: {fileID: 1648232023} 309 | m_Layer: 0 310 | m_Name: BackToMainMenu 311 | m_TagString: Untagged 312 | m_Icon: {fileID: 0} 313 | m_NavMeshLayer: 0 314 | m_StaticEditorFlags: 0 315 | m_IsActive: 1 316 | --- !u!114 &1648232023 317 | MonoBehaviour: 318 | m_ObjectHideFlags: 0 319 | m_CorrespondingSourceObject: {fileID: 0} 320 | m_PrefabInstance: {fileID: 0} 321 | m_PrefabAsset: {fileID: 0} 322 | m_GameObject: {fileID: 1648232022} 323 | m_Enabled: 1 324 | m_EditorHideFlags: 0 325 | m_Script: {fileID: 11500000, guid: b7734a8bd35b26a4a861b666d708bb4c, type: 3} 326 | m_Name: 327 | m_EditorClassIdentifier: 328 | --- !u!4 &1648232024 329 | Transform: 330 | m_ObjectHideFlags: 0 331 | m_CorrespondingSourceObject: {fileID: 0} 332 | m_PrefabInstance: {fileID: 0} 333 | m_PrefabAsset: {fileID: 0} 334 | m_GameObject: {fileID: 1648232022} 335 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 336 | m_LocalPosition: {x: 19.195292, y: 67.83383, z: -560.63074} 337 | m_LocalScale: {x: 1, y: 1, z: 1} 338 | m_Children: [] 339 | m_Father: {fileID: 0} 340 | m_RootOrder: 3 341 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 342 | --- !u!1 &1694158228 343 | GameObject: 344 | m_ObjectHideFlags: 0 345 | m_CorrespondingSourceObject: {fileID: 0} 346 | m_PrefabInstance: {fileID: 0} 347 | m_PrefabAsset: {fileID: 0} 348 | serializedVersion: 6 349 | m_Component: 350 | - component: {fileID: 1694158230} 351 | - component: {fileID: 1694158229} 352 | m_Layer: 0 353 | m_Name: ShowScreenLayout 354 | m_TagString: Untagged 355 | m_Icon: {fileID: 0} 356 | m_NavMeshLayer: 0 357 | m_StaticEditorFlags: 0 358 | m_IsActive: 1 359 | --- !u!114 &1694158229 360 | MonoBehaviour: 361 | m_ObjectHideFlags: 0 362 | m_CorrespondingSourceObject: {fileID: 0} 363 | m_PrefabInstance: {fileID: 0} 364 | m_PrefabAsset: {fileID: 0} 365 | m_GameObject: {fileID: 1694158228} 366 | m_Enabled: 1 367 | m_EditorHideFlags: 0 368 | m_Script: {fileID: 11500000, guid: 3ee5c8174fda05c4593923963824e0ed, type: 3} 369 | m_Name: 370 | m_EditorClassIdentifier: 371 | --- !u!4 &1694158230 372 | Transform: 373 | m_ObjectHideFlags: 0 374 | m_CorrespondingSourceObject: {fileID: 0} 375 | m_PrefabInstance: {fileID: 0} 376 | m_PrefabAsset: {fileID: 0} 377 | m_GameObject: {fileID: 1694158228} 378 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 379 | m_LocalPosition: {x: 0, y: 0, z: 0} 380 | m_LocalScale: {x: 1, y: 1, z: 1} 381 | m_Children: [] 382 | m_Father: {fileID: 0} 383 | m_RootOrder: 2 384 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 385 | -------------------------------------------------------------------------------- /Assets/Scenes/DisplayNotchSafeArea.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9956bb6ddf36518498cec586ae791d29 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/Menu.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 3 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 0 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_UseShadowmask: 1 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | debug: 122 | m_Flags: 0 123 | m_NavMeshData: {fileID: 0} 124 | --- !u!1 &171690627 125 | GameObject: 126 | m_ObjectHideFlags: 0 127 | m_CorrespondingSourceObject: {fileID: 0} 128 | m_PrefabInstance: {fileID: 0} 129 | m_PrefabAsset: {fileID: 0} 130 | serializedVersion: 6 131 | m_Component: 132 | - component: {fileID: 171690630} 133 | - component: {fileID: 171690629} 134 | - component: {fileID: 171690628} 135 | m_Layer: 0 136 | m_Name: EventSystem 137 | m_TagString: Untagged 138 | m_Icon: {fileID: 0} 139 | m_NavMeshLayer: 0 140 | m_StaticEditorFlags: 0 141 | m_IsActive: 1 142 | --- !u!114 &171690628 143 | MonoBehaviour: 144 | m_ObjectHideFlags: 0 145 | m_CorrespondingSourceObject: {fileID: 0} 146 | m_PrefabInstance: {fileID: 0} 147 | m_PrefabAsset: {fileID: 0} 148 | m_GameObject: {fileID: 171690627} 149 | m_Enabled: 1 150 | m_EditorHideFlags: 0 151 | m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3} 152 | m_Name: 153 | m_EditorClassIdentifier: 154 | m_MoveRepeatDelay: 0.5 155 | m_MoveRepeatRate: 0.1 156 | m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, 157 | type: 3} 158 | m_PointAction: {fileID: 1054132383583890850, guid: ca9f5fa95ffab41fb9a615ab714db018, 159 | type: 3} 160 | m_MoveAction: {fileID: 3710738434707379630, guid: ca9f5fa95ffab41fb9a615ab714db018, 161 | type: 3} 162 | m_SubmitAction: {fileID: 2064916234097673511, guid: ca9f5fa95ffab41fb9a615ab714db018, 163 | type: 3} 164 | m_CancelAction: {fileID: -1967631576421560919, guid: ca9f5fa95ffab41fb9a615ab714db018, 165 | type: 3} 166 | m_LeftClickAction: {fileID: 8056856818456041789, guid: ca9f5fa95ffab41fb9a615ab714db018, 167 | type: 3} 168 | m_MiddleClickAction: {fileID: 3279352641294131588, guid: ca9f5fa95ffab41fb9a615ab714db018, 169 | type: 3} 170 | m_RightClickAction: {fileID: 3837173908680883260, guid: ca9f5fa95ffab41fb9a615ab714db018, 171 | type: 3} 172 | m_ScrollWheelAction: {fileID: 4502412055082496612, guid: ca9f5fa95ffab41fb9a615ab714db018, 173 | type: 3} 174 | m_TrackedDevicePositionAction: {fileID: 0} 175 | m_TrackedDeviceOrientationAction: {fileID: 0} 176 | m_DeselectOnBackgroundClick: 1 177 | m_PointerBehavior: 0 178 | --- !u!114 &171690629 179 | MonoBehaviour: 180 | m_ObjectHideFlags: 0 181 | m_CorrespondingSourceObject: {fileID: 0} 182 | m_PrefabInstance: {fileID: 0} 183 | m_PrefabAsset: {fileID: 0} 184 | m_GameObject: {fileID: 171690627} 185 | m_Enabled: 1 186 | m_EditorHideFlags: 0 187 | m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} 188 | m_Name: 189 | m_EditorClassIdentifier: 190 | m_FirstSelected: {fileID: 0} 191 | m_sendNavigationEvents: 1 192 | m_DragThreshold: 10 193 | --- !u!4 &171690630 194 | Transform: 195 | m_ObjectHideFlags: 0 196 | m_CorrespondingSourceObject: {fileID: 0} 197 | m_PrefabInstance: {fileID: 0} 198 | m_PrefabAsset: {fileID: 0} 199 | m_GameObject: {fileID: 171690627} 200 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 201 | m_LocalPosition: {x: 0, y: 0, z: 0} 202 | m_LocalScale: {x: 1, y: 1, z: 1} 203 | m_Children: [] 204 | m_Father: {fileID: 0} 205 | m_RootOrder: 2 206 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 207 | --- !u!1 &172172110 208 | GameObject: 209 | m_ObjectHideFlags: 0 210 | m_CorrespondingSourceObject: {fileID: 0} 211 | m_PrefabInstance: {fileID: 0} 212 | m_PrefabAsset: {fileID: 0} 213 | serializedVersion: 6 214 | m_Component: 215 | - component: {fileID: 172172111} 216 | - component: {fileID: 172172114} 217 | - component: {fileID: 172172113} 218 | - component: {fileID: 172172112} 219 | m_Layer: 5 220 | m_Name: Version 221 | m_TagString: Untagged 222 | m_Icon: {fileID: 0} 223 | m_NavMeshLayer: 0 224 | m_StaticEditorFlags: 0 225 | m_IsActive: 1 226 | --- !u!224 &172172111 227 | RectTransform: 228 | m_ObjectHideFlags: 0 229 | m_CorrespondingSourceObject: {fileID: 0} 230 | m_PrefabInstance: {fileID: 0} 231 | m_PrefabAsset: {fileID: 0} 232 | m_GameObject: {fileID: 172172110} 233 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 234 | m_LocalPosition: {x: 0, y: 0, z: 0} 235 | m_LocalScale: {x: 1, y: 1, z: 1} 236 | m_Children: [] 237 | m_Father: {fileID: 1595082725} 238 | m_RootOrder: 1 239 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 240 | m_AnchorMin: {x: 1, y: 0} 241 | m_AnchorMax: {x: 1, y: 0} 242 | m_AnchoredPosition: {x: -10, y: 10} 243 | m_SizeDelta: {x: 400, y: 45} 244 | m_Pivot: {x: 1, y: 0} 245 | --- !u!114 &172172112 246 | MonoBehaviour: 247 | m_ObjectHideFlags: 0 248 | m_CorrespondingSourceObject: {fileID: 0} 249 | m_PrefabInstance: {fileID: 0} 250 | m_PrefabAsset: {fileID: 0} 251 | m_GameObject: {fileID: 172172110} 252 | m_Enabled: 1 253 | m_EditorHideFlags: 0 254 | m_Script: {fileID: 11500000, guid: 55abf9944b3786945b33038172f019b3, type: 3} 255 | m_Name: 256 | m_EditorClassIdentifier: 257 | --- !u!114 &172172113 258 | MonoBehaviour: 259 | m_ObjectHideFlags: 0 260 | m_CorrespondingSourceObject: {fileID: 0} 261 | m_PrefabInstance: {fileID: 0} 262 | m_PrefabAsset: {fileID: 0} 263 | m_GameObject: {fileID: 172172110} 264 | m_Enabled: 1 265 | m_EditorHideFlags: 0 266 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 267 | m_Name: 268 | m_EditorClassIdentifier: 269 | m_Material: {fileID: 0} 270 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 271 | m_RaycastTarget: 1 272 | m_Maskable: 1 273 | m_OnCullStateChanged: 274 | m_PersistentCalls: 275 | m_Calls: [] 276 | m_FontData: 277 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 278 | m_FontSize: 24 279 | m_FontStyle: 0 280 | m_BestFit: 1 281 | m_MinSize: 12 282 | m_MaxSize: 24 283 | m_Alignment: 8 284 | m_AlignByGeometry: 0 285 | m_RichText: 1 286 | m_HorizontalOverflow: 0 287 | m_VerticalOverflow: 0 288 | m_LineSpacing: 1 289 | m_Text: New Text 290 | --- !u!222 &172172114 291 | CanvasRenderer: 292 | m_ObjectHideFlags: 0 293 | m_CorrespondingSourceObject: {fileID: 0} 294 | m_PrefabInstance: {fileID: 0} 295 | m_PrefabAsset: {fileID: 0} 296 | m_GameObject: {fileID: 172172110} 297 | m_CullTransparentMesh: 0 298 | --- !u!1 &186391554 299 | GameObject: 300 | m_ObjectHideFlags: 0 301 | m_CorrespondingSourceObject: {fileID: 0} 302 | m_PrefabInstance: {fileID: 0} 303 | m_PrefabAsset: {fileID: 0} 304 | serializedVersion: 6 305 | m_Component: 306 | - component: {fileID: 186391556} 307 | - component: {fileID: 186391560} 308 | - component: {fileID: 186391558} 309 | - component: {fileID: 186391557} 310 | - component: {fileID: 186391555} 311 | - component: {fileID: 186391559} 312 | m_Layer: 5 313 | m_Name: Button 314 | m_TagString: Untagged 315 | m_Icon: {fileID: 0} 316 | m_NavMeshLayer: 0 317 | m_StaticEditorFlags: 0 318 | m_IsActive: 1 319 | --- !u!114 &186391555 320 | MonoBehaviour: 321 | m_ObjectHideFlags: 0 322 | m_CorrespondingSourceObject: {fileID: 0} 323 | m_PrefabInstance: {fileID: 0} 324 | m_PrefabAsset: {fileID: 0} 325 | m_GameObject: {fileID: 186391554} 326 | m_Enabled: 1 327 | m_EditorHideFlags: 0 328 | m_Script: {fileID: 11500000, guid: 3867f054945797242be48207131ca956, type: 3} 329 | m_Name: 330 | m_EditorClassIdentifier: 331 | nameText: {fileID: 325278484} 332 | --- !u!224 &186391556 333 | RectTransform: 334 | m_ObjectHideFlags: 0 335 | m_CorrespondingSourceObject: {fileID: 0} 336 | m_PrefabInstance: {fileID: 0} 337 | m_PrefabAsset: {fileID: 0} 338 | m_GameObject: {fileID: 186391554} 339 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 340 | m_LocalPosition: {x: 0, y: 0, z: 0} 341 | m_LocalScale: {x: 1, y: 1, z: 1} 342 | m_Children: 343 | - {fileID: 325278486} 344 | m_Father: {fileID: 1596435128} 345 | m_RootOrder: 0 346 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 347 | m_AnchorMin: {x: 0, y: 0} 348 | m_AnchorMax: {x: 0, y: 0} 349 | m_AnchoredPosition: {x: 0, y: 0} 350 | m_SizeDelta: {x: 340, y: 0} 351 | m_Pivot: {x: 0.5, y: 0.5} 352 | --- !u!114 &186391557 353 | MonoBehaviour: 354 | m_ObjectHideFlags: 0 355 | m_CorrespondingSourceObject: {fileID: 0} 356 | m_PrefabInstance: {fileID: 0} 357 | m_PrefabAsset: {fileID: 0} 358 | m_GameObject: {fileID: 186391554} 359 | m_Enabled: 1 360 | m_EditorHideFlags: 0 361 | m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} 362 | m_Name: 363 | m_EditorClassIdentifier: 364 | m_Navigation: 365 | m_Mode: 3 366 | m_SelectOnUp: {fileID: 0} 367 | m_SelectOnDown: {fileID: 0} 368 | m_SelectOnLeft: {fileID: 0} 369 | m_SelectOnRight: {fileID: 0} 370 | m_Transition: 1 371 | m_Colors: 372 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 373 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 374 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 375 | m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 376 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 377 | m_ColorMultiplier: 1 378 | m_FadeDuration: 0.1 379 | m_SpriteState: 380 | m_HighlightedSprite: {fileID: 0} 381 | m_PressedSprite: {fileID: 0} 382 | m_SelectedSprite: {fileID: 0} 383 | m_DisabledSprite: {fileID: 0} 384 | m_AnimationTriggers: 385 | m_NormalTrigger: Normal 386 | m_HighlightedTrigger: Highlighted 387 | m_PressedTrigger: Pressed 388 | m_SelectedTrigger: Highlighted 389 | m_DisabledTrigger: Disabled 390 | m_Interactable: 1 391 | m_TargetGraphic: {fileID: 186391558} 392 | m_OnClick: 393 | m_PersistentCalls: 394 | m_Calls: 395 | - m_Target: {fileID: 186391555} 396 | m_MethodName: OnClickButton 397 | m_Mode: 1 398 | m_Arguments: 399 | m_ObjectArgument: {fileID: 0} 400 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 401 | m_IntArgument: 0 402 | m_FloatArgument: 0 403 | m_StringArgument: 404 | m_BoolArgument: 0 405 | m_CallState: 2 406 | --- !u!114 &186391558 407 | MonoBehaviour: 408 | m_ObjectHideFlags: 0 409 | m_CorrespondingSourceObject: {fileID: 0} 410 | m_PrefabInstance: {fileID: 0} 411 | m_PrefabAsset: {fileID: 0} 412 | m_GameObject: {fileID: 186391554} 413 | m_Enabled: 1 414 | m_EditorHideFlags: 0 415 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 416 | m_Name: 417 | m_EditorClassIdentifier: 418 | m_Material: {fileID: 0} 419 | m_Color: {r: 1, g: 1, b: 1, a: 1} 420 | m_RaycastTarget: 1 421 | m_Maskable: 1 422 | m_OnCullStateChanged: 423 | m_PersistentCalls: 424 | m_Calls: [] 425 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 426 | m_Type: 1 427 | m_PreserveAspect: 0 428 | m_FillCenter: 1 429 | m_FillMethod: 4 430 | m_FillAmount: 1 431 | m_FillClockwise: 1 432 | m_FillOrigin: 0 433 | m_UseSpriteMesh: 0 434 | m_PixelsPerUnitMultiplier: 1 435 | --- !u!114 &186391559 436 | MonoBehaviour: 437 | m_ObjectHideFlags: 0 438 | m_CorrespondingSourceObject: {fileID: 0} 439 | m_PrefabInstance: {fileID: 0} 440 | m_PrefabAsset: {fileID: 0} 441 | m_GameObject: {fileID: 186391554} 442 | m_Enabled: 1 443 | m_EditorHideFlags: 0 444 | m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} 445 | m_Name: 446 | m_EditorClassIdentifier: 447 | m_IgnoreLayout: 0 448 | m_MinWidth: 240 449 | m_MinHeight: 80 450 | m_PreferredWidth: 340 451 | m_PreferredHeight: -1 452 | m_FlexibleWidth: 1 453 | m_FlexibleHeight: -1 454 | m_LayoutPriority: 1 455 | --- !u!222 &186391560 456 | CanvasRenderer: 457 | m_ObjectHideFlags: 0 458 | m_CorrespondingSourceObject: {fileID: 0} 459 | m_PrefabInstance: {fileID: 0} 460 | m_PrefabAsset: {fileID: 0} 461 | m_GameObject: {fileID: 186391554} 462 | m_CullTransparentMesh: 0 463 | --- !u!1 &325278483 464 | GameObject: 465 | m_ObjectHideFlags: 0 466 | m_CorrespondingSourceObject: {fileID: 0} 467 | m_PrefabInstance: {fileID: 0} 468 | m_PrefabAsset: {fileID: 0} 469 | serializedVersion: 6 470 | m_Component: 471 | - component: {fileID: 325278486} 472 | - component: {fileID: 325278485} 473 | - component: {fileID: 325278484} 474 | m_Layer: 5 475 | m_Name: Text 476 | m_TagString: Untagged 477 | m_Icon: {fileID: 0} 478 | m_NavMeshLayer: 0 479 | m_StaticEditorFlags: 0 480 | m_IsActive: 1 481 | --- !u!114 &325278484 482 | MonoBehaviour: 483 | m_ObjectHideFlags: 0 484 | m_CorrespondingSourceObject: {fileID: 0} 485 | m_PrefabInstance: {fileID: 0} 486 | m_PrefabAsset: {fileID: 0} 487 | m_GameObject: {fileID: 325278483} 488 | m_Enabled: 1 489 | m_EditorHideFlags: 0 490 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 491 | m_Name: 492 | m_EditorClassIdentifier: 493 | m_Material: {fileID: 0} 494 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 495 | m_RaycastTarget: 1 496 | m_Maskable: 1 497 | m_OnCullStateChanged: 498 | m_PersistentCalls: 499 | m_Calls: [] 500 | m_FontData: 501 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 502 | m_FontSize: 32 503 | m_FontStyle: 0 504 | m_BestFit: 0 505 | m_MinSize: 0 506 | m_MaxSize: 40 507 | m_Alignment: 4 508 | m_AlignByGeometry: 0 509 | m_RichText: 1 510 | m_HorizontalOverflow: 0 511 | m_VerticalOverflow: 0 512 | m_LineSpacing: 1 513 | m_Text: Level 514 | --- !u!222 &325278485 515 | CanvasRenderer: 516 | m_ObjectHideFlags: 0 517 | m_CorrespondingSourceObject: {fileID: 0} 518 | m_PrefabInstance: {fileID: 0} 519 | m_PrefabAsset: {fileID: 0} 520 | m_GameObject: {fileID: 325278483} 521 | m_CullTransparentMesh: 0 522 | --- !u!224 &325278486 523 | RectTransform: 524 | m_ObjectHideFlags: 0 525 | m_CorrespondingSourceObject: {fileID: 0} 526 | m_PrefabInstance: {fileID: 0} 527 | m_PrefabAsset: {fileID: 0} 528 | m_GameObject: {fileID: 325278483} 529 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 530 | m_LocalPosition: {x: 0, y: 0, z: 0} 531 | m_LocalScale: {x: 1, y: 1, z: 1} 532 | m_Children: [] 533 | m_Father: {fileID: 186391556} 534 | m_RootOrder: 0 535 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 536 | m_AnchorMin: {x: 0, y: 0} 537 | m_AnchorMax: {x: 1, y: 1} 538 | m_AnchoredPosition: {x: 0, y: 0} 539 | m_SizeDelta: {x: 0, y: 0} 540 | m_Pivot: {x: 0.5, y: 0.5} 541 | --- !u!1 &662076599 542 | GameObject: 543 | m_ObjectHideFlags: 0 544 | m_CorrespondingSourceObject: {fileID: 0} 545 | m_PrefabInstance: {fileID: 0} 546 | m_PrefabAsset: {fileID: 0} 547 | serializedVersion: 6 548 | m_Component: 549 | - component: {fileID: 662076600} 550 | - component: {fileID: 662076603} 551 | - component: {fileID: 662076602} 552 | - component: {fileID: 662076601} 553 | m_Layer: 5 554 | m_Name: DeepLink 555 | m_TagString: Untagged 556 | m_Icon: {fileID: 0} 557 | m_NavMeshLayer: 0 558 | m_StaticEditorFlags: 0 559 | m_IsActive: 1 560 | --- !u!224 &662076600 561 | RectTransform: 562 | m_ObjectHideFlags: 0 563 | m_CorrespondingSourceObject: {fileID: 0} 564 | m_PrefabInstance: {fileID: 0} 565 | m_PrefabAsset: {fileID: 0} 566 | m_GameObject: {fileID: 662076599} 567 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 568 | m_LocalPosition: {x: 0, y: 0, z: 0} 569 | m_LocalScale: {x: 1, y: 1, z: 1} 570 | m_Children: [] 571 | m_Father: {fileID: 1595082725} 572 | m_RootOrder: 2 573 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 574 | m_AnchorMin: {x: 0, y: 0} 575 | m_AnchorMax: {x: 0, y: 0} 576 | m_AnchoredPosition: {x: 439.74, y: 10} 577 | m_SizeDelta: {x: 423.7, y: 175.2} 578 | m_Pivot: {x: 1, y: 0} 579 | --- !u!114 &662076601 580 | MonoBehaviour: 581 | m_ObjectHideFlags: 0 582 | m_CorrespondingSourceObject: {fileID: 0} 583 | m_PrefabInstance: {fileID: 0} 584 | m_PrefabAsset: {fileID: 0} 585 | m_GameObject: {fileID: 662076599} 586 | m_Enabled: 1 587 | m_EditorHideFlags: 0 588 | m_Script: {fileID: 11500000, guid: f3145faafab00904891c55314af57416, type: 3} 589 | m_Name: 590 | m_EditorClassIdentifier: 591 | --- !u!114 &662076602 592 | MonoBehaviour: 593 | m_ObjectHideFlags: 0 594 | m_CorrespondingSourceObject: {fileID: 0} 595 | m_PrefabInstance: {fileID: 0} 596 | m_PrefabAsset: {fileID: 0} 597 | m_GameObject: {fileID: 662076599} 598 | m_Enabled: 1 599 | m_EditorHideFlags: 0 600 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 601 | m_Name: 602 | m_EditorClassIdentifier: 603 | m_Material: {fileID: 0} 604 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 605 | m_RaycastTarget: 1 606 | m_Maskable: 1 607 | m_OnCullStateChanged: 608 | m_PersistentCalls: 609 | m_Calls: [] 610 | m_FontData: 611 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 612 | m_FontSize: 24 613 | m_FontStyle: 0 614 | m_BestFit: 1 615 | m_MinSize: 12 616 | m_MaxSize: 24 617 | m_Alignment: 6 618 | m_AlignByGeometry: 0 619 | m_RichText: 1 620 | m_HorizontalOverflow: 0 621 | m_VerticalOverflow: 1 622 | m_LineSpacing: 1 623 | m_Text: '[Deep Link Status]' 624 | --- !u!222 &662076603 625 | CanvasRenderer: 626 | m_ObjectHideFlags: 0 627 | m_CorrespondingSourceObject: {fileID: 0} 628 | m_PrefabInstance: {fileID: 0} 629 | m_PrefabAsset: {fileID: 0} 630 | m_GameObject: {fileID: 662076599} 631 | m_CullTransparentMesh: 0 632 | --- !u!1 &1291269766 633 | GameObject: 634 | m_ObjectHideFlags: 0 635 | m_CorrespondingSourceObject: {fileID: 0} 636 | m_PrefabInstance: {fileID: 0} 637 | m_PrefabAsset: {fileID: 0} 638 | serializedVersion: 6 639 | m_Component: 640 | - component: {fileID: 1291269769} 641 | - component: {fileID: 1291269768} 642 | - component: {fileID: 1291269767} 643 | m_Layer: 0 644 | m_Name: Main Camera 645 | m_TagString: MainCamera 646 | m_Icon: {fileID: 0} 647 | m_NavMeshLayer: 0 648 | m_StaticEditorFlags: 0 649 | m_IsActive: 1 650 | --- !u!81 &1291269767 651 | AudioListener: 652 | m_ObjectHideFlags: 0 653 | m_CorrespondingSourceObject: {fileID: 0} 654 | m_PrefabInstance: {fileID: 0} 655 | m_PrefabAsset: {fileID: 0} 656 | m_GameObject: {fileID: 1291269766} 657 | m_Enabled: 1 658 | --- !u!20 &1291269768 659 | Camera: 660 | m_ObjectHideFlags: 0 661 | m_CorrespondingSourceObject: {fileID: 0} 662 | m_PrefabInstance: {fileID: 0} 663 | m_PrefabAsset: {fileID: 0} 664 | m_GameObject: {fileID: 1291269766} 665 | m_Enabled: 1 666 | serializedVersion: 2 667 | m_ClearFlags: 2 668 | m_BackGroundColor: {r: 0.8301887, g: 0.8301887, b: 0.8301887, a: 0} 669 | m_projectionMatrixMode: 1 670 | m_GateFitMode: 2 671 | m_FOVAxisMode: 0 672 | m_SensorSize: {x: 36, y: 24} 673 | m_LensShift: {x: 0, y: 0} 674 | m_FocalLength: 50 675 | m_NormalizedViewPortRect: 676 | serializedVersion: 2 677 | x: 0 678 | y: 0 679 | width: 1 680 | height: 1 681 | near clip plane: 0.3 682 | far clip plane: 1000 683 | field of view: 60 684 | orthographic: 1 685 | orthographic size: 5 686 | m_Depth: -1 687 | m_CullingMask: 688 | serializedVersion: 2 689 | m_Bits: 4294967295 690 | m_RenderingPath: -1 691 | m_TargetTexture: {fileID: 0} 692 | m_TargetDisplay: 0 693 | m_TargetEye: 3 694 | m_HDR: 1 695 | m_AllowMSAA: 1 696 | m_AllowDynamicResolution: 0 697 | m_ForceIntoRT: 0 698 | m_OcclusionCulling: 1 699 | m_StereoConvergence: 10 700 | m_StereoSeparation: 0.022 701 | --- !u!4 &1291269769 702 | Transform: 703 | m_ObjectHideFlags: 0 704 | m_CorrespondingSourceObject: {fileID: 0} 705 | m_PrefabInstance: {fileID: 0} 706 | m_PrefabAsset: {fileID: 0} 707 | m_GameObject: {fileID: 1291269766} 708 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 709 | m_LocalPosition: {x: 0, y: 0, z: -10} 710 | m_LocalScale: {x: 1, y: 1, z: 1} 711 | m_Children: [] 712 | m_Father: {fileID: 0} 713 | m_RootOrder: 0 714 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 715 | --- !u!1 &1333664720 716 | GameObject: 717 | m_ObjectHideFlags: 0 718 | m_CorrespondingSourceObject: {fileID: 0} 719 | m_PrefabInstance: {fileID: 0} 720 | m_PrefabAsset: {fileID: 0} 721 | serializedVersion: 6 722 | m_Component: 723 | - component: {fileID: 1333664722} 724 | - component: {fileID: 1333664721} 725 | m_Layer: 0 726 | m_Name: DeepLinkManager 727 | m_TagString: Untagged 728 | m_Icon: {fileID: 0} 729 | m_NavMeshLayer: 0 730 | m_StaticEditorFlags: 0 731 | m_IsActive: 1 732 | --- !u!114 &1333664721 733 | MonoBehaviour: 734 | m_ObjectHideFlags: 0 735 | m_CorrespondingSourceObject: {fileID: 0} 736 | m_PrefabInstance: {fileID: 0} 737 | m_PrefabAsset: {fileID: 0} 738 | m_GameObject: {fileID: 1333664720} 739 | m_Enabled: 1 740 | m_EditorHideFlags: 0 741 | m_Script: {fileID: 11500000, guid: 1266ae75c6e9f97448a35516314cd30b, type: 3} 742 | m_Name: 743 | m_EditorClassIdentifier: 744 | deeplinkURL: 745 | --- !u!4 &1333664722 746 | Transform: 747 | m_ObjectHideFlags: 0 748 | m_CorrespondingSourceObject: {fileID: 0} 749 | m_PrefabInstance: {fileID: 0} 750 | m_PrefabAsset: {fileID: 0} 751 | m_GameObject: {fileID: 1333664720} 752 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 753 | m_LocalPosition: {x: 627.8889, y: 31.898148, z: 0} 754 | m_LocalScale: {x: 1, y: 1, z: 1} 755 | m_Children: [] 756 | m_Father: {fileID: 0} 757 | m_RootOrder: 3 758 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 759 | --- !u!1 &1595082720 760 | GameObject: 761 | m_ObjectHideFlags: 0 762 | m_CorrespondingSourceObject: {fileID: 0} 763 | m_PrefabInstance: {fileID: 0} 764 | m_PrefabAsset: {fileID: 0} 765 | serializedVersion: 6 766 | m_Component: 767 | - component: {fileID: 1595082725} 768 | - component: {fileID: 1595082724} 769 | - component: {fileID: 1595082723} 770 | - component: {fileID: 1595082722} 771 | - component: {fileID: 1595082721} 772 | m_Layer: 5 773 | m_Name: Canvas 774 | m_TagString: Untagged 775 | m_Icon: {fileID: 0} 776 | m_NavMeshLayer: 0 777 | m_StaticEditorFlags: 0 778 | m_IsActive: 1 779 | --- !u!114 &1595082721 780 | MonoBehaviour: 781 | m_ObjectHideFlags: 0 782 | m_CorrespondingSourceObject: {fileID: 0} 783 | m_PrefabInstance: {fileID: 0} 784 | m_PrefabAsset: {fileID: 0} 785 | m_GameObject: {fileID: 1595082720} 786 | m_Enabled: 1 787 | m_EditorHideFlags: 0 788 | m_Script: {fileID: 11500000, guid: a0596e88e72334b43ae0786431fd2968, type: 3} 789 | m_Name: 790 | m_EditorClassIdentifier: 791 | firstLevelItem: {fileID: 186391555} 792 | --- !u!114 &1595082722 793 | MonoBehaviour: 794 | m_ObjectHideFlags: 0 795 | m_CorrespondingSourceObject: {fileID: 0} 796 | m_PrefabInstance: {fileID: 0} 797 | m_PrefabAsset: {fileID: 0} 798 | m_GameObject: {fileID: 1595082720} 799 | m_Enabled: 1 800 | m_EditorHideFlags: 0 801 | m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} 802 | m_Name: 803 | m_EditorClassIdentifier: 804 | m_IgnoreReversedGraphics: 1 805 | m_BlockingObjects: 0 806 | m_BlockingMask: 807 | serializedVersion: 2 808 | m_Bits: 4294967295 809 | --- !u!114 &1595082723 810 | MonoBehaviour: 811 | m_ObjectHideFlags: 0 812 | m_CorrespondingSourceObject: {fileID: 0} 813 | m_PrefabInstance: {fileID: 0} 814 | m_PrefabAsset: {fileID: 0} 815 | m_GameObject: {fileID: 1595082720} 816 | m_Enabled: 1 817 | m_EditorHideFlags: 0 818 | m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} 819 | m_Name: 820 | m_EditorClassIdentifier: 821 | m_UiScaleMode: 1 822 | m_ReferencePixelsPerUnit: 100 823 | m_ScaleFactor: 1 824 | m_ReferenceResolution: {x: 1920, y: 1080} 825 | m_ScreenMatchMode: 0 826 | m_MatchWidthOrHeight: 1 827 | m_PhysicalUnit: 3 828 | m_FallbackScreenDPI: 96 829 | m_DefaultSpriteDPI: 96 830 | m_DynamicPixelsPerUnit: 1 831 | --- !u!223 &1595082724 832 | Canvas: 833 | m_ObjectHideFlags: 0 834 | m_CorrespondingSourceObject: {fileID: 0} 835 | m_PrefabInstance: {fileID: 0} 836 | m_PrefabAsset: {fileID: 0} 837 | m_GameObject: {fileID: 1595082720} 838 | m_Enabled: 1 839 | serializedVersion: 3 840 | m_RenderMode: 0 841 | m_Camera: {fileID: 0} 842 | m_PlaneDistance: 100 843 | m_PixelPerfect: 0 844 | m_ReceivesEvents: 1 845 | m_OverrideSorting: 0 846 | m_OverridePixelPerfect: 0 847 | m_SortingBucketNormalizedSize: 0 848 | m_AdditionalShaderChannelsFlag: 0 849 | m_SortingLayerID: 0 850 | m_SortingOrder: 0 851 | m_TargetDisplay: 0 852 | --- !u!224 &1595082725 853 | RectTransform: 854 | m_ObjectHideFlags: 0 855 | m_CorrespondingSourceObject: {fileID: 0} 856 | m_PrefabInstance: {fileID: 0} 857 | m_PrefabAsset: {fileID: 0} 858 | m_GameObject: {fileID: 1595082720} 859 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 860 | m_LocalPosition: {x: 0, y: 0, z: 0} 861 | m_LocalScale: {x: 0, y: 0, z: 0} 862 | m_Children: 863 | - {fileID: 1596435128} 864 | - {fileID: 172172111} 865 | - {fileID: 662076600} 866 | m_Father: {fileID: 0} 867 | m_RootOrder: 1 868 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 869 | m_AnchorMin: {x: 0, y: 0} 870 | m_AnchorMax: {x: 0, y: 0} 871 | m_AnchoredPosition: {x: 0, y: 0} 872 | m_SizeDelta: {x: 0, y: 0} 873 | m_Pivot: {x: 0, y: 0} 874 | --- !u!1 &1596435127 875 | GameObject: 876 | m_ObjectHideFlags: 0 877 | m_CorrespondingSourceObject: {fileID: 0} 878 | m_PrefabInstance: {fileID: 0} 879 | m_PrefabAsset: {fileID: 0} 880 | serializedVersion: 6 881 | m_Component: 882 | - component: {fileID: 1596435128} 883 | - component: {fileID: 1596435129} 884 | m_Layer: 5 885 | m_Name: Holder 886 | m_TagString: Untagged 887 | m_Icon: {fileID: 0} 888 | m_NavMeshLayer: 0 889 | m_StaticEditorFlags: 0 890 | m_IsActive: 1 891 | --- !u!224 &1596435128 892 | RectTransform: 893 | m_ObjectHideFlags: 0 894 | m_CorrespondingSourceObject: {fileID: 0} 895 | m_PrefabInstance: {fileID: 0} 896 | m_PrefabAsset: {fileID: 0} 897 | m_GameObject: {fileID: 1596435127} 898 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 899 | m_LocalPosition: {x: 0, y: 0, z: 0} 900 | m_LocalScale: {x: 1, y: 1, z: 1} 901 | m_Children: 902 | - {fileID: 186391556} 903 | m_Father: {fileID: 1595082725} 904 | m_RootOrder: 0 905 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 906 | m_AnchorMin: {x: 0.5, y: 0} 907 | m_AnchorMax: {x: 0.5, y: 1} 908 | m_AnchoredPosition: {x: 0, y: 0} 909 | m_SizeDelta: {x: 500, y: -200} 910 | m_Pivot: {x: 0.5, y: 0.5} 911 | --- !u!114 &1596435129 912 | MonoBehaviour: 913 | m_ObjectHideFlags: 0 914 | m_CorrespondingSourceObject: {fileID: 0} 915 | m_PrefabInstance: {fileID: 0} 916 | m_PrefabAsset: {fileID: 0} 917 | m_GameObject: {fileID: 1596435127} 918 | m_Enabled: 1 919 | m_EditorHideFlags: 0 920 | m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} 921 | m_Name: 922 | m_EditorClassIdentifier: 923 | m_Padding: 924 | m_Left: 0 925 | m_Right: 0 926 | m_Top: 10 927 | m_Bottom: 10 928 | m_ChildAlignment: 4 929 | m_Spacing: 15 930 | m_ChildForceExpandWidth: 1 931 | m_ChildForceExpandHeight: 0 932 | m_ChildControlWidth: 0 933 | m_ChildControlHeight: 1 934 | m_ChildScaleWidth: 0 935 | m_ChildScaleHeight: 0 936 | -------------------------------------------------------------------------------- /Assets/Scenes/Menu.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5fe3ca3356a0cb04a93f94bdc7241d3c 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/SafeAreaControl.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55bee3a90d74bdd48ab094395274a112 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7773f5f25581e38479715f8fe6ddd331 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/CanvasHelper.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | using UnityEngine.Events; 6 | 7 | [RequireComponent(typeof(Canvas))] 8 | public class CanvasHelper : MonoBehaviour 9 | { 10 | // Thank you to Adriaan de Jongh https://twitter.com/adriaandejongh 11 | // author of Hidden Folks 12 | // for the bulk of the script below 13 | public static UnityEvent onOrientationChange = new UnityEvent(); 14 | public static UnityEvent onResolutionChange = new UnityEvent(); 15 | public static bool isLandscape { get; private set; } 16 | 17 | private static List helpers = new List(); 18 | 19 | private static bool screenChangeVarsInitialized = false; 20 | private static ScreenOrientation lastOrientation = ScreenOrientation.Portrait; 21 | private static Vector2 lastResolution = Vector2.zero; 22 | private static Rect lastSafeArea = Rect.zero; 23 | 24 | private Canvas canvas; 25 | private RectTransform rectTransform; 26 | private RectTransform safeAreaTransform; 27 | 28 | void Awake() 29 | { 30 | if (!helpers.Contains(this)) 31 | helpers.Add(this); 32 | canvas = GetComponent(); 33 | rectTransform = GetComponent(); 34 | // the canvas/panel you want to react to the SafeArea needs to be called "SafeArea", 35 | // and be a child of the top canvas where this script is attached 36 | safeAreaTransform = transform.Find("SafeArea") as RectTransform; 37 | if (!screenChangeVarsInitialized) 38 | { 39 | lastOrientation = Screen.orientation; 40 | lastResolution.x = Screen.width; 41 | lastResolution.y = Screen.height; 42 | lastSafeArea = Screen.safeArea; 43 | screenChangeVarsInitialized = true; 44 | } 45 | } 46 | 47 | void Start() 48 | { 49 | ApplySafeArea(); 50 | } 51 | 52 | void Update() 53 | { 54 | if (helpers[0] != this) 55 | return; 56 | if (Screen.orientation != lastOrientation) 57 | OrientationChanged(); 58 | if (Screen.safeArea != lastSafeArea) 59 | SafeAreaChanged(); 60 | if (Screen.width != lastResolution.x || Screen.height != lastResolution.y) 61 | ResolutionChanged(); 62 | } 63 | 64 | void ApplySafeArea() 65 | { 66 | if (safeAreaTransform == null) 67 | return; 68 | 69 | var safeArea = Screen.safeArea; 70 | var anchorMin = safeArea.position; 71 | var anchorMax = safeArea.position + safeArea.size; 72 | anchorMin.x /= canvas.pixelRect.width; 73 | anchorMin.y /= canvas.pixelRect.height; 74 | anchorMax.x /= canvas.pixelRect.width; 75 | anchorMax.y /= canvas.pixelRect.height; 76 | safeAreaTransform.anchorMin = anchorMin; 77 | safeAreaTransform.anchorMax = anchorMax; 78 | 79 | Debug.Log( 80 | "Applied SafeArea:" + 81 | "\n Screen.orientation: " + Screen.orientation + 82 | "\n Screen.safeArea.position: " + Screen.safeArea.position.ToString() + 83 | "\n Screen.safeArea.size: " + Screen.safeArea.size.ToString() + 84 | "\n Screen.width / height: (" + Screen.width.ToString() + ", " + Screen.height.ToString() + ")" + 85 | "\n canvas.pixelRect.size: " + canvas.pixelRect.size.ToString() + 86 | "\n anchorMin: " + anchorMin.ToString() + 87 | "\n anchorMax: " + anchorMax.ToString()); 88 | } 89 | 90 | void OnDestroy() 91 | { 92 | if (helpers != null && helpers.Contains(this)) 93 | helpers.Remove(this); 94 | } 95 | 96 | private static void OrientationChanged() 97 | { 98 | Debug.Log("Orientation changed from " + lastOrientation + " to " + Screen.orientation + " at " + Time.time); 99 | 100 | lastOrientation = Screen.orientation; 101 | lastResolution.x = Screen.width; 102 | lastResolution.y = Screen.height; 103 | 104 | isLandscape = lastOrientation == ScreenOrientation.LandscapeLeft || lastOrientation == ScreenOrientation.LandscapeRight || lastOrientation == ScreenOrientation.Landscape; 105 | onOrientationChange.Invoke(); 106 | 107 | } 108 | 109 | private static void ResolutionChanged() 110 | { 111 | if (lastResolution.x == Screen.width && lastResolution.y == Screen.height) 112 | return; 113 | 114 | Debug.Log("Resolution changed from " + lastResolution + " to (" + Screen.width + ", " + Screen.height + ") at " + Time.time); 115 | 116 | lastResolution.x = Screen.width; 117 | lastResolution.y = Screen.height; 118 | 119 | isLandscape = Screen.width > Screen.height; 120 | onResolutionChange.Invoke(); 121 | } 122 | 123 | private static void SafeAreaChanged() 124 | { 125 | if (lastSafeArea == Screen.safeArea) 126 | return; 127 | 128 | Debug.Log("Safe Area changed from " + lastSafeArea + " to " + Screen.safeArea.size + " at " + Time.time); 129 | 130 | lastSafeArea = Screen.safeArea; 131 | 132 | for (int i = 0; i < helpers.Count; i++) 133 | { 134 | helpers[i].ApplySafeArea(); 135 | } 136 | } 137 | 138 | public static Vector2 GetCanvasSize() 139 | { 140 | return helpers[0].rectTransform.sizeDelta; 141 | } 142 | 143 | public static Vector2 GetSafeAreaSize() 144 | { 145 | for (int i = 0; i < helpers.Count; i++) 146 | { 147 | if (helpers[i].safeAreaTransform != null) 148 | { 149 | return helpers[i].safeAreaTransform.sizeDelta; 150 | } 151 | } 152 | 153 | return GetCanvasSize(); 154 | } 155 | } -------------------------------------------------------------------------------- /Assets/Scripts/CanvasHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac78fa613e23fe444904adcce776f71f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scripts/LevelSelectItem.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.SceneManagement; 3 | using UnityEngine.UI; 4 | 5 | 6 | /// 7 | /// A level item on the level select screen. 8 | /// 9 | public class LevelSelectItem : MonoBehaviour 10 | { 11 | // Level name text. 12 | [Tooltip("Level name text label"), SerializeField] 13 | private Text nameText; 14 | 15 | /// 16 | /// Initialize the item. 17 | /// 18 | /// Name of the scene to load. 19 | public void Initialize(string sceneName) 20 | { 21 | nameText.text = sceneName; 22 | } 23 | 24 | /// 25 | /// Clicked the button. 26 | /// 27 | public void OnClickButton() 28 | { 29 | SceneManager.LoadScene(nameText.text); 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /Assets/Scripts/LevelSelectItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3867f054945797242be48207131ca956 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scripts/LevelSelectScreen.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.SceneManagement; 3 | 4 | 5 | /// 6 | /// Level select screen. 7 | /// 8 | public class LevelSelectScreen : MonoBehaviour 9 | { 10 | /// 11 | /// The first level item in the list. It will be cloned to create more items. 12 | /// 13 | [Tooltip("The first level item in the list. It will be cloned to create more items."), SerializeField] 14 | private LevelSelectItem firstLevelItem; 15 | 16 | private void Start() 17 | { 18 | BuildListOfLevels(); 19 | } 20 | 21 | /// 22 | /// Build the list of levels. 23 | /// 24 | private void BuildListOfLevels() 25 | { 26 | // Get the list of scenes in the build settings 27 | var reuseFirstItem = true; 28 | Scene activeScene = SceneManager.GetActiveScene(); 29 | for (int i = 0, len = SceneManager.sceneCountInBuildSettings; i < len; i++) 30 | { 31 | string fileName = System.IO.Path.GetFileNameWithoutExtension(SceneUtility.GetScenePathByBuildIndex(i)); 32 | 33 | // Skip the active scene 34 | if (activeScene.name == fileName) 35 | { 36 | continue; 37 | } 38 | 39 | LevelSelectItem item; 40 | if (reuseFirstItem) 41 | { 42 | // Re-use the first item 43 | item = firstLevelItem; 44 | reuseFirstItem = false; 45 | } 46 | else 47 | { 48 | // Clone the first item 49 | item = Instantiate(firstLevelItem); 50 | item.transform.SetParent(firstLevelItem.transform.parent, false); 51 | } 52 | 53 | item.Initialize(fileName); 54 | } 55 | } 56 | } 57 | 58 | -------------------------------------------------------------------------------- /Assets/Scripts/LevelSelectScreen.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0596e88e72334b43ae0786431fd2968 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scripts/ProcessDeepLinkMngr.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using UnityEngine; 4 | using UnityEngine.SceneManagement; 5 | using UnityEngine.UI; 6 | 7 | public class ProcessDeepLinkMngr : MonoBehaviour 8 | { 9 | public static ProcessDeepLinkMngr Instance { get; private set; } 10 | public string deeplinkURL; 11 | 12 | private void Awake() 13 | { 14 | if (Instance == null) 15 | { 16 | Instance = this; 17 | Application.deepLinkActivated += onDeepLinkActivated; 18 | 19 | if (!String.IsNullOrEmpty(Application.absoluteURL)) 20 | { 21 | // cold start and Application.absoluteURL not null so process Deep Link 22 | onDeepLinkActivated(Application.absoluteURL); 23 | Debug.Log("AbsoluteURL: " + Application.absoluteURL); 24 | } 25 | // initialize DeepLink Manager global variable 26 | else deeplinkURL = "[None]"; 27 | DontDestroyOnLoad(gameObject); 28 | } 29 | else 30 | { 31 | Destroy(gameObject); 32 | } 33 | } 34 | 35 | private void onDeepLinkActivated(string url) 36 | { 37 | // update DeepLink Manager global variable, so URL can be accessed from anywhere 38 | deeplinkURL = url; 39 | 40 | //Decode the DeepLink url to determine action 41 | string sceneName = url.Split("?"[0])[1]; 42 | Debug.Log($"Deep Link Scene:{sceneName}"); 43 | bool validScene; 44 | switch (sceneName) 45 | { 46 | case "DisplayNotchSafeArea": 47 | validScene = true; 48 | break; 49 | case "SafeAreaControl": 50 | validScene = true; 51 | break; 52 | case "Menu": 53 | validScene = true; 54 | break; 55 | default: 56 | validScene = false; 57 | break; 58 | } 59 | if (validScene) SceneManager.LoadScene(sceneName); 60 | 61 | 62 | } 63 | } 64 | 65 | 66 | -------------------------------------------------------------------------------- /Assets/Scripts/ProcessDeepLinkMngr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1266ae75c6e9f97448a35516314cd30b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scripts/SceneLoadButton.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.SceneManagement; 3 | using UnityEngine.UI; 4 | 5 | 6 | /// 7 | /// Simple component to load a scene when a button is clicked. 8 | /// 9 | [RequireComponent(typeof(Button))] 10 | public class SceneLoadButton : MonoBehaviour 11 | { 12 | [SerializeField] 13 | private string sceneName; 14 | 15 | private Button cachedButton; 16 | 17 | protected virtual void Awake() 18 | { 19 | cachedButton = GetComponent