├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── NetworkManager.asset ├── TimeManager.asset ├── EditorBuildSettings.asset ├── AudioManager.asset ├── TagManager.asset ├── EditorSettings.asset ├── UnityConnectSettings.asset ├── DynamicsManager.asset ├── Physics2DSettings.asset ├── NavMeshAreas.asset ├── GraphicsSettings.asset ├── QualitySettings.asset ├── InputManager.asset └── ProjectSettings.asset ├── Logo.png ├── UnityPackageManager └── manifest.json ├── README-Fig ├── fig-1.1.png ├── fig-1.2.png ├── fig-2.1.png └── fig-2.2.png ├── Assets ├── SafeAreaController │ ├── Attribute │ │ ├── EnumMaskAttribute.cs │ │ └── EnumMaskAttribute.cs.meta │ ├── Core.meta │ ├── Attribute.meta │ ├── Editor.meta │ ├── Core │ │ ├── SafeAreaController.cs.meta │ │ ├── CameraPropertyOverrider.cs.meta │ │ ├── CanvasPropertyOverrider.cs.meta │ │ ├── CameraPropertyOverrider.cs │ │ ├── CanvasPropertyOverrider.cs │ │ └── SafeAreaController.cs │ └── Editor │ │ ├── EnumMaskDrawer.cs.meta │ │ └── EnumMaskDrawer.cs ├── Demo.unity.meta ├── SafeAreaController.meta └── Demo.unity ├── .gitignore ├── LICENSE ├── .vscode └── settings.json └── README.md /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.3.0f3 2 | -------------------------------------------------------------------------------- /Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhfmzk/UnitySafeAreaSnap/HEAD/Logo.png -------------------------------------------------------------------------------- /UnityPackageManager/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /README-Fig/fig-1.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhfmzk/UnitySafeAreaSnap/HEAD/README-Fig/fig-1.1.png -------------------------------------------------------------------------------- /README-Fig/fig-1.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhfmzk/UnitySafeAreaSnap/HEAD/README-Fig/fig-1.2.png -------------------------------------------------------------------------------- /README-Fig/fig-2.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhfmzk/UnitySafeAreaSnap/HEAD/README-Fig/fig-2.1.png -------------------------------------------------------------------------------- /README-Fig/fig-2.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhfmzk/UnitySafeAreaSnap/HEAD/README-Fig/fig-2.2.png -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Attribute/EnumMaskAttribute.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class EnumMask : PropertyAttribute 6 | { 7 | public EnumMask() { } 8 | } -------------------------------------------------------------------------------- /Assets/SafeAreaController/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0f264c0ddffe0748908429059e23add 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Attribute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0441335aff8fe42f9a8bbaf6c0ceaa96 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8ceb746cd2c02e49a48b9355bcf9f38 3 | timeCreated: 1514302456 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Assets/SafeAreaController.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44e64b1f3a97bdc4b8e18b0571741b5d 3 | folderAsset: yes 4 | timeCreated: 1514298845 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9459d8441e73244c78d3c059e33d4dd1 3 | folderAsset: yes 4 | timeCreated: 1514917799 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Demo.unity 10 | guid: b8ceb746cd2c02e49a48b9355bcf9f38 11 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Core/SafeAreaController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0df628083e0fc4428ad7d1f900749f7f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Editor/EnumMaskDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 400513fdf6cf64740a73bdf0743726a8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Attribute/EnumMaskAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67096ce81b1b846278510be8b7b4a8ee 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Core/CameraPropertyOverrider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 824449d24a98a4a77b405c99817d3796 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Core/CanvasPropertyOverrider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4bb21d429c3b7489c827641961926f65 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Editor/EnumMaskDrawer.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System; 4 | using UnityEditor; 5 | 6 | [CustomPropertyDrawer(typeof(EnumMask))] 7 | public class EnumMaskDrawer : PropertyDrawer 8 | { 9 | public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) 10 | { 11 | property.intValue = EditorGUI.MaskField(position, label, property.intValue, property.enumNames); 12 | } 13 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Visual Studio 2015 cache directory 9 | /.vs/ 10 | 11 | # Autogenerated VS/MD/Consulo solution and project files 12 | ExportedObj/ 13 | .consulo/ 14 | *.csproj 15 | *.unityproj 16 | *.sln 17 | *.suo 18 | *.tmp 19 | *.user 20 | *.userprefs 21 | *.pidb 22 | *.booproj 23 | *.svd 24 | *.pdb 25 | 26 | # Unity3D generated meta files 27 | *.pidb.meta 28 | 29 | # Unity3D Generated File On Crash Reports 30 | sysinfo.txt 31 | 32 | # Builds 33 | *.apk 34 | *.unitypackage 35 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 1 11 | m_SpritePackerMode: 4 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 0 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Sang Hyeon 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AutoSyncTransforms: 1 28 | m_AlwaysShowColliders: 0 29 | m_ShowColliderSleep: 1 30 | m_ShowColliderContacts: 0 31 | m_ShowColliderAABB: 0 32 | m_ContactArrowScale: 0.2 33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 38 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.exclude": 3 | { 4 | "**/.DS_Store":true, 5 | "**/.git":true, 6 | "**/.gitignore":true, 7 | "**/.gitmodules":true, 8 | "**/*.booproj":true, 9 | "**/*.pidb":true, 10 | "**/*.suo":true, 11 | "**/*.user":true, 12 | "**/*.userprefs":true, 13 | "**/*.unityproj":true, 14 | "**/*.dll":true, 15 | "**/*.exe":true, 16 | "**/*.pdf":true, 17 | "**/*.mid":true, 18 | "**/*.midi":true, 19 | "**/*.wav":true, 20 | "**/*.gif":true, 21 | "**/*.ico":true, 22 | "**/*.jpg":true, 23 | "**/*.jpeg":true, 24 | "**/*.png":true, 25 | "**/*.psd":true, 26 | "**/*.tga":true, 27 | "**/*.tif":true, 28 | "**/*.tiff":true, 29 | "**/*.3ds":true, 30 | "**/*.3DS":true, 31 | "**/*.fbx":true, 32 | "**/*.FBX":true, 33 | "**/*.lxo":true, 34 | "**/*.LXO":true, 35 | "**/*.ma":true, 36 | "**/*.MA":true, 37 | "**/*.obj":true, 38 | "**/*.OBJ":true, 39 | "**/*.asset":true, 40 | "**/*.cubemap":true, 41 | "**/*.flare":true, 42 | "**/*.mat":true, 43 | "**/*.meta":true, 44 | "**/*.prefab":true, 45 | "**/*.unity":true, 46 | "build/":true, 47 | "Build/":true, 48 | "Library/":true, 49 | "library/":true, 50 | "obj/":true, 51 | "Obj/":true, 52 | "ProjectSettings/":true, 53 | "temp/":true, 54 | "Temp/":true 55 | } 56 | } -------------------------------------------------------------------------------- /Assets/SafeAreaController/Core/CameraPropertyOverrider.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(Camera))] 6 | public class CameraPropertyOverrider : MonoBehaviour 7 | { 8 | public bool isSafeAreaCamera = true; 9 | public bool useFullSize = true; 10 | 11 | private Camera myCamera; 12 | private Rect RectSize 13 | { 14 | get 15 | { 16 | if (myCamera == null) 17 | { 18 | myCamera = GetComponent(); 19 | } 20 | return myCamera.rect; 21 | } 22 | } 23 | 24 | private Rect SafeSize 25 | { 26 | get 27 | { 28 | float safeX = Screen.safeArea.x / Screen.width; 29 | float safeY = Screen.safeArea.y / Screen.height; 30 | float safeW = Screen.safeArea.width / Screen.width; 31 | float safeH = Screen.safeArea.height / Screen.height; 32 | 33 | Rect originalRect = useFullSize ? new Rect(0, 0, 1, 1) : RectSize; 34 | 35 | return new Rect(safeX + originalRect.x / safeW, 36 | safeY + originalRect.y / safeH, 37 | safeW / originalRect.width, 38 | safeH / originalRect.height); 39 | } 40 | } 41 | 42 | // Update Method 43 | public void UpdateCameraProperty(Rect offset) 44 | { 45 | if (isSafeAreaCamera) 46 | { 47 | myCamera.rect = SafeSize; 48 | } 49 | else 50 | { 51 | myCamera.rect = useFullSize ? new Rect(0, 0, 1, 1) : RectSize; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Core/CanvasPropertyOverrider.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | [RequireComponent(typeof(Canvas))] 7 | [RequireComponent(typeof(RectTransform))] 8 | public class CanvasPropertyOverrider : MonoBehaviour 9 | { 10 | public bool isSafeCanvas = true; 11 | public int additionalSortingOrder = 0; 12 | 13 | // Update Method 14 | public void UpdateCanvasProperty(int rootSortingOrder, Rect offset) 15 | { 16 | // 0. Get Value 17 | Canvas myCanvas = GetComponent(); 18 | RectTransform myTransform = GetComponent(); 19 | Rect safeArea = Screen.safeArea; 20 | Vector2 screen = new Vector2(Screen.width, Screen.height); 21 | 22 | Vector2 _saAnchorMin; 23 | Vector2 _saAnchorMax; 24 | 25 | var offset_right = offset.x; 26 | var offset_left = offset.y; 27 | var offset_top = offset.width; 28 | var offset_bottom = offset.height; 29 | 30 | // 1. Setup and apply safe area 31 | if (isSafeCanvas) 32 | { 33 | _saAnchorMin.x = (safeArea.x + offset_right) / screen.x; 34 | _saAnchorMin.y = (safeArea.y + offset_bottom) / screen.y; 35 | _saAnchorMax.x = (safeArea.x + safeArea.width - offset_top) / screen.x; 36 | _saAnchorMax.y = (safeArea.y + safeArea.height - offset_left) / screen.y; 37 | 38 | myTransform.anchorMin = _saAnchorMin; 39 | myTransform.anchorMax = _saAnchorMax; 40 | } 41 | 42 | // 2. Add aditional sorting order 43 | myCanvas.sortingOrder = rootSortingOrder + additionalSortingOrder; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UnitySafeAreaSnap 2 | ![unity](https://img.shields.io/badge/unity-2017.4.29f1-lightgrey.svg) 3 | ![last-commit](https://img.shields.io/github/last-commit/dhfmzk/UnitySafeAreaSnap.svg) 4 | ![issues](https://img.shields.io/github/issues/dhfmzk/UnitySafeAreaSnap.svg) 5 | ![license](https://img.shields.io/github/license/dhfmzk/UnitySafeAreaSnap.svg) 6 | > This plugin allows you to easily check and test the Safe Area for iPhone X in Unity Editor 7 | 8 | ## KeyFeature 9 | There are two main ways to support SafeArea on iOS. 10 | 1. control `Camera.rect` 11 | 2. control `Canvas & Sub-Canvas` 12 | 13 | This project supports both of the above methods and is intended to be applied to various structures. 14 | 15 | ## How to Use 16 | ### Canvas based method 17 | 1. Add `SafeAreaConroller` in your root canvas 18 | 2. `control type` set `Canvas Based` 19 | 3. Choose safeArea update timing (can multi-select) 20 | 4. Add `CanvasPropertyOverrider` in your sub-canvas 21 | 5. If the canvas should be inside the `SafeArea`, check `is Safe Canvas` 22 | 23 | ### Camera based method 24 | 1. Add `SafeAreaConroller` in your root canvas 25 | 2. `control type` set `Camera Based` 26 | 3. Choose safeArea update timing (can multi-select) 27 | 4. Add `CameraPropertyOverrider` in your camera obejct 28 | 5. If camera screen should be inside the `SafeArea`, check `is Safe Area Camrea` 29 | 30 | ## To Do 31 | - [X] Support Android `cut off` and soft-key area 32 | - [ ] Support all rotation 33 | - [ ] Add Tester in unity editor 34 | - [ ] Show Notch line 35 | - [ ] Add new logo 36 | 37 | ## License 38 | 39 | 40 | 41 | The class is licensed under the [MIT License](http://opensource.org/licenses/MIT): 42 | 43 | Copyright © 2017 [Sang Hyeon Kim](http://www.github.com/rlatkdgus500). 44 | 45 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 46 | 47 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 48 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 40 | m_PreloadedShaders: [] 41 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 42 | type: 0} 43 | m_CustomRenderPipeline: {fileID: 0} 44 | m_TransparencySortMode: 0 45 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 46 | m_DefaultRenderingPath: 1 47 | m_DefaultMobileRenderingPath: 1 48 | m_TierSettings: [] 49 | m_LightmapStripping: 0 50 | m_FogStripping: 0 51 | m_InstancingStripping: 0 52 | m_LightmapKeepPlain: 1 53 | m_LightmapKeepDirCombined: 1 54 | m_LightmapKeepDynamicPlain: 1 55 | m_LightmapKeepDynamicDirCombined: 1 56 | m_LightmapKeepShadowMask: 1 57 | m_LightmapKeepSubtractive: 1 58 | m_FogKeepLinear: 1 59 | m_FogKeepExp: 1 60 | m_FogKeepExp2: 1 61 | m_AlbedoSwatchInfos: [] 62 | m_LightsUseLinearIntensity: 0 63 | m_LightsUseColorTemperature: 0 64 | -------------------------------------------------------------------------------- /Assets/SafeAreaController/Core/SafeAreaController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using UnityEngine.UI; 6 | 7 | public enum SafeAreaMethodType 8 | { 9 | CanvasBased, 10 | CameraBased, 11 | }; 12 | 13 | public enum AreaUpdateTiming 14 | { 15 | OnReciveMessage = (1 << 0), 16 | Awake = (1 << 1), 17 | OnEnable = (1 << 2), 18 | Start = (1 << 3), 19 | Update = (1 << 4), 20 | FixedUpdate = (1 << 5), 21 | }; 22 | 23 | [RequireComponent(typeof(Canvas))] 24 | public class SafeAreaController : MonoBehaviour 25 | { 26 | public SafeAreaMethodType ControlType = SafeAreaMethodType.CanvasBased; 27 | 28 | public bool addSoftkeyArea = false; 29 | 30 | [EnumMask] 31 | public AreaUpdateTiming UpdateTimming = AreaUpdateTiming.Awake; 32 | 33 | private Canvas _mainCanvas; 34 | private Rect Offset { get { return new Rect(0, 0, 0, navigationBarHeight); } } 35 | private static int navigationBarHeight = 0; 36 | 37 | // Update Canvas Function 38 | private void UpdateSubCanvasProperty() 39 | { 40 | var targetCanvasArray = GetComponentsInChildren(); 41 | 42 | foreach (var targetCanvas in targetCanvasArray) 43 | { 44 | targetCanvas.UpdateCanvasProperty(_mainCanvas.sortingOrder, Offset); 45 | } 46 | } 47 | 48 | // Update Camera Function 49 | private void UpdateCameraProperty() 50 | { 51 | var targetCameraArray = FindObjectsOfType(); 52 | 53 | foreach (var targetCamera in targetCameraArray) 54 | { 55 | targetCamera.UpdateCameraProperty(Offset); 56 | } 57 | } 58 | 59 | // Update Function 60 | public void UpdateSafeArea() 61 | { 62 | switch (this.ControlType) 63 | { 64 | case SafeAreaMethodType.CanvasBased: 65 | UpdateSubCanvasProperty(); 66 | break; 67 | case SafeAreaMethodType.CameraBased: 68 | UpdateCameraProperty(); 69 | break; 70 | default: 71 | break; 72 | } 73 | } 74 | 75 | // Life cycle function 76 | private void Awake() 77 | { 78 | #if UNITY_ANDROID && !UNITY_EDITOR 79 | if (addSoftkeyArea) 80 | RunOnAndroidUiThread(GetNavigationBarHeight); 81 | #endif 82 | 83 | _mainCanvas = GetComponent(); 84 | 85 | if (HaveMask(AreaUpdateTiming.Awake)) 86 | UpdateSafeArea(); 87 | } 88 | 89 | private void OnEnable() 90 | { 91 | if (HaveMask(AreaUpdateTiming.OnEnable)) 92 | UpdateSafeArea(); 93 | } 94 | 95 | private void Start() 96 | { 97 | if (HaveMask(AreaUpdateTiming.Start)) 98 | UpdateSafeArea(); 99 | } 100 | 101 | private void Update() 102 | { 103 | if (HaveMask(AreaUpdateTiming.Update)) 104 | UpdateSafeArea(); 105 | } 106 | 107 | private void FixedUpdate() 108 | { 109 | if (HaveMask(AreaUpdateTiming.FixedUpdate)) 110 | UpdateSafeArea(); 111 | } 112 | 113 | // Utility 114 | private bool HaveMask(AreaUpdateTiming mask) 115 | { 116 | return ((int)UpdateTimming & (int)mask) != 0; 117 | } 118 | 119 | // ================================================================= 120 | // Functions 4 Android 121 | // ================================================================= 122 | 123 | private static void RunOnAndroidUiThread(Action target) 124 | { 125 | #if UNITY_ANDROID && !UNITY_EDITOR 126 | using (var unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer")) { 127 | using (var activity = unityPlayer.GetStatic("currentActivity")) { 128 | 129 | activity.Call("runOnUiThread", new AndroidJavaRunnable(target)); 130 | }} 131 | #elif UNITY_EDITOR 132 | target(); 133 | #endif 134 | } 135 | 136 | private static void GetNavigationBarHeight() 137 | { 138 | #if UNITY_ANDROID && !UNITY_EDITOR 139 | using (var unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer")) { 140 | using (var activity = unityPlayer.GetStatic("currentActivity")) { 141 | using (var window = activity.Call("getWindow")) { 142 | using (var resources = activity.Call("getResources")) { 143 | var resourceId = resources.Call("getIdentifier", "navigation_bar_height", "dimen", "android"); 144 | if (resourceId > 0) { 145 | navigationBarHeight = resources.Call("getDimensionPixelSize", resourceId); 146 | } 147 | }}}} 148 | #elif UNITY_EDITOR 149 | navigationBarHeight = 0; 150 | #endif 151 | } 152 | } 153 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 4 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 4 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 1 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 1 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 4 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 2 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 1 108 | antiAliasing: 0 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 1 112 | billboardsFaceCameraPosition: 1 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 4 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 2 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 70 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 2 136 | antiAliasing: 2 137 | softParticles: 1 138 | softVegetation: 1 139 | realtimeReflectionProbes: 1 140 | billboardsFaceCameraPosition: 1 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 4 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 4 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSM: 5 183 | PSP2: 2 184 | Standalone: 5 185 | Tizen: 2 186 | WebGL: 3 187 | WiiU: 5 188 | Windows Store Apps: 5 189 | XboxOne: 5 190 | iPhone: 2 191 | tvOS: 2 192 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 14 7 | productGUID: 2571df29d5ceee247a0eea80013d2d74 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | defaultScreenOrientation: 4 11 | targetDevice: 2 12 | useOnDemandResources: 0 13 | accelerometerFrequency: 60 14 | companyName: DefaultCompany 15 | productName: Unity-SafeAreaContrller 16 | defaultCursor: {fileID: 0} 17 | cursorHotspot: {x: 0, y: 0} 18 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 19 | m_ShowUnitySplashScreen: 1 20 | m_ShowUnitySplashLogo: 1 21 | m_SplashScreenOverlayOpacity: 1 22 | m_SplashScreenAnimation: 1 23 | m_SplashScreenLogoStyle: 1 24 | m_SplashScreenDrawMode: 0 25 | m_SplashScreenBackgroundAnimationZoom: 1 26 | m_SplashScreenLogoAnimationZoom: 1 27 | m_SplashScreenBackgroundLandscapeAspect: 1 28 | m_SplashScreenBackgroundPortraitAspect: 1 29 | m_SplashScreenBackgroundLandscapeUvs: 30 | serializedVersion: 2 31 | x: 0 32 | y: 0 33 | width: 1 34 | height: 1 35 | m_SplashScreenBackgroundPortraitUvs: 36 | serializedVersion: 2 37 | x: 0 38 | y: 0 39 | width: 1 40 | height: 1 41 | m_SplashScreenLogos: [] 42 | m_VirtualRealitySplashScreen: {fileID: 0} 43 | m_HolographicTrackingLossScreen: {fileID: 0} 44 | defaultScreenWidth: 1024 45 | defaultScreenHeight: 768 46 | defaultScreenWidthWeb: 960 47 | defaultScreenHeightWeb: 600 48 | m_StereoRenderingPath: 0 49 | m_ActiveColorSpace: 0 50 | m_MTRendering: 1 51 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 52 | iosShowActivityIndicatorOnLoading: -1 53 | androidShowActivityIndicatorOnLoading: -1 54 | tizenShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidBlitType: 0 67 | defaultIsFullScreen: 1 68 | defaultIsNativeResolution: 1 69 | macRetinaSupport: 1 70 | runInBackground: 0 71 | captureSingleScreen: 0 72 | muteOtherAudioSources: 0 73 | Prepare IOS For Recording: 0 74 | Force IOS Speakers When Recording: 0 75 | deferSystemGesturesMode: 0 76 | hideHomeButton: 0 77 | submitAnalytics: 1 78 | usePlayerLog: 1 79 | bakeCollisionMeshes: 0 80 | forceSingleInstance: 0 81 | resizableWindow: 0 82 | useMacAppStoreValidation: 0 83 | macAppStoreCategory: public.app-category.games 84 | gpuSkinning: 0 85 | graphicsJobs: 0 86 | xboxPIXTextureCapture: 0 87 | xboxEnableAvatar: 0 88 | xboxEnableKinect: 0 89 | xboxEnableKinectAutoTracking: 0 90 | xboxEnableFitness: 0 91 | visibleInBackground: 1 92 | allowFullscreenSwitch: 1 93 | graphicsJobMode: 0 94 | macFullscreenMode: 2 95 | d3d11FullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | n3dsDisableStereoscopicView: 0 102 | n3dsEnableSharedListOpt: 1 103 | n3dsEnableVSync: 0 104 | xboxOneResolution: 0 105 | xboxOneSResolution: 0 106 | xboxOneXResolution: 3 107 | xboxOneMonoLoggingLevel: 0 108 | xboxOneLoggingLevel: 1 109 | xboxOneDisableEsram: 0 110 | xboxOnePresentImmediateThreshold: 0 111 | videoMemoryForVertexBuffers: 0 112 | psp2PowerMode: 0 113 | psp2AcquireBGM: 1 114 | wiiUTVResolution: 0 115 | wiiUGamePadMSAA: 1 116 | wiiUSupportsNunchuk: 0 117 | wiiUSupportsClassicController: 0 118 | wiiUSupportsBalanceBoard: 0 119 | wiiUSupportsMotionPlus: 0 120 | wiiUSupportsProController: 0 121 | wiiUAllowScreenCapture: 1 122 | wiiUControllerCount: 0 123 | m_SupportedAspectRatios: 124 | 4:3: 1 125 | 5:4: 1 126 | 16:10: 1 127 | 16:9: 1 128 | Others: 1 129 | bundleVersion: 1.0 130 | preloadedAssets: [] 131 | metroInputSource: 0 132 | wsaTransparentSwapchain: 0 133 | m_HolographicPauseOnTrackingLoss: 1 134 | xboxOneDisableKinectGpuReservation: 0 135 | xboxOneEnable7thCore: 0 136 | vrSettings: 137 | cardboard: 138 | depthFormat: 0 139 | enableTransitionView: 0 140 | daydream: 141 | depthFormat: 0 142 | useSustainedPerformanceMode: 0 143 | enableVideoLayer: 0 144 | useProtectedVideoMemory: 0 145 | minimumSupportedHeadTracking: 0 146 | maximumSupportedHeadTracking: 1 147 | hololens: 148 | depthFormat: 1 149 | depthBufferSharingEnabled: 0 150 | oculus: 151 | sharedDepthBuffer: 0 152 | dashSupport: 0 153 | protectGraphicsMemory: 0 154 | useHDRDisplay: 0 155 | m_ColorGamuts: 00000000 156 | targetPixelDensity: 30 157 | resolutionScalingMode: 0 158 | androidSupportedAspectRatio: 1 159 | androidMaxAspectRatio: 2.1 160 | applicationIdentifier: {} 161 | buildNumber: {} 162 | AndroidBundleVersionCode: 1 163 | AndroidMinSdkVersion: 16 164 | AndroidTargetSdkVersion: 0 165 | AndroidPreferredInstallLocation: 1 166 | aotOptions: 167 | stripEngineCode: 1 168 | iPhoneStrippingLevel: 0 169 | iPhoneScriptCallOptimization: 0 170 | ForceInternetPermission: 0 171 | ForceSDCardPermission: 0 172 | CreateWallpaper: 0 173 | APKExpansionFiles: 0 174 | keepLoadedShadersAlive: 0 175 | StripUnusedMeshComponents: 0 176 | VertexChannelCompressionMask: 177 | serializedVersion: 2 178 | m_Bits: 238 179 | iPhoneSdkVersion: 988 180 | iOSTargetOSVersionString: 7.0 181 | tvOSSdkVersion: 0 182 | tvOSRequireExtendedGameController: 0 183 | tvOSTargetOSVersionString: 9.0 184 | uIPrerenderedIcon: 0 185 | uIRequiresPersistentWiFi: 0 186 | uIRequiresFullScreen: 1 187 | uIStatusBarHidden: 1 188 | uIExitOnSuspend: 0 189 | uIStatusBarStyle: 0 190 | iPhoneSplashScreen: {fileID: 0} 191 | iPhoneHighResSplashScreen: {fileID: 0} 192 | iPhoneTallHighResSplashScreen: {fileID: 0} 193 | iPhone47inSplashScreen: {fileID: 0} 194 | iPhone55inPortraitSplashScreen: {fileID: 0} 195 | iPhone55inLandscapeSplashScreen: {fileID: 0} 196 | iPhone58inPortraitSplashScreen: {fileID: 0} 197 | iPhone58inLandscapeSplashScreen: {fileID: 0} 198 | iPadPortraitSplashScreen: {fileID: 0} 199 | iPadHighResPortraitSplashScreen: {fileID: 0} 200 | iPadLandscapeSplashScreen: {fileID: 0} 201 | iPadHighResLandscapeSplashScreen: {fileID: 0} 202 | appleTVSplashScreen: {fileID: 0} 203 | appleTVSplashScreen2x: {fileID: 0} 204 | tvOSSmallIconLayers: [] 205 | tvOSSmallIconLayers2x: [] 206 | tvOSLargeIconLayers: [] 207 | tvOSLargeIconLayers2x: [] 208 | tvOSTopShelfImageLayers: [] 209 | tvOSTopShelfImageLayers2x: [] 210 | tvOSTopShelfImageWideLayers: [] 211 | tvOSTopShelfImageWideLayers2x: [] 212 | iOSLaunchScreenType: 0 213 | iOSLaunchScreenPortrait: {fileID: 0} 214 | iOSLaunchScreenLandscape: {fileID: 0} 215 | iOSLaunchScreenBackgroundColor: 216 | serializedVersion: 2 217 | rgba: 0 218 | iOSLaunchScreenFillPct: 100 219 | iOSLaunchScreenSize: 100 220 | iOSLaunchScreenCustomXibPath: 221 | iOSLaunchScreeniPadType: 0 222 | iOSLaunchScreeniPadImage: {fileID: 0} 223 | iOSLaunchScreeniPadBackgroundColor: 224 | serializedVersion: 2 225 | rgba: 0 226 | iOSLaunchScreeniPadFillPct: 100 227 | iOSLaunchScreeniPadSize: 100 228 | iOSLaunchScreeniPadCustomXibPath: 229 | iOSUseLaunchScreenStoryboard: 0 230 | iOSLaunchScreenCustomStoryboardPath: 231 | iOSDeviceRequirements: [] 232 | iOSURLSchemes: [] 233 | iOSBackgroundModes: 0 234 | iOSMetalForceHardShadows: 0 235 | metalEditorSupport: 1 236 | metalAPIValidation: 1 237 | iOSRenderExtraFrameOnPause: 0 238 | appleDeveloperTeamID: 239 | iOSManualSigningProvisioningProfileID: 240 | tvOSManualSigningProvisioningProfileID: 241 | appleEnableAutomaticSigning: 0 242 | clonedFromGUID: 00000000000000000000000000000000 243 | AndroidTargetDevice: 0 244 | AndroidSplashScreenScale: 0 245 | androidSplashScreen: {fileID: 0} 246 | AndroidKeystoreName: 247 | AndroidKeyaliasName: 248 | AndroidTVCompatibility: 1 249 | AndroidIsGame: 1 250 | AndroidEnableTango: 0 251 | androidEnableBanner: 1 252 | androidUseLowAccuracyLocation: 0 253 | m_AndroidBanners: 254 | - width: 320 255 | height: 180 256 | banner: {fileID: 0} 257 | androidGamepadSupportLevel: 0 258 | resolutionDialogBanner: {fileID: 0} 259 | m_BuildTargetIcons: [] 260 | m_BuildTargetBatching: [] 261 | m_BuildTargetGraphicsAPIs: [] 262 | m_BuildTargetVRSettings: [] 263 | m_BuildTargetEnableVuforiaSettings: [] 264 | openGLRequireES31: 0 265 | openGLRequireES31AEP: 0 266 | m_TemplateCustomTags: {} 267 | mobileMTRendering: 268 | Android: 1 269 | iPhone: 1 270 | tvOS: 1 271 | m_BuildTargetGroupLightmapEncodingQuality: [] 272 | wiiUTitleID: 0005000011000000 273 | wiiUGroupID: 00010000 274 | wiiUCommonSaveSize: 4096 275 | wiiUAccountSaveSize: 2048 276 | wiiUOlvAccessKey: 0 277 | wiiUTinCode: 0 278 | wiiUJoinGameId: 0 279 | wiiUJoinGameModeMask: 0000000000000000 280 | wiiUCommonBossSize: 0 281 | wiiUAccountBossSize: 0 282 | wiiUAddOnUniqueIDs: [] 283 | wiiUMainThreadStackSize: 3072 284 | wiiULoaderThreadStackSize: 1024 285 | wiiUSystemHeapSize: 128 286 | wiiUTVStartupScreen: {fileID: 0} 287 | wiiUGamePadStartupScreen: {fileID: 0} 288 | wiiUDrcBufferDisabled: 0 289 | wiiUProfilerLibPath: 290 | playModeTestRunnerEnabled: 0 291 | actionOnDotNetUnhandledException: 1 292 | enableInternalProfiler: 0 293 | logObjCUncaughtExceptions: 1 294 | enableCrashReportAPI: 0 295 | cameraUsageDescription: 296 | locationUsageDescription: 297 | microphoneUsageDescription: 298 | switchNetLibKey: 299 | switchSocketMemoryPoolSize: 6144 300 | switchSocketAllocatorPoolSize: 128 301 | switchSocketConcurrencyLimit: 14 302 | switchScreenResolutionBehavior: 2 303 | switchUseCPUProfiler: 0 304 | switchApplicationID: 0x01004b9000490000 305 | switchNSODependencies: 306 | switchTitleNames_0: 307 | switchTitleNames_1: 308 | switchTitleNames_2: 309 | switchTitleNames_3: 310 | switchTitleNames_4: 311 | switchTitleNames_5: 312 | switchTitleNames_6: 313 | switchTitleNames_7: 314 | switchTitleNames_8: 315 | switchTitleNames_9: 316 | switchTitleNames_10: 317 | switchTitleNames_11: 318 | switchTitleNames_12: 319 | switchTitleNames_13: 320 | switchTitleNames_14: 321 | switchPublisherNames_0: 322 | switchPublisherNames_1: 323 | switchPublisherNames_2: 324 | switchPublisherNames_3: 325 | switchPublisherNames_4: 326 | switchPublisherNames_5: 327 | switchPublisherNames_6: 328 | switchPublisherNames_7: 329 | switchPublisherNames_8: 330 | switchPublisherNames_9: 331 | switchPublisherNames_10: 332 | switchPublisherNames_11: 333 | switchPublisherNames_12: 334 | switchPublisherNames_13: 335 | switchPublisherNames_14: 336 | switchIcons_0: {fileID: 0} 337 | switchIcons_1: {fileID: 0} 338 | switchIcons_2: {fileID: 0} 339 | switchIcons_3: {fileID: 0} 340 | switchIcons_4: {fileID: 0} 341 | switchIcons_5: {fileID: 0} 342 | switchIcons_6: {fileID: 0} 343 | switchIcons_7: {fileID: 0} 344 | switchIcons_8: {fileID: 0} 345 | switchIcons_9: {fileID: 0} 346 | switchIcons_10: {fileID: 0} 347 | switchIcons_11: {fileID: 0} 348 | switchIcons_12: {fileID: 0} 349 | switchIcons_13: {fileID: 0} 350 | switchIcons_14: {fileID: 0} 351 | switchSmallIcons_0: {fileID: 0} 352 | switchSmallIcons_1: {fileID: 0} 353 | switchSmallIcons_2: {fileID: 0} 354 | switchSmallIcons_3: {fileID: 0} 355 | switchSmallIcons_4: {fileID: 0} 356 | switchSmallIcons_5: {fileID: 0} 357 | switchSmallIcons_6: {fileID: 0} 358 | switchSmallIcons_7: {fileID: 0} 359 | switchSmallIcons_8: {fileID: 0} 360 | switchSmallIcons_9: {fileID: 0} 361 | switchSmallIcons_10: {fileID: 0} 362 | switchSmallIcons_11: {fileID: 0} 363 | switchSmallIcons_12: {fileID: 0} 364 | switchSmallIcons_13: {fileID: 0} 365 | switchSmallIcons_14: {fileID: 0} 366 | switchManualHTML: 367 | switchAccessibleURLs: 368 | switchLegalInformation: 369 | switchMainThreadStackSize: 1048576 370 | switchPresenceGroupId: 371 | switchLogoHandling: 0 372 | switchReleaseVersion: 0 373 | switchDisplayVersion: 1.0.0 374 | switchStartupUserAccount: 0 375 | switchTouchScreenUsage: 0 376 | switchSupportedLanguagesMask: 0 377 | switchLogoType: 0 378 | switchApplicationErrorCodeCategory: 379 | switchUserAccountSaveDataSize: 0 380 | switchUserAccountSaveDataJournalSize: 0 381 | switchApplicationAttribute: 0 382 | switchCardSpecSize: -1 383 | switchCardSpecClock: -1 384 | switchRatingsMask: 0 385 | switchRatingsInt_0: 0 386 | switchRatingsInt_1: 0 387 | switchRatingsInt_2: 0 388 | switchRatingsInt_3: 0 389 | switchRatingsInt_4: 0 390 | switchRatingsInt_5: 0 391 | switchRatingsInt_6: 0 392 | switchRatingsInt_7: 0 393 | switchRatingsInt_8: 0 394 | switchRatingsInt_9: 0 395 | switchRatingsInt_10: 0 396 | switchRatingsInt_11: 0 397 | switchLocalCommunicationIds_0: 398 | switchLocalCommunicationIds_1: 399 | switchLocalCommunicationIds_2: 400 | switchLocalCommunicationIds_3: 401 | switchLocalCommunicationIds_4: 402 | switchLocalCommunicationIds_5: 403 | switchLocalCommunicationIds_6: 404 | switchLocalCommunicationIds_7: 405 | switchParentalControl: 0 406 | switchAllowsScreenshot: 1 407 | switchAllowsVideoCapturing: 1 408 | switchAllowsRuntimeAddOnContentInstall: 0 409 | switchDataLossConfirmation: 0 410 | switchSupportedNpadStyles: 3 411 | switchSocketConfigEnabled: 0 412 | switchTcpInitialSendBufferSize: 32 413 | switchTcpInitialReceiveBufferSize: 64 414 | switchTcpAutoSendBufferSizeMax: 256 415 | switchTcpAutoReceiveBufferSizeMax: 256 416 | switchUdpSendBufferSize: 9 417 | switchUdpReceiveBufferSize: 42 418 | switchSocketBufferEfficiency: 4 419 | switchSocketInitializeEnabled: 1 420 | switchNetworkInterfaceManagerInitializeEnabled: 1 421 | switchPlayerConnectionEnabled: 1 422 | ps4NPAgeRating: 12 423 | ps4NPTitleSecret: 424 | ps4NPTrophyPackPath: 425 | ps4ParentalLevel: 11 426 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 427 | ps4Category: 0 428 | ps4MasterVersion: 01.00 429 | ps4AppVersion: 01.00 430 | ps4AppType: 0 431 | ps4ParamSfxPath: 432 | ps4VideoOutPixelFormat: 0 433 | ps4VideoOutInitialWidth: 1920 434 | ps4VideoOutBaseModeInitialWidth: 1920 435 | ps4VideoOutReprojectionRate: 60 436 | ps4PronunciationXMLPath: 437 | ps4PronunciationSIGPath: 438 | ps4BackgroundImagePath: 439 | ps4StartupImagePath: 440 | ps4StartupImagesFolder: 441 | ps4IconImagesFolder: 442 | ps4SaveDataImagePath: 443 | ps4SdkOverride: 444 | ps4BGMPath: 445 | ps4ShareFilePath: 446 | ps4ShareOverlayImagePath: 447 | ps4PrivacyGuardImagePath: 448 | ps4NPtitleDatPath: 449 | ps4RemotePlayKeyAssignment: -1 450 | ps4RemotePlayKeyMappingDir: 451 | ps4PlayTogetherPlayerCount: 0 452 | ps4EnterButtonAssignment: 1 453 | ps4ApplicationParam1: 0 454 | ps4ApplicationParam2: 0 455 | ps4ApplicationParam3: 0 456 | ps4ApplicationParam4: 0 457 | ps4DownloadDataSize: 0 458 | ps4GarlicHeapSize: 2048 459 | ps4ProGarlicHeapSize: 2560 460 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 461 | ps4pnSessions: 1 462 | ps4pnPresence: 1 463 | ps4pnFriends: 1 464 | ps4pnGameCustomData: 1 465 | playerPrefsSupport: 0 466 | restrictedAudioUsageRights: 0 467 | ps4UseResolutionFallback: 0 468 | ps4ReprojectionSupport: 0 469 | ps4UseAudio3dBackend: 0 470 | ps4SocialScreenEnabled: 0 471 | ps4ScriptOptimizationLevel: 0 472 | ps4Audio3dVirtualSpeakerCount: 14 473 | ps4attribCpuUsage: 0 474 | ps4PatchPkgPath: 475 | ps4PatchLatestPkgPath: 476 | ps4PatchChangeinfoPath: 477 | ps4PatchDayOne: 0 478 | ps4attribUserManagement: 0 479 | ps4attribMoveSupport: 0 480 | ps4attrib3DSupport: 0 481 | ps4attribShareSupport: 0 482 | ps4attribExclusiveVR: 0 483 | ps4disableAutoHideSplash: 0 484 | ps4videoRecordingFeaturesUsed: 0 485 | ps4contentSearchFeaturesUsed: 0 486 | ps4attribEyeToEyeDistanceSettingVR: 0 487 | ps4IncludedModules: [] 488 | monoEnv: 489 | psp2Splashimage: {fileID: 0} 490 | psp2NPTrophyPackPath: 491 | psp2NPSupportGBMorGJP: 0 492 | psp2NPAgeRating: 12 493 | psp2NPTitleDatPath: 494 | psp2NPCommsID: 495 | psp2NPCommunicationsID: 496 | psp2NPCommsPassphrase: 497 | psp2NPCommsSig: 498 | psp2ParamSfxPath: 499 | psp2ManualPath: 500 | psp2LiveAreaGatePath: 501 | psp2LiveAreaBackroundPath: 502 | psp2LiveAreaPath: 503 | psp2LiveAreaTrialPath: 504 | psp2PatchChangeInfoPath: 505 | psp2PatchOriginalPackage: 506 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 507 | psp2KeystoneFile: 508 | psp2MemoryExpansionMode: 0 509 | psp2DRMType: 0 510 | psp2StorageType: 0 511 | psp2MediaCapacity: 0 512 | psp2DLCConfigPath: 513 | psp2ThumbnailPath: 514 | psp2BackgroundPath: 515 | psp2SoundPath: 516 | psp2TrophyCommId: 517 | psp2TrophyPackagePath: 518 | psp2PackagedResourcesPath: 519 | psp2SaveDataQuota: 10240 520 | psp2ParentalLevel: 1 521 | psp2ShortTitle: Not Set 522 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 523 | psp2Category: 0 524 | psp2MasterVersion: 01.00 525 | psp2AppVersion: 01.00 526 | psp2TVBootMode: 0 527 | psp2EnterButtonAssignment: 2 528 | psp2TVDisableEmu: 0 529 | psp2AllowTwitterDialog: 1 530 | psp2Upgradable: 0 531 | psp2HealthWarning: 0 532 | psp2UseLibLocation: 0 533 | psp2InfoBarOnStartup: 0 534 | psp2InfoBarColor: 0 535 | psp2ScriptOptimizationLevel: 0 536 | psmSplashimage: {fileID: 0} 537 | splashScreenBackgroundSourceLandscape: {fileID: 0} 538 | splashScreenBackgroundSourcePortrait: {fileID: 0} 539 | spritePackerPolicy: 540 | webGLMemorySize: 256 541 | webGLExceptionSupport: 1 542 | webGLNameFilesAsHashes: 0 543 | webGLDataCaching: 0 544 | webGLDebugSymbols: 0 545 | webGLEmscriptenArgs: 546 | webGLModulesDirectory: 547 | webGLTemplate: APPLICATION:Default 548 | webGLAnalyzeBuildSize: 0 549 | webGLUseEmbeddedResources: 0 550 | webGLUseWasm: 0 551 | webGLCompressionFormat: 1 552 | scriptingDefineSymbols: {} 553 | platformArchitecture: {} 554 | scriptingBackend: {} 555 | incrementalIl2cppBuild: {} 556 | additionalIl2CppArgs: 557 | scriptingRuntimeVersion: 0 558 | apiCompatibilityLevelPerPlatform: {} 559 | m_RenderingPath: 1 560 | m_MobileRenderingPath: 1 561 | metroPackageName: Unity-SafeAreaContrller 562 | metroPackageVersion: 563 | metroCertificatePath: 564 | metroCertificatePassword: 565 | metroCertificateSubject: 566 | metroCertificateIssuer: 567 | metroCertificateNotAfter: 0000000000000000 568 | metroApplicationDescription: Unity-SafeAreaContrller 569 | wsaImages: {} 570 | metroTileShortName: 571 | metroCommandLineArgsFile: 572 | metroTileShowName: 0 573 | metroMediumTileShowName: 0 574 | metroLargeTileShowName: 0 575 | metroWideTileShowName: 0 576 | metroDefaultTileSize: 1 577 | metroTileForegroundText: 2 578 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 579 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 580 | a: 1} 581 | metroSplashScreenUseBackgroundColor: 0 582 | platformCapabilities: {} 583 | metroFTAName: 584 | metroFTAFileTypes: [] 585 | metroProtocolName: 586 | metroCompilationOverrides: 1 587 | tizenProductDescription: 588 | tizenProductURL: 589 | tizenSigningProfileName: 590 | tizenGPSPermissions: 0 591 | tizenMicrophonePermissions: 0 592 | tizenDeploymentTarget: 593 | tizenDeploymentTargetType: -1 594 | tizenMinOSVersion: 1 595 | n3dsUseExtSaveData: 0 596 | n3dsCompressStaticMem: 1 597 | n3dsExtSaveDataNumber: 0x12345 598 | n3dsStackSize: 131072 599 | n3dsTargetPlatform: 2 600 | n3dsRegion: 7 601 | n3dsMediaSize: 0 602 | n3dsLogoStyle: 3 603 | n3dsTitle: GameName 604 | n3dsProductCode: 605 | n3dsApplicationId: 0xFF3FF 606 | XboxOneProductId: 607 | XboxOneUpdateKey: 608 | XboxOneSandboxId: 609 | XboxOneContentId: 610 | XboxOneTitleId: 611 | XboxOneSCId: 612 | XboxOneGameOsOverridePath: 613 | XboxOnePackagingOverridePath: 614 | XboxOneAppManifestOverridePath: 615 | XboxOnePackageEncryption: 0 616 | XboxOnePackageUpdateGranularity: 2 617 | XboxOneDescription: 618 | XboxOneLanguage: 619 | - enus 620 | XboxOneCapability: [] 621 | XboxOneGameRating: {} 622 | XboxOneIsContentPackage: 0 623 | XboxOneEnableGPUVariability: 0 624 | XboxOneSockets: {} 625 | XboxOneSplashScreen: {fileID: 0} 626 | XboxOneAllowedProductIds: [] 627 | XboxOnePersistentLocalStorageSize: 0 628 | xboxOneScriptCompiler: 0 629 | vrEditorSettings: 630 | daydream: 631 | daydreamIconForeground: {fileID: 0} 632 | daydreamIconBackground: {fileID: 0} 633 | cloudServicesEnabled: {} 634 | facebookSdkVersion: 7.9.4 635 | apiCompatibilityLevel: 2 636 | cloudProjectId: 637 | projectName: 638 | organizationId: 639 | cloudEnabled: 0 640 | enableNativePlatformBackendsForNewInputSystem: 0 641 | disableOldInputManagerSupport: 0 642 | -------------------------------------------------------------------------------- /Assets/Demo.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_TemporalCoherenceThreshold: 1 54 | m_EnvironmentLightingMode: 0 55 | m_EnableBakedLightmaps: 0 56 | m_EnableRealtimeLightmaps: 0 57 | m_LightmapEditorSettings: 58 | serializedVersion: 10 59 | m_Resolution: 2 60 | m_BakeResolution: 40 61 | m_AtlasSize: 1024 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 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: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVRFilterTypeDirect: 0 81 | m_PVRFilterTypeIndirect: 0 82 | m_PVRFilterTypeAO: 0 83 | m_PVRFilteringMode: 1 84 | m_PVRCulling: 1 85 | m_PVRFilteringGaussRadiusDirect: 1 86 | m_PVRFilteringGaussRadiusIndirect: 5 87 | m_PVRFilteringGaussRadiusAO: 2 88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 90 | m_PVRFilteringAtrousPositionSigmaAO: 1 91 | m_ShowResolutionOverlay: 1 92 | m_LightingDataAsset: {fileID: 0} 93 | m_UseShadowmask: 1 94 | --- !u!196 &4 95 | NavMeshSettings: 96 | serializedVersion: 2 97 | m_ObjectHideFlags: 0 98 | m_BuildSettings: 99 | serializedVersion: 2 100 | agentTypeID: 0 101 | agentRadius: 0.5 102 | agentHeight: 2 103 | agentSlope: 45 104 | agentClimb: 0.4 105 | ledgeDropHeight: 0 106 | maxJumpAcrossDistance: 0 107 | minRegionArea: 2 108 | manualCellSize: 0 109 | cellSize: 0.16666667 110 | manualTileSize: 0 111 | tileSize: 256 112 | accuratePlacement: 0 113 | debug: 114 | m_Flags: 0 115 | m_NavMeshData: {fileID: 0} 116 | --- !u!1 &55398255 117 | GameObject: 118 | m_ObjectHideFlags: 0 119 | m_PrefabParentObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | serializedVersion: 5 122 | m_Component: 123 | - component: {fileID: 55398259} 124 | - component: {fileID: 55398258} 125 | - component: {fileID: 55398257} 126 | - component: {fileID: 55398256} 127 | - component: {fileID: 55398260} 128 | m_Layer: 5 129 | m_Name: Canvas 130 | m_TagString: Untagged 131 | m_Icon: {fileID: 0} 132 | m_NavMeshLayer: 0 133 | m_StaticEditorFlags: 0 134 | m_IsActive: 1 135 | --- !u!114 &55398256 136 | MonoBehaviour: 137 | m_ObjectHideFlags: 0 138 | m_PrefabParentObject: {fileID: 0} 139 | m_PrefabInternal: {fileID: 0} 140 | m_GameObject: {fileID: 55398255} 141 | m_Enabled: 1 142 | m_EditorHideFlags: 0 143 | m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 144 | m_Name: 145 | m_EditorClassIdentifier: 146 | m_IgnoreReversedGraphics: 1 147 | m_BlockingObjects: 0 148 | m_BlockingMask: 149 | serializedVersion: 2 150 | m_Bits: 4294967295 151 | --- !u!114 &55398257 152 | MonoBehaviour: 153 | m_ObjectHideFlags: 0 154 | m_PrefabParentObject: {fileID: 0} 155 | m_PrefabInternal: {fileID: 0} 156 | m_GameObject: {fileID: 55398255} 157 | m_Enabled: 1 158 | m_EditorHideFlags: 0 159 | m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 160 | m_Name: 161 | m_EditorClassIdentifier: 162 | m_UiScaleMode: 1 163 | m_ReferencePixelsPerUnit: 100 164 | m_ScaleFactor: 1 165 | m_ReferenceResolution: {x: 800, y: 600} 166 | m_ScreenMatchMode: 0 167 | m_MatchWidthOrHeight: 0 168 | m_PhysicalUnit: 3 169 | m_FallbackScreenDPI: 96 170 | m_DefaultSpriteDPI: 96 171 | m_DynamicPixelsPerUnit: 1 172 | --- !u!223 &55398258 173 | Canvas: 174 | m_ObjectHideFlags: 0 175 | m_PrefabParentObject: {fileID: 0} 176 | m_PrefabInternal: {fileID: 0} 177 | m_GameObject: {fileID: 55398255} 178 | m_Enabled: 1 179 | serializedVersion: 3 180 | m_RenderMode: 1 181 | m_Camera: {fileID: 1827481802} 182 | m_PlaneDistance: 100 183 | m_PixelPerfect: 1 184 | m_ReceivesEvents: 1 185 | m_OverrideSorting: 0 186 | m_OverridePixelPerfect: 0 187 | m_SortingBucketNormalizedSize: 0 188 | m_AdditionalShaderChannelsFlag: 0 189 | m_SortingLayerID: 0 190 | m_SortingOrder: 0 191 | m_TargetDisplay: 0 192 | --- !u!224 &55398259 193 | RectTransform: 194 | m_ObjectHideFlags: 0 195 | m_PrefabParentObject: {fileID: 0} 196 | m_PrefabInternal: {fileID: 0} 197 | m_GameObject: {fileID: 55398255} 198 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 199 | m_LocalPosition: {x: 0, y: 0, z: 0} 200 | m_LocalScale: {x: 0, y: 0, z: 0} 201 | m_Children: 202 | - {fileID: 156059455} 203 | - {fileID: 471004605} 204 | m_Father: {fileID: 0} 205 | m_RootOrder: 1 206 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 207 | m_AnchorMin: {x: 0, y: 0} 208 | m_AnchorMax: {x: 0, y: 0} 209 | m_AnchoredPosition: {x: 0, y: 0} 210 | m_SizeDelta: {x: 0, y: 0} 211 | m_Pivot: {x: 0, y: 0} 212 | --- !u!114 &55398260 213 | MonoBehaviour: 214 | m_ObjectHideFlags: 0 215 | m_PrefabParentObject: {fileID: 0} 216 | m_PrefabInternal: {fileID: 0} 217 | m_GameObject: {fileID: 55398255} 218 | m_Enabled: 1 219 | m_EditorHideFlags: 0 220 | m_Script: {fileID: 11500000, guid: 0df628083e0fc4428ad7d1f900749f7f, type: 3} 221 | m_Name: 222 | m_EditorClassIdentifier: 223 | ControlType: 1 224 | UpdateTimming: 21 225 | --- !u!1 &156059454 226 | GameObject: 227 | m_ObjectHideFlags: 0 228 | m_PrefabParentObject: {fileID: 0} 229 | m_PrefabInternal: {fileID: 0} 230 | serializedVersion: 5 231 | m_Component: 232 | - component: {fileID: 156059455} 233 | - component: {fileID: 156059456} 234 | - component: {fileID: 156059457} 235 | m_Layer: 5 236 | m_Name: NoneSafeArea 237 | m_TagString: Untagged 238 | m_Icon: {fileID: 0} 239 | m_NavMeshLayer: 0 240 | m_StaticEditorFlags: 0 241 | m_IsActive: 1 242 | --- !u!224 &156059455 243 | RectTransform: 244 | m_ObjectHideFlags: 0 245 | m_PrefabParentObject: {fileID: 0} 246 | m_PrefabInternal: {fileID: 0} 247 | m_GameObject: {fileID: 156059454} 248 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 249 | m_LocalPosition: {x: 0, y: 0, z: 0.1} 250 | m_LocalScale: {x: 1, y: 1, z: 1} 251 | m_Children: 252 | - {fileID: 1087154427} 253 | m_Father: {fileID: 55398259} 254 | m_RootOrder: 0 255 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 256 | m_AnchorMin: {x: 0, y: 0} 257 | m_AnchorMax: {x: 1, y: 1} 258 | m_AnchoredPosition: {x: 0, y: 0} 259 | m_SizeDelta: {x: 0, y: 0} 260 | m_Pivot: {x: 0.5, y: 0.5} 261 | --- !u!223 &156059456 262 | Canvas: 263 | m_ObjectHideFlags: 0 264 | m_PrefabParentObject: {fileID: 0} 265 | m_PrefabInternal: {fileID: 0} 266 | m_GameObject: {fileID: 156059454} 267 | m_Enabled: 1 268 | serializedVersion: 3 269 | m_RenderMode: 2 270 | m_Camera: {fileID: 0} 271 | m_PlaneDistance: 100 272 | m_PixelPerfect: 0 273 | m_ReceivesEvents: 1 274 | m_OverrideSorting: 1 275 | m_OverridePixelPerfect: 0 276 | m_SortingBucketNormalizedSize: 0 277 | m_AdditionalShaderChannelsFlag: 0 278 | m_SortingLayerID: 0 279 | m_SortingOrder: 0 280 | m_TargetDisplay: 0 281 | --- !u!114 &156059457 282 | MonoBehaviour: 283 | m_ObjectHideFlags: 0 284 | m_PrefabParentObject: {fileID: 0} 285 | m_PrefabInternal: {fileID: 0} 286 | m_GameObject: {fileID: 156059454} 287 | m_Enabled: 1 288 | m_EditorHideFlags: 0 289 | m_Script: {fileID: 11500000, guid: 4bb21d429c3b7489c827641961926f65, type: 3} 290 | m_Name: 291 | m_EditorClassIdentifier: 292 | isSafeCanvas: 0 293 | additionalSortingOrder: 0 294 | --- !u!1 &446072444 295 | GameObject: 296 | m_ObjectHideFlags: 0 297 | m_PrefabParentObject: {fileID: 0} 298 | m_PrefabInternal: {fileID: 0} 299 | serializedVersion: 5 300 | m_Component: 301 | - component: {fileID: 446072447} 302 | - component: {fileID: 446072446} 303 | - component: {fileID: 446072445} 304 | m_Layer: 0 305 | m_Name: EventSystem 306 | m_TagString: Untagged 307 | m_Icon: {fileID: 0} 308 | m_NavMeshLayer: 0 309 | m_StaticEditorFlags: 0 310 | m_IsActive: 1 311 | --- !u!114 &446072445 312 | MonoBehaviour: 313 | m_ObjectHideFlags: 0 314 | m_PrefabParentObject: {fileID: 0} 315 | m_PrefabInternal: {fileID: 0} 316 | m_GameObject: {fileID: 446072444} 317 | m_Enabled: 1 318 | m_EditorHideFlags: 0 319 | m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 320 | m_Name: 321 | m_EditorClassIdentifier: 322 | m_HorizontalAxis: Horizontal 323 | m_VerticalAxis: Vertical 324 | m_SubmitButton: Submit 325 | m_CancelButton: Cancel 326 | m_InputActionsPerSecond: 10 327 | m_RepeatDelay: 0.5 328 | m_ForceModuleActive: 0 329 | --- !u!114 &446072446 330 | MonoBehaviour: 331 | m_ObjectHideFlags: 0 332 | m_PrefabParentObject: {fileID: 0} 333 | m_PrefabInternal: {fileID: 0} 334 | m_GameObject: {fileID: 446072444} 335 | m_Enabled: 1 336 | m_EditorHideFlags: 0 337 | m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 338 | m_Name: 339 | m_EditorClassIdentifier: 340 | m_FirstSelected: {fileID: 0} 341 | m_sendNavigationEvents: 1 342 | m_DragThreshold: 5 343 | --- !u!4 &446072447 344 | Transform: 345 | m_ObjectHideFlags: 0 346 | m_PrefabParentObject: {fileID: 0} 347 | m_PrefabInternal: {fileID: 0} 348 | m_GameObject: {fileID: 446072444} 349 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 350 | m_LocalPosition: {x: 0, y: 0, z: 0} 351 | m_LocalScale: {x: 1, y: 1, z: 1} 352 | m_Children: [] 353 | m_Father: {fileID: 0} 354 | m_RootOrder: 2 355 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 356 | --- !u!1 &471004604 357 | GameObject: 358 | m_ObjectHideFlags: 0 359 | m_PrefabParentObject: {fileID: 0} 360 | m_PrefabInternal: {fileID: 0} 361 | serializedVersion: 5 362 | m_Component: 363 | - component: {fileID: 471004605} 364 | - component: {fileID: 471004606} 365 | - component: {fileID: 471004607} 366 | m_Layer: 5 367 | m_Name: SafeArea 368 | m_TagString: Untagged 369 | m_Icon: {fileID: 0} 370 | m_NavMeshLayer: 0 371 | m_StaticEditorFlags: 0 372 | m_IsActive: 1 373 | --- !u!224 &471004605 374 | RectTransform: 375 | m_ObjectHideFlags: 0 376 | m_PrefabParentObject: {fileID: 0} 377 | m_PrefabInternal: {fileID: 0} 378 | m_GameObject: {fileID: 471004604} 379 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 380 | m_LocalPosition: {x: 0, y: 0, z: 0} 381 | m_LocalScale: {x: 1, y: 1, z: 1} 382 | m_Children: 383 | - {fileID: 1324607698} 384 | - {fileID: 1535505657} 385 | - {fileID: 475083628} 386 | - {fileID: 1577265775} 387 | m_Father: {fileID: 55398259} 388 | m_RootOrder: 1 389 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 390 | m_AnchorMin: {x: 0, y: 0} 391 | m_AnchorMax: {x: 1, y: 1} 392 | m_AnchoredPosition: {x: 0, y: 0} 393 | m_SizeDelta: {x: 0, y: 0} 394 | m_Pivot: {x: 0.5, y: 0.5} 395 | --- !u!223 &471004606 396 | Canvas: 397 | m_ObjectHideFlags: 0 398 | m_PrefabParentObject: {fileID: 0} 399 | m_PrefabInternal: {fileID: 0} 400 | m_GameObject: {fileID: 471004604} 401 | m_Enabled: 1 402 | serializedVersion: 3 403 | m_RenderMode: 2 404 | m_Camera: {fileID: 0} 405 | m_PlaneDistance: 100 406 | m_PixelPerfect: 0 407 | m_ReceivesEvents: 1 408 | m_OverrideSorting: 1 409 | m_OverridePixelPerfect: 0 410 | m_SortingBucketNormalizedSize: 0 411 | m_AdditionalShaderChannelsFlag: 0 412 | m_SortingLayerID: 0 413 | m_SortingOrder: 0 414 | m_TargetDisplay: 0 415 | --- !u!114 &471004607 416 | MonoBehaviour: 417 | m_ObjectHideFlags: 0 418 | m_PrefabParentObject: {fileID: 0} 419 | m_PrefabInternal: {fileID: 0} 420 | m_GameObject: {fileID: 471004604} 421 | m_Enabled: 1 422 | m_EditorHideFlags: 0 423 | m_Script: {fileID: 11500000, guid: 4bb21d429c3b7489c827641961926f65, type: 3} 424 | m_Name: 425 | m_EditorClassIdentifier: 426 | isSafeCanvas: 1 427 | additionalSortingOrder: 0 428 | --- !u!1 &475083627 429 | GameObject: 430 | m_ObjectHideFlags: 0 431 | m_PrefabParentObject: {fileID: 0} 432 | m_PrefabInternal: {fileID: 0} 433 | serializedVersion: 5 434 | m_Component: 435 | - component: {fileID: 475083628} 436 | - component: {fileID: 475083630} 437 | - component: {fileID: 475083629} 438 | m_Layer: 5 439 | m_Name: Text 440 | m_TagString: Untagged 441 | m_Icon: {fileID: 0} 442 | m_NavMeshLayer: 0 443 | m_StaticEditorFlags: 0 444 | m_IsActive: 1 445 | --- !u!224 &475083628 446 | RectTransform: 447 | m_ObjectHideFlags: 0 448 | m_PrefabParentObject: {fileID: 0} 449 | m_PrefabInternal: {fileID: 0} 450 | m_GameObject: {fileID: 475083627} 451 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 452 | m_LocalPosition: {x: 0, y: 0, z: 0} 453 | m_LocalScale: {x: 1, y: 1, z: 1} 454 | m_Children: [] 455 | m_Father: {fileID: 471004605} 456 | m_RootOrder: 2 457 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 458 | m_AnchorMin: {x: 0, y: 1} 459 | m_AnchorMax: {x: 1, y: 1} 460 | m_AnchoredPosition: {x: 0, y: -30} 461 | m_SizeDelta: {x: -256, y: 30} 462 | m_Pivot: {x: 0.5, y: 0.5} 463 | --- !u!114 &475083629 464 | MonoBehaviour: 465 | m_ObjectHideFlags: 0 466 | m_PrefabParentObject: {fileID: 0} 467 | m_PrefabInternal: {fileID: 0} 468 | m_GameObject: {fileID: 475083627} 469 | m_Enabled: 1 470 | m_EditorHideFlags: 0 471 | m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 472 | m_Name: 473 | m_EditorClassIdentifier: 474 | m_Material: {fileID: 0} 475 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 476 | m_RaycastTarget: 1 477 | m_OnCullStateChanged: 478 | m_PersistentCalls: 479 | m_Calls: [] 480 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 481 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 482 | m_FontData: 483 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 484 | m_FontSize: 14 485 | m_FontStyle: 0 486 | m_BestFit: 0 487 | m_MinSize: 10 488 | m_MaxSize: 40 489 | m_Alignment: 4 490 | m_AlignByGeometry: 0 491 | m_RichText: 1 492 | m_HorizontalOverflow: 0 493 | m_VerticalOverflow: 0 494 | m_LineSpacing: 1 495 | m_Text: SafeArea Test for iPhone X 496 | --- !u!222 &475083630 497 | CanvasRenderer: 498 | m_ObjectHideFlags: 0 499 | m_PrefabParentObject: {fileID: 0} 500 | m_PrefabInternal: {fileID: 0} 501 | m_GameObject: {fileID: 475083627} 502 | --- !u!1 &853210107 503 | GameObject: 504 | m_ObjectHideFlags: 0 505 | m_PrefabParentObject: {fileID: 0} 506 | m_PrefabInternal: {fileID: 0} 507 | serializedVersion: 5 508 | m_Component: 509 | - component: {fileID: 853210108} 510 | - component: {fileID: 853210110} 511 | - component: {fileID: 853210109} 512 | m_Layer: 5 513 | m_Name: Text 514 | m_TagString: Untagged 515 | m_Icon: {fileID: 0} 516 | m_NavMeshLayer: 0 517 | m_StaticEditorFlags: 0 518 | m_IsActive: 1 519 | --- !u!224 &853210108 520 | RectTransform: 521 | m_ObjectHideFlags: 0 522 | m_PrefabParentObject: {fileID: 0} 523 | m_PrefabInternal: {fileID: 0} 524 | m_GameObject: {fileID: 853210107} 525 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 526 | m_LocalPosition: {x: 0, y: 0, z: 0} 527 | m_LocalScale: {x: 1, y: 1, z: 1} 528 | m_Children: [] 529 | m_Father: {fileID: 1535505657} 530 | m_RootOrder: 0 531 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 532 | m_AnchorMin: {x: 0, y: 0} 533 | m_AnchorMax: {x: 1, y: 1} 534 | m_AnchoredPosition: {x: 0, y: 0} 535 | m_SizeDelta: {x: 0, y: 0} 536 | m_Pivot: {x: 0.5, y: 0.5} 537 | --- !u!114 &853210109 538 | MonoBehaviour: 539 | m_ObjectHideFlags: 0 540 | m_PrefabParentObject: {fileID: 0} 541 | m_PrefabInternal: {fileID: 0} 542 | m_GameObject: {fileID: 853210107} 543 | m_Enabled: 1 544 | m_EditorHideFlags: 0 545 | m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 546 | m_Name: 547 | m_EditorClassIdentifier: 548 | m_Material: {fileID: 0} 549 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 550 | m_RaycastTarget: 1 551 | m_OnCullStateChanged: 552 | m_PersistentCalls: 553 | m_Calls: [] 554 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 555 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 556 | m_FontData: 557 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 558 | m_FontSize: 14 559 | m_FontStyle: 0 560 | m_BestFit: 0 561 | m_MinSize: 10 562 | m_MaxSize: 40 563 | m_Alignment: 4 564 | m_AlignByGeometry: 0 565 | m_RichText: 1 566 | m_HorizontalOverflow: 0 567 | m_VerticalOverflow: 0 568 | m_LineSpacing: 1 569 | m_Text: Button 570 | --- !u!222 &853210110 571 | CanvasRenderer: 572 | m_ObjectHideFlags: 0 573 | m_PrefabParentObject: {fileID: 0} 574 | m_PrefabInternal: {fileID: 0} 575 | m_GameObject: {fileID: 853210107} 576 | --- !u!1 &1087154426 577 | GameObject: 578 | m_ObjectHideFlags: 0 579 | m_PrefabParentObject: {fileID: 0} 580 | m_PrefabInternal: {fileID: 0} 581 | serializedVersion: 5 582 | m_Component: 583 | - component: {fileID: 1087154427} 584 | - component: {fileID: 1087154429} 585 | - component: {fileID: 1087154428} 586 | m_Layer: 5 587 | m_Name: Image 588 | m_TagString: Untagged 589 | m_Icon: {fileID: 0} 590 | m_NavMeshLayer: 0 591 | m_StaticEditorFlags: 0 592 | m_IsActive: 1 593 | --- !u!224 &1087154427 594 | RectTransform: 595 | m_ObjectHideFlags: 0 596 | m_PrefabParentObject: {fileID: 0} 597 | m_PrefabInternal: {fileID: 0} 598 | m_GameObject: {fileID: 1087154426} 599 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 600 | m_LocalPosition: {x: 0, y: 0, z: -0.1} 601 | m_LocalScale: {x: 1, y: 1, z: 1} 602 | m_Children: [] 603 | m_Father: {fileID: 156059455} 604 | m_RootOrder: 0 605 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 606 | m_AnchorMin: {x: 0, y: 0} 607 | m_AnchorMax: {x: 1, y: 1} 608 | m_AnchoredPosition: {x: 0, y: 0} 609 | m_SizeDelta: {x: 0, y: 0} 610 | m_Pivot: {x: 0.5, y: 0.5} 611 | --- !u!114 &1087154428 612 | MonoBehaviour: 613 | m_ObjectHideFlags: 0 614 | m_PrefabParentObject: {fileID: 0} 615 | m_PrefabInternal: {fileID: 0} 616 | m_GameObject: {fileID: 1087154426} 617 | m_Enabled: 1 618 | m_EditorHideFlags: 0 619 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 620 | m_Name: 621 | m_EditorClassIdentifier: 622 | m_Material: {fileID: 0} 623 | m_Color: {r: 1, g: 0.18396229, b: 0.22997305, a: 1} 624 | m_RaycastTarget: 1 625 | m_OnCullStateChanged: 626 | m_PersistentCalls: 627 | m_Calls: [] 628 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 629 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 630 | m_Sprite: {fileID: 0} 631 | m_Type: 0 632 | m_PreserveAspect: 0 633 | m_FillCenter: 1 634 | m_FillMethod: 4 635 | m_FillAmount: 1 636 | m_FillClockwise: 1 637 | m_FillOrigin: 0 638 | --- !u!222 &1087154429 639 | CanvasRenderer: 640 | m_ObjectHideFlags: 0 641 | m_PrefabParentObject: {fileID: 0} 642 | m_PrefabInternal: {fileID: 0} 643 | m_GameObject: {fileID: 1087154426} 644 | --- !u!1 &1324607697 645 | GameObject: 646 | m_ObjectHideFlags: 0 647 | m_PrefabParentObject: {fileID: 0} 648 | m_PrefabInternal: {fileID: 0} 649 | serializedVersion: 5 650 | m_Component: 651 | - component: {fileID: 1324607698} 652 | - component: {fileID: 1324607700} 653 | - component: {fileID: 1324607699} 654 | m_Layer: 5 655 | m_Name: Image 656 | m_TagString: Untagged 657 | m_Icon: {fileID: 0} 658 | m_NavMeshLayer: 0 659 | m_StaticEditorFlags: 0 660 | m_IsActive: 1 661 | --- !u!224 &1324607698 662 | RectTransform: 663 | m_ObjectHideFlags: 0 664 | m_PrefabParentObject: {fileID: 0} 665 | m_PrefabInternal: {fileID: 0} 666 | m_GameObject: {fileID: 1324607697} 667 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 668 | m_LocalPosition: {x: 0, y: 0, z: 0} 669 | m_LocalScale: {x: 1, y: 1, z: 1} 670 | m_Children: [] 671 | m_Father: {fileID: 471004605} 672 | m_RootOrder: 0 673 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 674 | m_AnchorMin: {x: 0, y: 0} 675 | m_AnchorMax: {x: 1, y: 1} 676 | m_AnchoredPosition: {x: 0, y: 0} 677 | m_SizeDelta: {x: 0, y: 0} 678 | m_Pivot: {x: 0.5, y: 0.5} 679 | --- !u!114 &1324607699 680 | MonoBehaviour: 681 | m_ObjectHideFlags: 0 682 | m_PrefabParentObject: {fileID: 0} 683 | m_PrefabInternal: {fileID: 0} 684 | m_GameObject: {fileID: 1324607697} 685 | m_Enabled: 1 686 | m_EditorHideFlags: 0 687 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 688 | m_Name: 689 | m_EditorClassIdentifier: 690 | m_Material: {fileID: 0} 691 | m_Color: {r: 0.5993232, g: 0.53626734, b: 0.9716981, a: 1} 692 | m_RaycastTarget: 1 693 | m_OnCullStateChanged: 694 | m_PersistentCalls: 695 | m_Calls: [] 696 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 697 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 698 | m_Sprite: {fileID: 0} 699 | m_Type: 0 700 | m_PreserveAspect: 0 701 | m_FillCenter: 1 702 | m_FillMethod: 4 703 | m_FillAmount: 1 704 | m_FillClockwise: 1 705 | m_FillOrigin: 0 706 | --- !u!222 &1324607700 707 | CanvasRenderer: 708 | m_ObjectHideFlags: 0 709 | m_PrefabParentObject: {fileID: 0} 710 | m_PrefabInternal: {fileID: 0} 711 | m_GameObject: {fileID: 1324607697} 712 | --- !u!1 &1535505656 713 | GameObject: 714 | m_ObjectHideFlags: 0 715 | m_PrefabParentObject: {fileID: 0} 716 | m_PrefabInternal: {fileID: 0} 717 | serializedVersion: 5 718 | m_Component: 719 | - component: {fileID: 1535505657} 720 | - component: {fileID: 1535505660} 721 | - component: {fileID: 1535505659} 722 | - component: {fileID: 1535505658} 723 | m_Layer: 5 724 | m_Name: Button 725 | m_TagString: Untagged 726 | m_Icon: {fileID: 0} 727 | m_NavMeshLayer: 0 728 | m_StaticEditorFlags: 0 729 | m_IsActive: 1 730 | --- !u!224 &1535505657 731 | RectTransform: 732 | m_ObjectHideFlags: 0 733 | m_PrefabParentObject: {fileID: 0} 734 | m_PrefabInternal: {fileID: 0} 735 | m_GameObject: {fileID: 1535505656} 736 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 737 | m_LocalPosition: {x: 0, y: 0, z: -0.1} 738 | m_LocalScale: {x: 1, y: 1, z: 1} 739 | m_Children: 740 | - {fileID: 853210108} 741 | m_Father: {fileID: 471004605} 742 | m_RootOrder: 1 743 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 744 | m_AnchorMin: {x: 0, y: 0} 745 | m_AnchorMax: {x: 1, y: 0} 746 | m_AnchoredPosition: {x: 0, y: 30} 747 | m_SizeDelta: {x: -256, y: 30} 748 | m_Pivot: {x: 0.5, y: 0.5} 749 | --- !u!114 &1535505658 750 | MonoBehaviour: 751 | m_ObjectHideFlags: 0 752 | m_PrefabParentObject: {fileID: 0} 753 | m_PrefabInternal: {fileID: 0} 754 | m_GameObject: {fileID: 1535505656} 755 | m_Enabled: 1 756 | m_EditorHideFlags: 0 757 | m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 758 | m_Name: 759 | m_EditorClassIdentifier: 760 | m_Navigation: 761 | m_Mode: 3 762 | m_SelectOnUp: {fileID: 0} 763 | m_SelectOnDown: {fileID: 0} 764 | m_SelectOnLeft: {fileID: 0} 765 | m_SelectOnRight: {fileID: 0} 766 | m_Transition: 1 767 | m_Colors: 768 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 769 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 770 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 771 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 772 | m_ColorMultiplier: 1 773 | m_FadeDuration: 0.1 774 | m_SpriteState: 775 | m_HighlightedSprite: {fileID: 0} 776 | m_PressedSprite: {fileID: 0} 777 | m_DisabledSprite: {fileID: 0} 778 | m_AnimationTriggers: 779 | m_NormalTrigger: Normal 780 | m_HighlightedTrigger: Highlighted 781 | m_PressedTrigger: Pressed 782 | m_DisabledTrigger: Disabled 783 | m_Interactable: 1 784 | m_TargetGraphic: {fileID: 1535505659} 785 | m_OnClick: 786 | m_PersistentCalls: 787 | m_Calls: [] 788 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 789 | Culture=neutral, PublicKeyToken=null 790 | --- !u!114 &1535505659 791 | MonoBehaviour: 792 | m_ObjectHideFlags: 0 793 | m_PrefabParentObject: {fileID: 0} 794 | m_PrefabInternal: {fileID: 0} 795 | m_GameObject: {fileID: 1535505656} 796 | m_Enabled: 1 797 | m_EditorHideFlags: 0 798 | m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 799 | m_Name: 800 | m_EditorClassIdentifier: 801 | m_Material: {fileID: 0} 802 | m_Color: {r: 1, g: 1, b: 1, a: 1} 803 | m_RaycastTarget: 1 804 | m_OnCullStateChanged: 805 | m_PersistentCalls: 806 | m_Calls: [] 807 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 808 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 809 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 810 | m_Type: 1 811 | m_PreserveAspect: 0 812 | m_FillCenter: 1 813 | m_FillMethod: 4 814 | m_FillAmount: 1 815 | m_FillClockwise: 1 816 | m_FillOrigin: 0 817 | --- !u!222 &1535505660 818 | CanvasRenderer: 819 | m_ObjectHideFlags: 0 820 | m_PrefabParentObject: {fileID: 0} 821 | m_PrefabInternal: {fileID: 0} 822 | m_GameObject: {fileID: 1535505656} 823 | --- !u!1 &1577265774 824 | GameObject: 825 | m_ObjectHideFlags: 0 826 | m_PrefabParentObject: {fileID: 0} 827 | m_PrefabInternal: {fileID: 0} 828 | serializedVersion: 5 829 | m_Component: 830 | - component: {fileID: 1577265775} 831 | - component: {fileID: 1577265777} 832 | - component: {fileID: 1577265776} 833 | m_Layer: 5 834 | m_Name: SafeArea Size 835 | m_TagString: Untagged 836 | m_Icon: {fileID: 0} 837 | m_NavMeshLayer: 0 838 | m_StaticEditorFlags: 0 839 | m_IsActive: 1 840 | --- !u!224 &1577265775 841 | RectTransform: 842 | m_ObjectHideFlags: 0 843 | m_PrefabParentObject: {fileID: 0} 844 | m_PrefabInternal: {fileID: 0} 845 | m_GameObject: {fileID: 1577265774} 846 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 847 | m_LocalPosition: {x: 0, y: 0, z: 0} 848 | m_LocalScale: {x: 1, y: 1, z: 1} 849 | m_Children: [] 850 | m_Father: {fileID: 471004605} 851 | m_RootOrder: 3 852 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 853 | m_AnchorMin: {x: 0, y: 0.5} 854 | m_AnchorMax: {x: 1, y: 0.5} 855 | m_AnchoredPosition: {x: 0, y: 0} 856 | m_SizeDelta: {x: -40, y: 50} 857 | m_Pivot: {x: 0.5, y: 0.5} 858 | --- !u!114 &1577265776 859 | MonoBehaviour: 860 | m_ObjectHideFlags: 0 861 | m_PrefabParentObject: {fileID: 0} 862 | m_PrefabInternal: {fileID: 0} 863 | m_GameObject: {fileID: 1577265774} 864 | m_Enabled: 1 865 | m_EditorHideFlags: 0 866 | m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 867 | m_Name: 868 | m_EditorClassIdentifier: 869 | m_Material: {fileID: 0} 870 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 871 | m_RaycastTarget: 1 872 | m_OnCullStateChanged: 873 | m_PersistentCalls: 874 | m_Calls: [] 875 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 876 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 877 | m_FontData: 878 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 879 | m_FontSize: 20 880 | m_FontStyle: 0 881 | m_BestFit: 0 882 | m_MinSize: 2 883 | m_MaxSize: 40 884 | m_Alignment: 4 885 | m_AlignByGeometry: 0 886 | m_RichText: 1 887 | m_HorizontalOverflow: 0 888 | m_VerticalOverflow: 0 889 | m_LineSpacing: 1 890 | m_Text: 'X : / Y : / Width : / Height : ' 891 | --- !u!222 &1577265777 892 | CanvasRenderer: 893 | m_ObjectHideFlags: 0 894 | m_PrefabParentObject: {fileID: 0} 895 | m_PrefabInternal: {fileID: 0} 896 | m_GameObject: {fileID: 1577265774} 897 | --- !u!1 &1827481799 898 | GameObject: 899 | m_ObjectHideFlags: 0 900 | m_PrefabParentObject: {fileID: 0} 901 | m_PrefabInternal: {fileID: 0} 902 | serializedVersion: 5 903 | m_Component: 904 | - component: {fileID: 1827481804} 905 | - component: {fileID: 1827481802} 906 | - component: {fileID: 1827481801} 907 | - component: {fileID: 1827481800} 908 | - component: {fileID: 1827481803} 909 | m_Layer: 0 910 | m_Name: Main Camera 911 | m_TagString: MainCamera 912 | m_Icon: {fileID: 0} 913 | m_NavMeshLayer: 0 914 | m_StaticEditorFlags: 0 915 | m_IsActive: 1 916 | --- !u!81 &1827481800 917 | AudioListener: 918 | m_ObjectHideFlags: 0 919 | m_PrefabParentObject: {fileID: 0} 920 | m_PrefabInternal: {fileID: 0} 921 | m_GameObject: {fileID: 1827481799} 922 | m_Enabled: 1 923 | --- !u!124 &1827481801 924 | Behaviour: 925 | m_ObjectHideFlags: 0 926 | m_PrefabParentObject: {fileID: 0} 927 | m_PrefabInternal: {fileID: 0} 928 | m_GameObject: {fileID: 1827481799} 929 | m_Enabled: 1 930 | --- !u!20 &1827481802 931 | Camera: 932 | m_ObjectHideFlags: 0 933 | m_PrefabParentObject: {fileID: 0} 934 | m_PrefabInternal: {fileID: 0} 935 | m_GameObject: {fileID: 1827481799} 936 | m_Enabled: 1 937 | serializedVersion: 2 938 | m_ClearFlags: 1 939 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 940 | m_NormalizedViewPortRect: 941 | serializedVersion: 2 942 | x: 0 943 | y: 0 944 | width: 1 945 | height: 1 946 | near clip plane: 0.3 947 | far clip plane: 1000 948 | field of view: 60 949 | orthographic: 1 950 | orthographic size: 5 951 | m_Depth: -1 952 | m_CullingMask: 953 | serializedVersion: 2 954 | m_Bits: 4294967295 955 | m_RenderingPath: -1 956 | m_TargetTexture: {fileID: 0} 957 | m_TargetDisplay: 0 958 | m_TargetEye: 3 959 | m_HDR: 1 960 | m_AllowMSAA: 1 961 | m_AllowDynamicResolution: 0 962 | m_ForceIntoRT: 0 963 | m_OcclusionCulling: 1 964 | m_StereoConvergence: 10 965 | m_StereoSeparation: 0.022 966 | --- !u!114 &1827481803 967 | MonoBehaviour: 968 | m_ObjectHideFlags: 0 969 | m_PrefabParentObject: {fileID: 0} 970 | m_PrefabInternal: {fileID: 0} 971 | m_GameObject: {fileID: 1827481799} 972 | m_Enabled: 1 973 | m_EditorHideFlags: 0 974 | m_Script: {fileID: 11500000, guid: 824449d24a98a4a77b405c99817d3796, type: 3} 975 | m_Name: 976 | m_EditorClassIdentifier: 977 | isSafeAreaCamera: 1 978 | useFullSize: 1 979 | debug: {fileID: 1577265776} 980 | --- !u!4 &1827481804 981 | Transform: 982 | m_ObjectHideFlags: 0 983 | m_PrefabParentObject: {fileID: 0} 984 | m_PrefabInternal: {fileID: 0} 985 | m_GameObject: {fileID: 1827481799} 986 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 987 | m_LocalPosition: {x: 0, y: 0, z: -10} 988 | m_LocalScale: {x: 1, y: 1, z: 1} 989 | m_Children: [] 990 | m_Father: {fileID: 0} 991 | m_RootOrder: 0 992 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 993 | --------------------------------------------------------------------------------