├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── NetworkManager.asset ├── TimeManager.asset ├── EditorBuildSettings.asset ├── AudioManager.asset ├── TagManager.asset ├── EditorSettings.asset ├── PresetManager.asset ├── UnityConnectSettings.asset ├── DynamicsManager.asset ├── Physics2DSettings.asset ├── NavMeshAreas.asset ├── GraphicsSettings.asset ├── QualitySettings.asset ├── InputManager.asset └── ProjectSettings.asset ├── Documents ├── screenshot_editor.png ├── screenshot_inspector.png ├── UniPagingView_Horizontal.gif └── UniPagingView_Vertical.gif ├── Assets ├── UniPagingView │ ├── Scripts │ │ ├── PagingView.cs.meta │ │ └── PagingView.cs │ ├── Examples.meta │ ├── Scripts.meta │ └── Examples │ │ ├── Scenes │ │ ├── Example01.unity.meta │ │ └── Example01.unity │ │ └── Scenes.meta └── UniPagingView.meta ├── Packages └── manifest.json ├── README.md └── LICENSE /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.2.8f1 2 | -------------------------------------------------------------------------------- /Documents/screenshot_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtakada16/Unity-PagingView/HEAD/Documents/screenshot_editor.png -------------------------------------------------------------------------------- /Documents/screenshot_inspector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtakada16/Unity-PagingView/HEAD/Documents/screenshot_inspector.png -------------------------------------------------------------------------------- /Documents/UniPagingView_Horizontal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtakada16/Unity-PagingView/HEAD/Documents/UniPagingView_Horizontal.gif -------------------------------------------------------------------------------- /Documents/UniPagingView_Vertical.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtakada16/Unity-PagingView/HEAD/Documents/UniPagingView_Vertical.gif -------------------------------------------------------------------------------- /Assets/UniPagingView/Scripts/PagingView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e3b390bf9e74e7eb62ce6686dcfe62a 3 | timeCreated: 1535691842 -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.package-manager-ui": "1.9.11", 4 | "com.unity.modules.ui": "1.0.0", 5 | "com.unity.modules.uielements": "1.0.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /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/UniPagingView.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23d87c81222a748b7a3725a2941d82fb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UniPagingView/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 337c34af01f5a439a94a7e10d2d2680e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UniPagingView/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7aa6d18bb3a824201be4929962d069a1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UniPagingView/Examples/Scenes/Example01.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f35e0e1381fb14576b0495d89c4905cd 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/UniPagingView/Examples/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8af1006e237a47cea0102ace9f989a0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /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.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /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/Scenes/SampleScene.unity 10 | guid: 99c9720ab356a0642a771bea13969a05 11 | m_configObjects: {} 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: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /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 | - PostProcessing 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: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 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 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity-PagingView [![License](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](http://mit-license.org) 2 | PagingView for Unity. 3 | This isn't animation. It works in conjunction with your fingers. 4 | 5 | ![screenshot1](https://github.com/kiepng/UniPagingView/blob/master/Documents/UniPagingView_Horizontal.gif) 6 | ![screenshot2](https://github.com/kiepng/UniPagingView/blob/master/Documents/UniPagingView_Vertical.gif) 7 | 8 | 9 | ## Usage 10 | 1. Go to the [release page](https://github.com/kiepng/UniPagingView/releases/tag/v1.0.0). 11 | 2. Download latest `UniPagingView-xx.xx.xx`. 12 | 3. Import to your Unity project. 13 | 4. Create your Contens as follows. 14 | 15 | ![screenshot3](https://github.com/kiepng/UniPagingView/blob/master/Documents/screenshot_editor.png) 16 | ![screenshot4](https://github.com/kiepng/UniPagingView/blob/master/Documents/screenshot_inspector.png) 17 | 18 | 19 | ## Environment 20 | Unity2018.2.8f1 21 | 22 | ## LICENSE 23 | MIT 24 | -------------------------------------------------------------------------------- /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) 2018 kiepng 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | -------------------------------------------------------------------------------- /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: 4 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: 2 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: 40 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: 1 136 | antiAliasing: 4 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: 1 164 | antiAliasing: 4 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 | PSP2: 2 183 | Standalone: 5 184 | Tizen: 2 185 | WebGL: 3 186 | WiiU: 5 187 | Windows Store Apps: 5 188 | XboxOne: 5 189 | iPhone: 2 190 | tvOS: 2 191 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/UniPagingView/Scripts/PagingView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine.Events; 3 | using UnityEngine.EventSystems; 4 | 5 | namespace UnityEngine.UI.Extensions 6 | { 7 | [SelectionBase] 8 | [ExecuteInEditMode] 9 | [DisallowMultipleComponent] 10 | [RequireComponent(typeof(RectTransform))] 11 | [AddComponentMenu("UI/Extensions/PagingView")] 12 | public class PagingView : UIBehaviour, IInitializePotentialDragHandler, IBeginDragHandler, IEndDragHandler, IDragHandler, IScrollHandler, ICanvasElement, ILayoutElement, ILayoutGroup 13 | { 14 | [Serializable] public class PagingEvent : UnityEvent {} 15 | 16 | [SerializeField] private RectTransform m_Content; 17 | public RectTransform Content 18 | { 19 | get { return m_Content; } 20 | set { m_Content = value; } 21 | } 22 | 23 | [SerializeField] private RectTransform[] m_Contents; 24 | public RectTransform[] Contents 25 | { 26 | get { return m_Contents; } 27 | set { m_Contents = value; } 28 | } 29 | 30 | [SerializeField] private bool m_Horizontal = true; 31 | public bool Horizontal 32 | { 33 | get { return m_Horizontal; } 34 | set { m_Horizontal = value; } 35 | } 36 | 37 | [SerializeField] private bool m_Vertical = true; 38 | public bool Vertical 39 | { 40 | get { return m_Vertical; } 41 | set { m_Vertical = value; } 42 | } 43 | 44 | [SerializeField] private float m_Elasticity = 0.1f; 45 | public float Elasticity 46 | { 47 | get { return m_Elasticity; } 48 | set { m_Elasticity = value; } 49 | } 50 | 51 | [SerializeField] private bool m_Inertia = true; 52 | public bool Inertia 53 | { 54 | get { return m_Inertia; } 55 | set { m_Inertia = value; } 56 | } 57 | 58 | [SerializeField] private float m_DecelerationRate = 0.135f; 59 | public float DecelerationRate 60 | { 61 | get { return m_DecelerationRate; } 62 | set { m_DecelerationRate = value; } 63 | } 64 | 65 | [SerializeField] private float m_ScrollSensitivity = 1.0f; 66 | public float ScrollSensitivity 67 | { 68 | get { return m_ScrollSensitivity; } 69 | set { m_ScrollSensitivity = value; } 70 | } 71 | 72 | [SerializeField] private RectTransform m_Viewport; 73 | public RectTransform viewport 74 | { 75 | get {return m_Viewport; } 76 | set { m_Viewport = value; SetDirtyCaching(); } 77 | } 78 | 79 | [SerializeField] private PagingEvent m_OnValueChanged = new PagingEvent(); 80 | public PagingEvent OnValueChanged 81 | { 82 | get { return m_OnValueChanged; } 83 | set { m_OnValueChanged = value; } 84 | } 85 | 86 | private Vector2 m_PointerStartLocalCursor = Vector2.zero; 87 | private Vector2 m_ContentStartPosition = Vector2.zero; 88 | 89 | private RectTransform m_ViewRect; 90 | public RectTransform ViewRect 91 | { 92 | get 93 | { 94 | if (m_ViewRect == null) 95 | m_ViewRect = m_Viewport; 96 | if (m_ViewRect == null) 97 | m_ViewRect = (RectTransform) transform; 98 | return m_ViewRect; 99 | } 100 | } 101 | 102 | [NonSerialized] private RectTransform m_Rect; 103 | private RectTransform RectTransform 104 | { 105 | get 106 | { 107 | if (m_Rect == null) 108 | m_Rect = GetComponent(); 109 | return m_Rect; 110 | } 111 | } 112 | 113 | private Vector2 m_Velocity; 114 | public Vector2 Velocity 115 | { 116 | get { return m_Velocity; } 117 | set { m_Velocity = value; } 118 | } 119 | 120 | private bool m_Dragging; 121 | 122 | private Bounds m_ViewBounds; 123 | private Bounds m_ContentBounds; 124 | private Bounds m_CurrentContentBounds; 125 | private Bounds m_PrevViewBounds; 126 | private Bounds m_PrevContentBounds; 127 | private Bounds m_PrevCurrentContentBounds; 128 | private Vector2 m_PrevPosition = Vector2.zero; 129 | 130 | private DrivenRectTransformTracker m_Tracker; 131 | 132 | [NonSerialized] private bool m_HasRebuiltLayout; 133 | 134 | private const float EPSILON = float.Epsilon; 135 | 136 | protected PagingView() 137 | { 138 | flexibleWidth = -1; 139 | } 140 | 141 | public void Rebuild(CanvasUpdate executing) 142 | { 143 | if (executing == CanvasUpdate.PostLayout) 144 | { 145 | UpdateBounds(); 146 | UpdatePrevData(); 147 | 148 | m_HasRebuiltLayout = true; 149 | } 150 | } 151 | 152 | protected override void OnRectTransformDimensionsChange() 153 | { 154 | SetDirty(); 155 | } 156 | 157 | public virtual void LayoutComplete() {} 158 | 159 | public virtual void GraphicUpdateComplete() {} 160 | 161 | public virtual void CalculateLayoutInputHorizontal() {} 162 | 163 | public virtual void CalculateLayoutInputVertical() {} 164 | 165 | public virtual float minWidth { get { return -1; } } 166 | 167 | public virtual float preferredWidth { get { return -1; } } 168 | 169 | public virtual float flexibleWidth { get; private set; } 170 | 171 | public virtual float minHeight { get { return -1; } } 172 | 173 | public virtual float preferredHeight { get { return -1; } } 174 | 175 | public virtual float flexibleHeight { get { return -1; } } 176 | 177 | public virtual int layoutPriority { get { return -1; } } 178 | 179 | public virtual void SetLayoutHorizontal() { m_Tracker.Clear(); } 180 | 181 | public virtual void SetLayoutVertical() 182 | { 183 | m_ViewBounds = new Bounds(ViewRect.rect.center, ViewRect.rect.size); 184 | m_ContentBounds = GetBounds(m_Content); 185 | m_CurrentContentBounds = GetBounds(m_Contents[m_ContentIndex]); 186 | } 187 | 188 | public virtual void OnScroll(PointerEventData eventData) 189 | { 190 | if (!IsActive()) 191 | return; 192 | 193 | EnsureLayoutHasRebuilt(); 194 | UpdateBounds(); 195 | 196 | Vector2 delta = eventData.scrollDelta; 197 | delta.y *= -1; 198 | if (Vertical && !Horizontal) 199 | { 200 | if (Mathf.Abs(delta.x) > Mathf.Abs(delta.y)) 201 | delta.y = delta.x; 202 | delta.x = 0; 203 | } 204 | 205 | if (Horizontal && !Vertical) 206 | { 207 | if (Mathf.Abs(delta.y) > Mathf.Abs(delta.x)) 208 | delta.x = delta.y; 209 | delta.y = 0; 210 | } 211 | 212 | Vector2 position = m_Content.anchoredPosition; 213 | position += delta * m_ScrollSensitivity; 214 | 215 | SetContentAnchoredPosition(position); 216 | UpdateBounds(); 217 | } 218 | 219 | public void OnInitializePotentialDrag(PointerEventData eventData) 220 | { 221 | if (eventData.button != PointerEventData.InputButton.Left) 222 | return; 223 | 224 | m_Velocity = Vector2.zero; 225 | } 226 | 227 | public void OnBeginDrag(PointerEventData eventData) 228 | { 229 | if (eventData.button != PointerEventData.InputButton.Left) 230 | return; 231 | 232 | if (!IsActive()) 233 | return; 234 | 235 | UpdateBounds(); 236 | 237 | m_PointerStartLocalCursor = Vector2.zero; 238 | RectTransformUtility.ScreenPointToLocalPointInRectangle(ViewRect, eventData.position, 239 | eventData.pressEventCamera, out m_PointerStartLocalCursor); 240 | m_ContentStartPosition = m_Content.anchoredPosition; 241 | m_Dragging = true; 242 | } 243 | 244 | public void OnEndDrag(PointerEventData eventData) 245 | { 246 | if (eventData.button != PointerEventData.InputButton.Left) 247 | return; 248 | 249 | m_Dragging = false; 250 | 251 | JudgementIndex(); 252 | } 253 | 254 | public void OnDrag(PointerEventData eventData) 255 | { 256 | if (eventData.button != PointerEventData.InputButton.Left) 257 | return; 258 | 259 | if (!IsActive()) 260 | return; 261 | 262 | Vector2 localCursor; 263 | if (!RectTransformUtility.ScreenPointToLocalPointInRectangle(ViewRect, eventData.position, 264 | eventData.pressEventCamera, out localCursor)) 265 | return; 266 | 267 | UpdateBounds(); 268 | 269 | var pointerDelta = localCursor - m_PointerStartLocalCursor; 270 | Vector2 position = m_ContentStartPosition + pointerDelta; 271 | Vector2 offset = CalculateOffset(m_ContentBounds, position - m_Content.anchoredPosition); 272 | position += offset; 273 | if (Math.Abs(offset.x) > EPSILON) 274 | position.x = position.x - RubberDelta(offset.x, m_ViewBounds.size.x); 275 | if (Math.Abs(offset.y) > EPSILON) 276 | position.y = position.y - RubberDelta(offset.y, m_ViewBounds.size.y); 277 | 278 | SetContentAnchoredPosition(position); 279 | } 280 | 281 | protected override void OnEnable() 282 | { 283 | base.OnEnable(); 284 | 285 | CanvasUpdateRegistry.RegisterCanvasElementForLayoutRebuild(this); 286 | } 287 | 288 | protected override void OnDisable() 289 | { 290 | CanvasUpdateRegistry.UnRegisterCanvasElementForRebuild(this); 291 | 292 | m_Tracker.Clear(); 293 | m_Velocity = Vector2.zero; 294 | LayoutRebuilder.MarkLayoutForRebuild(RectTransform); 295 | 296 | base.OnDisable(); 297 | } 298 | 299 | public override bool IsActive() 300 | { 301 | return base.IsActive() && m_Content != null; 302 | } 303 | 304 | private int m_PrevContentIndex; 305 | private int m_ContentIndex; 306 | private void LateUpdate() 307 | { 308 | if (!m_Content) 309 | return; 310 | 311 | EnsureLayoutHasRebuilt(); 312 | UpdateBounds(); 313 | float deltaTime = Time.unscaledDeltaTime; 314 | Vector2 offset = CalculateOffset(m_CurrentContentBounds, Vector2.zero); 315 | if (!m_Dragging && (offset != Vector2.zero || m_Velocity != Vector2.zero)) 316 | { 317 | Vector2 position = m_Content.anchoredPosition; 318 | for (int axis = 0; axis < 2; ++axis) 319 | { 320 | if (Math.Abs(offset[axis]) > EPSILON) 321 | { 322 | float speed = m_Velocity[axis]; 323 | position[axis] = Mathf.SmoothDamp(m_Content.anchoredPosition[axis], m_Content.anchoredPosition[axis] + offset[axis], ref speed, m_Elasticity, Mathf.Infinity, deltaTime); 324 | m_Velocity[axis] = speed; 325 | } 326 | else if (m_Inertia) 327 | { 328 | m_Velocity[axis] *= Mathf.Pow(m_DecelerationRate, deltaTime); 329 | if (Mathf.Abs(m_Velocity[axis]) < 1) 330 | m_Velocity[axis] = 0; 331 | position[axis] += m_Velocity[axis] * deltaTime; 332 | } 333 | else 334 | { 335 | m_Velocity[axis] = 0; 336 | } 337 | } 338 | 339 | if (m_Velocity != Vector2.zero) 340 | SetContentAnchoredPosition(position); 341 | } 342 | 343 | if (m_Dragging && m_Inertia) 344 | { 345 | Vector3 newVelocity = (m_Content.anchoredPosition - m_PrevPosition) / deltaTime; 346 | m_Velocity = Vector3.Lerp(m_Velocity, newVelocity, deltaTime * 10); 347 | } 348 | 349 | if (m_Dragging && m_Velocity != Vector2.zero) 350 | JudgementIndex(offset); 351 | 352 | if (!m_Dragging && m_PrevContentIndex != m_ContentIndex) 353 | { 354 | m_OnValueChanged.Invoke(m_ContentIndex); 355 | m_PrevContentIndex = m_ContentIndex; 356 | } 357 | 358 | if (m_ViewBounds != m_PrevViewBounds || m_ContentBounds != m_PrevContentBounds 359 | || m_ContentBounds != m_PrevCurrentContentBounds || m_Content.anchoredPosition != m_PrevPosition) 360 | UpdatePrevData(); 361 | } 362 | 363 | public virtual void StopMovement() 364 | { 365 | m_Velocity = Vector2.zero; 366 | } 367 | 368 | protected virtual void SetContentAnchoredPosition(Vector2 position) 369 | { 370 | if (!m_Horizontal) 371 | position.x = m_Content.anchoredPosition.x; 372 | if (!m_Vertical) 373 | position.y = m_Content.anchoredPosition.y; 374 | 375 | if (position != m_Content.anchoredPosition) 376 | { 377 | m_Content.anchoredPosition = position; 378 | UpdateBounds(); 379 | } 380 | } 381 | 382 | private void EnsureLayoutHasRebuilt() 383 | { 384 | if (m_HasRebuiltLayout && !CanvasUpdateRegistry.IsRebuildingLayout()) 385 | Canvas.ForceUpdateCanvases(); 386 | } 387 | 388 | private void UpdatePrevData() 389 | { 390 | if (m_Content == null) 391 | m_PrevPosition = Vector2.zero; 392 | else 393 | m_PrevPosition = m_Content.anchoredPosition; 394 | m_PrevViewBounds = m_ViewBounds; 395 | m_PrevContentBounds = m_ContentBounds; 396 | m_PrevCurrentContentBounds = m_ContentBounds; 397 | } 398 | 399 | private static float RubberDelta(float overStretching, float viewSize) 400 | { 401 | return (1 - (1 / ((Mathf.Abs(overStretching) * 0.55f / viewSize) + 1))) 402 | * viewSize * Mathf.Sign(overStretching); 403 | } 404 | 405 | private void UpdateBounds() 406 | { 407 | m_ViewBounds = new Bounds(ViewRect.rect.center, ViewRect.rect.size); 408 | m_ContentBounds = GetBounds(m_Content); 409 | m_CurrentContentBounds = GetBounds(m_Contents[m_ContentIndex]); 410 | 411 | if (m_Content == null) 412 | return; 413 | 414 | Vector3 contentSize = m_ContentBounds.size; 415 | Vector3 contentPos = m_ContentBounds.center; 416 | Vector3 excess = m_ViewBounds.size - contentSize; 417 | if (excess.x > 0) 418 | { 419 | contentPos.x -= excess.x * (m_Content.pivot.x - 0.5f); 420 | contentSize.x = m_ViewBounds.size.x; 421 | } 422 | if (excess.y > 0) 423 | { 424 | contentPos.y -= excess.y * (m_Content.pivot.y - 0.5f); 425 | contentSize.y = m_ViewBounds.size.y; 426 | } 427 | 428 | m_ContentBounds.size = contentSize; 429 | m_ContentBounds.center = contentPos; 430 | } 431 | 432 | private readonly Vector3[] m_Corners = new Vector3[4]; 433 | private Bounds GetBounds(RectTransform content) 434 | { 435 | if (m_Content == null) 436 | return new Bounds(); 437 | 438 | var vMin = new Vector3(float.MaxValue, float.MaxValue, float.MaxValue); 439 | var vMax = new Vector3(float.MinValue, float.MinValue, float.MinValue); 440 | 441 | var toLocal = ViewRect.worldToLocalMatrix; 442 | content.GetWorldCorners(m_Corners); 443 | for (int j = 0; j < 4; j++) 444 | { 445 | Vector3 v = toLocal.MultiplyPoint3x4(m_Corners[j]); 446 | vMin = Vector3.Min(v, vMin); 447 | vMax = Vector3.Max(v, vMax); 448 | } 449 | 450 | var bounds = new Bounds(vMin, Vector3.zero); 451 | bounds.Encapsulate(vMax); 452 | return bounds; 453 | } 454 | 455 | private Vector2 CalculateOffset(Bounds bounds, Vector2 delta) 456 | { 457 | Vector2 offset = Vector2.zero; 458 | 459 | Vector2 min = bounds.min; 460 | Vector2 max = bounds.max; 461 | 462 | if (m_Horizontal) 463 | { 464 | min.x += delta.x; 465 | max.x += delta.x; 466 | if (min.x > m_ViewBounds.min.x) 467 | offset.x = m_ViewBounds.min.x - min.x; 468 | else if (max.x < m_ViewBounds.max.x) 469 | offset.x = m_ViewBounds.max.x - max.x; 470 | } 471 | 472 | if (m_Vertical) 473 | { 474 | min.y += delta.y; 475 | max.y += delta.y; 476 | if (max.y < m_ViewBounds.max.y) 477 | offset.y = m_ViewBounds.max.y - max.y; 478 | else if (min.y > m_ViewBounds.min.y) 479 | offset.y = m_ViewBounds.min.y - min.y; 480 | } 481 | 482 | return offset; 483 | } 484 | 485 | private void JudgementIndex() 486 | { 487 | if (Horizontal) 488 | { 489 | if (-m_Velocity.x > m_ViewBounds.size.x) 490 | m_ContentIndex = Mathf.Clamp(m_PrevContentIndex + 1, 0, m_Contents.Length - 1); 491 | else if (m_Velocity.x > m_ViewBounds.size.x) 492 | m_ContentIndex = Mathf.Clamp(m_PrevContentIndex - 1, 0, m_Contents.Length - 1); 493 | } 494 | 495 | if (Vertical) 496 | { 497 | if (m_Velocity.y > m_ViewBounds.size.y) 498 | m_ContentIndex = Mathf.Clamp(m_PrevContentIndex + 1, 0, m_Contents.Length - 1); 499 | else if (-m_Velocity.y > m_ViewBounds.size.y) 500 | m_ContentIndex = Mathf.Clamp(m_PrevContentIndex - 1, 0, m_Contents.Length - 1); 501 | } 502 | } 503 | 504 | private void JudgementIndex(Vector2 offset) 505 | { 506 | if (Horizontal) 507 | { 508 | if (offset.x > m_ViewBounds.extents.x) 509 | m_ContentIndex = Mathf.Clamp(m_ContentIndex + 1, 0, m_Contents.Length - 1); 510 | else if (-offset.x > m_ViewBounds.extents.x) 511 | m_ContentIndex = Mathf.Clamp(m_ContentIndex - 1, 0, m_Contents.Length - 1); 512 | } 513 | 514 | if (Vertical) 515 | { 516 | if (-offset.y > m_ViewBounds.extents.y) 517 | m_ContentIndex = Mathf.Clamp(m_ContentIndex + 1, 0, m_Contents.Length - 1); 518 | else if (offset.y > m_ViewBounds.extents.y) 519 | m_ContentIndex = Mathf.Clamp(m_ContentIndex - 1, 0, m_Contents.Length - 1); 520 | } 521 | } 522 | 523 | protected void SetDirty() 524 | { 525 | if (!IsActive()) 526 | return; 527 | LayoutRebuilder.MarkLayoutForRebuild(RectTransform); 528 | } 529 | 530 | protected void SetDirtyCaching() 531 | { 532 | if (!IsActive()) 533 | return; 534 | 535 | CanvasUpdateRegistry.RegisterCanvasElementForLayoutRebuild(this); 536 | LayoutRebuilder.MarkLayoutForRebuild(RectTransform); 537 | } 538 | 539 | #if UNITY_EDITOR 540 | protected override void OnValidate() 541 | { 542 | SetDirtyCaching(); 543 | } 544 | #endif 545 | } 546 | } 547 | -------------------------------------------------------------------------------- /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: 15 7 | productGUID: eb6e917726dca4dc9a0db32039534090 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: UniPagingView 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -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 | defaultIsNativeResolution: 1 68 | macRetinaSupport: 1 69 | runInBackground: 1 70 | captureSingleScreen: 0 71 | muteOtherAudioSources: 0 72 | Prepare IOS For Recording: 0 73 | Force IOS Speakers When Recording: 0 74 | deferSystemGesturesMode: 0 75 | hideHomeButton: 0 76 | submitAnalytics: 1 77 | usePlayerLog: 1 78 | bakeCollisionMeshes: 0 79 | forceSingleInstance: 0 80 | resizableWindow: 0 81 | useMacAppStoreValidation: 0 82 | macAppStoreCategory: public.app-category.games 83 | gpuSkinning: 1 84 | graphicsJobs: 0 85 | xboxPIXTextureCapture: 0 86 | xboxEnableAvatar: 0 87 | xboxEnableKinect: 0 88 | xboxEnableKinectAutoTracking: 0 89 | xboxEnableFitness: 0 90 | visibleInBackground: 1 91 | allowFullscreenSwitch: 1 92 | graphicsJobMode: 0 93 | fullscreenMode: 1 94 | xboxSpeechDB: 0 95 | xboxEnableHeadOrientation: 0 96 | xboxEnableGuest: 0 97 | xboxEnablePIXSampling: 0 98 | metalFramebufferOnly: 0 99 | n3dsDisableStereoscopicView: 0 100 | n3dsEnableSharedListOpt: 1 101 | n3dsEnableVSync: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOnePresentImmediateThreshold: 0 109 | switchQueueCommandMemory: 0 110 | videoMemoryForVertexBuffers: 0 111 | psp2PowerMode: 0 112 | psp2AcquireBGM: 1 113 | vulkanEnableSetSRGBWrite: 0 114 | vulkanUseSWCommandBuffers: 0 115 | m_SupportedAspectRatios: 116 | 4:3: 1 117 | 5:4: 1 118 | 16:10: 1 119 | 16:9: 1 120 | Others: 1 121 | bundleVersion: 0.1 122 | preloadedAssets: [] 123 | metroInputSource: 0 124 | wsaTransparentSwapchain: 0 125 | m_HolographicPauseOnTrackingLoss: 1 126 | xboxOneDisableKinectGpuReservation: 0 127 | xboxOneEnable7thCore: 0 128 | vrSettings: 129 | cardboard: 130 | depthFormat: 0 131 | enableTransitionView: 0 132 | daydream: 133 | depthFormat: 0 134 | useSustainedPerformanceMode: 0 135 | enableVideoLayer: 0 136 | useProtectedVideoMemory: 0 137 | minimumSupportedHeadTracking: 0 138 | maximumSupportedHeadTracking: 1 139 | hololens: 140 | depthFormat: 1 141 | depthBufferSharingEnabled: 0 142 | oculus: 143 | sharedDepthBuffer: 0 144 | dashSupport: 0 145 | enable360StereoCapture: 0 146 | protectGraphicsMemory: 0 147 | useHDRDisplay: 0 148 | m_ColorGamuts: 00000000 149 | targetPixelDensity: 30 150 | resolutionScalingMode: 0 151 | androidSupportedAspectRatio: 1 152 | androidMaxAspectRatio: 2.1 153 | applicationIdentifier: {} 154 | buildNumber: {} 155 | AndroidBundleVersionCode: 1 156 | AndroidMinSdkVersion: 16 157 | AndroidTargetSdkVersion: 0 158 | AndroidPreferredInstallLocation: 1 159 | aotOptions: 160 | stripEngineCode: 1 161 | iPhoneStrippingLevel: 0 162 | iPhoneScriptCallOptimization: 0 163 | ForceInternetPermission: 0 164 | ForceSDCardPermission: 0 165 | CreateWallpaper: 0 166 | APKExpansionFiles: 0 167 | keepLoadedShadersAlive: 0 168 | StripUnusedMeshComponents: 1 169 | VertexChannelCompressionMask: 4054 170 | iPhoneSdkVersion: 988 171 | iOSTargetOSVersionString: 8.0 172 | tvOSSdkVersion: 0 173 | tvOSRequireExtendedGameController: 0 174 | tvOSTargetOSVersionString: 9.0 175 | uIPrerenderedIcon: 0 176 | uIRequiresPersistentWiFi: 0 177 | uIRequiresFullScreen: 1 178 | uIStatusBarHidden: 1 179 | uIExitOnSuspend: 0 180 | uIStatusBarStyle: 0 181 | iPhoneSplashScreen: {fileID: 0} 182 | iPhoneHighResSplashScreen: {fileID: 0} 183 | iPhoneTallHighResSplashScreen: {fileID: 0} 184 | iPhone47inSplashScreen: {fileID: 0} 185 | iPhone55inPortraitSplashScreen: {fileID: 0} 186 | iPhone55inLandscapeSplashScreen: {fileID: 0} 187 | iPhone58inPortraitSplashScreen: {fileID: 0} 188 | iPhone58inLandscapeSplashScreen: {fileID: 0} 189 | iPadPortraitSplashScreen: {fileID: 0} 190 | iPadHighResPortraitSplashScreen: {fileID: 0} 191 | iPadLandscapeSplashScreen: {fileID: 0} 192 | iPadHighResLandscapeSplashScreen: {fileID: 0} 193 | appleTVSplashScreen: {fileID: 0} 194 | appleTVSplashScreen2x: {fileID: 0} 195 | tvOSSmallIconLayers: [] 196 | tvOSSmallIconLayers2x: [] 197 | tvOSLargeIconLayers: [] 198 | tvOSLargeIconLayers2x: [] 199 | tvOSTopShelfImageLayers: [] 200 | tvOSTopShelfImageLayers2x: [] 201 | tvOSTopShelfImageWideLayers: [] 202 | tvOSTopShelfImageWideLayers2x: [] 203 | iOSLaunchScreenType: 0 204 | iOSLaunchScreenPortrait: {fileID: 0} 205 | iOSLaunchScreenLandscape: {fileID: 0} 206 | iOSLaunchScreenBackgroundColor: 207 | serializedVersion: 2 208 | rgba: 0 209 | iOSLaunchScreenFillPct: 100 210 | iOSLaunchScreenSize: 100 211 | iOSLaunchScreenCustomXibPath: 212 | iOSLaunchScreeniPadType: 0 213 | iOSLaunchScreeniPadImage: {fileID: 0} 214 | iOSLaunchScreeniPadBackgroundColor: 215 | serializedVersion: 2 216 | rgba: 0 217 | iOSLaunchScreeniPadFillPct: 100 218 | iOSLaunchScreeniPadSize: 100 219 | iOSLaunchScreeniPadCustomXibPath: 220 | iOSUseLaunchScreenStoryboard: 0 221 | iOSLaunchScreenCustomStoryboardPath: 222 | iOSDeviceRequirements: [] 223 | iOSURLSchemes: [] 224 | iOSBackgroundModes: 0 225 | iOSMetalForceHardShadows: 0 226 | metalEditorSupport: 1 227 | metalAPIValidation: 1 228 | iOSRenderExtraFrameOnPause: 0 229 | appleDeveloperTeamID: 230 | iOSManualSigningProvisioningProfileID: 231 | tvOSManualSigningProvisioningProfileID: 232 | iOSManualSigningProvisioningProfileType: 0 233 | tvOSManualSigningProvisioningProfileType: 0 234 | appleEnableAutomaticSigning: 0 235 | iOSRequireARKit: 0 236 | appleEnableProMotion: 0 237 | vulkanEditorSupport: 0 238 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 239 | templatePackageId: com.unity.3d@1.0.2 240 | templateDefaultScene: Assets/Scenes/SampleScene.unity 241 | AndroidTargetArchitectures: 5 242 | AndroidSplashScreenScale: 0 243 | androidSplashScreen: {fileID: 0} 244 | AndroidKeystoreName: 245 | AndroidKeyaliasName: 246 | AndroidBuildApkPerCpuArchitecture: 0 247 | AndroidTVCompatibility: 1 248 | AndroidIsGame: 1 249 | AndroidEnableTango: 0 250 | androidEnableBanner: 1 251 | androidUseLowAccuracyLocation: 0 252 | m_AndroidBanners: 253 | - width: 320 254 | height: 180 255 | banner: {fileID: 0} 256 | androidGamepadSupportLevel: 0 257 | resolutionDialogBanner: {fileID: 0} 258 | m_BuildTargetIcons: [] 259 | m_BuildTargetPlatformIcons: [] 260 | m_BuildTargetBatching: 261 | - m_BuildTarget: Standalone 262 | m_StaticBatching: 1 263 | m_DynamicBatching: 0 264 | - m_BuildTarget: tvOS 265 | m_StaticBatching: 1 266 | m_DynamicBatching: 0 267 | - m_BuildTarget: Android 268 | m_StaticBatching: 1 269 | m_DynamicBatching: 0 270 | - m_BuildTarget: iPhone 271 | m_StaticBatching: 1 272 | m_DynamicBatching: 0 273 | - m_BuildTarget: WebGL 274 | m_StaticBatching: 0 275 | m_DynamicBatching: 0 276 | m_BuildTargetGraphicsAPIs: 277 | - m_BuildTarget: AndroidPlayer 278 | m_APIs: 0b00000015000000 279 | m_Automatic: 1 280 | - m_BuildTarget: iOSSupport 281 | m_APIs: 10000000 282 | m_Automatic: 1 283 | - m_BuildTarget: AppleTVSupport 284 | m_APIs: 10000000 285 | m_Automatic: 0 286 | - m_BuildTarget: WebGLSupport 287 | m_APIs: 0b000000 288 | m_Automatic: 1 289 | m_BuildTargetVRSettings: 290 | - m_BuildTarget: Standalone 291 | m_Enabled: 0 292 | m_Devices: 293 | - Oculus 294 | - OpenVR 295 | m_BuildTargetEnableVuforiaSettings: [] 296 | openGLRequireES31: 0 297 | openGLRequireES31AEP: 0 298 | m_TemplateCustomTags: {} 299 | mobileMTRendering: 300 | Android: 1 301 | iPhone: 1 302 | tvOS: 1 303 | m_BuildTargetGroupLightmapEncodingQuality: [] 304 | m_BuildTargetGroupLightmapSettings: [] 305 | playModeTestRunnerEnabled: 0 306 | runPlayModeTestAsEditModeTest: 0 307 | actionOnDotNetUnhandledException: 1 308 | enableInternalProfiler: 0 309 | logObjCUncaughtExceptions: 1 310 | enableCrashReportAPI: 0 311 | cameraUsageDescription: 312 | locationUsageDescription: 313 | microphoneUsageDescription: 314 | switchNetLibKey: 315 | switchSocketMemoryPoolSize: 6144 316 | switchSocketAllocatorPoolSize: 128 317 | switchSocketConcurrencyLimit: 14 318 | switchScreenResolutionBehavior: 2 319 | switchUseCPUProfiler: 0 320 | switchApplicationID: 0x01004b9000490000 321 | switchNSODependencies: 322 | switchTitleNames_0: 323 | switchTitleNames_1: 324 | switchTitleNames_2: 325 | switchTitleNames_3: 326 | switchTitleNames_4: 327 | switchTitleNames_5: 328 | switchTitleNames_6: 329 | switchTitleNames_7: 330 | switchTitleNames_8: 331 | switchTitleNames_9: 332 | switchTitleNames_10: 333 | switchTitleNames_11: 334 | switchTitleNames_12: 335 | switchTitleNames_13: 336 | switchTitleNames_14: 337 | switchPublisherNames_0: 338 | switchPublisherNames_1: 339 | switchPublisherNames_2: 340 | switchPublisherNames_3: 341 | switchPublisherNames_4: 342 | switchPublisherNames_5: 343 | switchPublisherNames_6: 344 | switchPublisherNames_7: 345 | switchPublisherNames_8: 346 | switchPublisherNames_9: 347 | switchPublisherNames_10: 348 | switchPublisherNames_11: 349 | switchPublisherNames_12: 350 | switchPublisherNames_13: 351 | switchPublisherNames_14: 352 | switchIcons_0: {fileID: 0} 353 | switchIcons_1: {fileID: 0} 354 | switchIcons_2: {fileID: 0} 355 | switchIcons_3: {fileID: 0} 356 | switchIcons_4: {fileID: 0} 357 | switchIcons_5: {fileID: 0} 358 | switchIcons_6: {fileID: 0} 359 | switchIcons_7: {fileID: 0} 360 | switchIcons_8: {fileID: 0} 361 | switchIcons_9: {fileID: 0} 362 | switchIcons_10: {fileID: 0} 363 | switchIcons_11: {fileID: 0} 364 | switchIcons_12: {fileID: 0} 365 | switchIcons_13: {fileID: 0} 366 | switchIcons_14: {fileID: 0} 367 | switchSmallIcons_0: {fileID: 0} 368 | switchSmallIcons_1: {fileID: 0} 369 | switchSmallIcons_2: {fileID: 0} 370 | switchSmallIcons_3: {fileID: 0} 371 | switchSmallIcons_4: {fileID: 0} 372 | switchSmallIcons_5: {fileID: 0} 373 | switchSmallIcons_6: {fileID: 0} 374 | switchSmallIcons_7: {fileID: 0} 375 | switchSmallIcons_8: {fileID: 0} 376 | switchSmallIcons_9: {fileID: 0} 377 | switchSmallIcons_10: {fileID: 0} 378 | switchSmallIcons_11: {fileID: 0} 379 | switchSmallIcons_12: {fileID: 0} 380 | switchSmallIcons_13: {fileID: 0} 381 | switchSmallIcons_14: {fileID: 0} 382 | switchManualHTML: 383 | switchAccessibleURLs: 384 | switchLegalInformation: 385 | switchMainThreadStackSize: 1048576 386 | switchPresenceGroupId: 387 | switchLogoHandling: 0 388 | switchReleaseVersion: 0 389 | switchDisplayVersion: 1.0.0 390 | switchStartupUserAccount: 0 391 | switchTouchScreenUsage: 0 392 | switchSupportedLanguagesMask: 0 393 | switchLogoType: 0 394 | switchApplicationErrorCodeCategory: 395 | switchUserAccountSaveDataSize: 0 396 | switchUserAccountSaveDataJournalSize: 0 397 | switchApplicationAttribute: 0 398 | switchCardSpecSize: -1 399 | switchCardSpecClock: -1 400 | switchRatingsMask: 0 401 | switchRatingsInt_0: 0 402 | switchRatingsInt_1: 0 403 | switchRatingsInt_2: 0 404 | switchRatingsInt_3: 0 405 | switchRatingsInt_4: 0 406 | switchRatingsInt_5: 0 407 | switchRatingsInt_6: 0 408 | switchRatingsInt_7: 0 409 | switchRatingsInt_8: 0 410 | switchRatingsInt_9: 0 411 | switchRatingsInt_10: 0 412 | switchRatingsInt_11: 0 413 | switchLocalCommunicationIds_0: 414 | switchLocalCommunicationIds_1: 415 | switchLocalCommunicationIds_2: 416 | switchLocalCommunicationIds_3: 417 | switchLocalCommunicationIds_4: 418 | switchLocalCommunicationIds_5: 419 | switchLocalCommunicationIds_6: 420 | switchLocalCommunicationIds_7: 421 | switchParentalControl: 0 422 | switchAllowsScreenshot: 1 423 | switchAllowsVideoCapturing: 1 424 | switchAllowsRuntimeAddOnContentInstall: 0 425 | switchDataLossConfirmation: 0 426 | switchSupportedNpadStyles: 3 427 | switchNativeFsCacheSize: 32 428 | switchIsHoldTypeHorizontal: 0 429 | switchSupportedNpadCount: 8 430 | switchSocketConfigEnabled: 0 431 | switchTcpInitialSendBufferSize: 32 432 | switchTcpInitialReceiveBufferSize: 64 433 | switchTcpAutoSendBufferSizeMax: 256 434 | switchTcpAutoReceiveBufferSizeMax: 256 435 | switchUdpSendBufferSize: 9 436 | switchUdpReceiveBufferSize: 42 437 | switchSocketBufferEfficiency: 4 438 | switchSocketInitializeEnabled: 1 439 | switchNetworkInterfaceManagerInitializeEnabled: 1 440 | switchPlayerConnectionEnabled: 1 441 | ps4NPAgeRating: 12 442 | ps4NPTitleSecret: 443 | ps4NPTrophyPackPath: 444 | ps4ParentalLevel: 11 445 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 446 | ps4Category: 0 447 | ps4MasterVersion: 01.00 448 | ps4AppVersion: 01.00 449 | ps4AppType: 0 450 | ps4ParamSfxPath: 451 | ps4VideoOutPixelFormat: 0 452 | ps4VideoOutInitialWidth: 1920 453 | ps4VideoOutBaseModeInitialWidth: 1920 454 | ps4VideoOutReprojectionRate: 60 455 | ps4PronunciationXMLPath: 456 | ps4PronunciationSIGPath: 457 | ps4BackgroundImagePath: 458 | ps4StartupImagePath: 459 | ps4StartupImagesFolder: 460 | ps4IconImagesFolder: 461 | ps4SaveDataImagePath: 462 | ps4SdkOverride: 463 | ps4BGMPath: 464 | ps4ShareFilePath: 465 | ps4ShareOverlayImagePath: 466 | ps4PrivacyGuardImagePath: 467 | ps4NPtitleDatPath: 468 | ps4RemotePlayKeyAssignment: -1 469 | ps4RemotePlayKeyMappingDir: 470 | ps4PlayTogetherPlayerCount: 0 471 | ps4EnterButtonAssignment: 1 472 | ps4ApplicationParam1: 0 473 | ps4ApplicationParam2: 0 474 | ps4ApplicationParam3: 0 475 | ps4ApplicationParam4: 0 476 | ps4DownloadDataSize: 0 477 | ps4GarlicHeapSize: 2048 478 | ps4ProGarlicHeapSize: 2560 479 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 480 | ps4pnSessions: 1 481 | ps4pnPresence: 1 482 | ps4pnFriends: 1 483 | ps4pnGameCustomData: 1 484 | playerPrefsSupport: 0 485 | enableApplicationExit: 0 486 | restrictedAudioUsageRights: 0 487 | ps4UseResolutionFallback: 0 488 | ps4ReprojectionSupport: 0 489 | ps4UseAudio3dBackend: 0 490 | ps4SocialScreenEnabled: 0 491 | ps4ScriptOptimizationLevel: 0 492 | ps4Audio3dVirtualSpeakerCount: 14 493 | ps4attribCpuUsage: 0 494 | ps4PatchPkgPath: 495 | ps4PatchLatestPkgPath: 496 | ps4PatchChangeinfoPath: 497 | ps4PatchDayOne: 0 498 | ps4attribUserManagement: 0 499 | ps4attribMoveSupport: 0 500 | ps4attrib3DSupport: 0 501 | ps4attribShareSupport: 0 502 | ps4attribExclusiveVR: 0 503 | ps4disableAutoHideSplash: 0 504 | ps4videoRecordingFeaturesUsed: 0 505 | ps4contentSearchFeaturesUsed: 0 506 | ps4attribEyeToEyeDistanceSettingVR: 0 507 | ps4IncludedModules: [] 508 | monoEnv: 509 | psp2Splashimage: {fileID: 0} 510 | psp2NPTrophyPackPath: 511 | psp2NPSupportGBMorGJP: 0 512 | psp2NPAgeRating: 12 513 | psp2NPTitleDatPath: 514 | psp2NPCommsID: 515 | psp2NPCommunicationsID: 516 | psp2NPCommsPassphrase: 517 | psp2NPCommsSig: 518 | psp2ParamSfxPath: 519 | psp2ManualPath: 520 | psp2LiveAreaGatePath: 521 | psp2LiveAreaBackroundPath: 522 | psp2LiveAreaPath: 523 | psp2LiveAreaTrialPath: 524 | psp2PatchChangeInfoPath: 525 | psp2PatchOriginalPackage: 526 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 527 | psp2KeystoneFile: 528 | psp2MemoryExpansionMode: 0 529 | psp2DRMType: 0 530 | psp2StorageType: 0 531 | psp2MediaCapacity: 0 532 | psp2DLCConfigPath: 533 | psp2ThumbnailPath: 534 | psp2BackgroundPath: 535 | psp2SoundPath: 536 | psp2TrophyCommId: 537 | psp2TrophyPackagePath: 538 | psp2PackagedResourcesPath: 539 | psp2SaveDataQuota: 10240 540 | psp2ParentalLevel: 1 541 | psp2ShortTitle: Not Set 542 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 543 | psp2Category: 0 544 | psp2MasterVersion: 01.00 545 | psp2AppVersion: 01.00 546 | psp2TVBootMode: 0 547 | psp2EnterButtonAssignment: 2 548 | psp2TVDisableEmu: 0 549 | psp2AllowTwitterDialog: 1 550 | psp2Upgradable: 0 551 | psp2HealthWarning: 0 552 | psp2UseLibLocation: 0 553 | psp2InfoBarOnStartup: 0 554 | psp2InfoBarColor: 0 555 | psp2ScriptOptimizationLevel: 0 556 | splashScreenBackgroundSourceLandscape: {fileID: 0} 557 | splashScreenBackgroundSourcePortrait: {fileID: 0} 558 | spritePackerPolicy: 559 | webGLMemorySize: 256 560 | webGLExceptionSupport: 1 561 | webGLNameFilesAsHashes: 0 562 | webGLDataCaching: 1 563 | webGLDebugSymbols: 0 564 | webGLEmscriptenArgs: 565 | webGLModulesDirectory: 566 | webGLTemplate: APPLICATION:Default 567 | webGLAnalyzeBuildSize: 0 568 | webGLUseEmbeddedResources: 0 569 | webGLCompressionFormat: 1 570 | webGLLinkerTarget: 1 571 | scriptingDefineSymbols: {} 572 | platformArchitecture: {} 573 | scriptingBackend: {} 574 | il2cppCompilerConfiguration: {} 575 | incrementalIl2cppBuild: {} 576 | allowUnsafeCode: 0 577 | additionalIl2CppArgs: 578 | scriptingRuntimeVersion: 0 579 | apiCompatibilityLevelPerPlatform: {} 580 | m_RenderingPath: 1 581 | m_MobileRenderingPath: 1 582 | metroPackageName: Template_3D 583 | metroPackageVersion: 584 | metroCertificatePath: 585 | metroCertificatePassword: 586 | metroCertificateSubject: 587 | metroCertificateIssuer: 588 | metroCertificateNotAfter: 0000000000000000 589 | metroApplicationDescription: Template_3D 590 | wsaImages: {} 591 | metroTileShortName: 592 | metroTileShowName: 0 593 | metroMediumTileShowName: 0 594 | metroLargeTileShowName: 0 595 | metroWideTileShowName: 0 596 | metroDefaultTileSize: 1 597 | metroTileForegroundText: 2 598 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 599 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 600 | a: 1} 601 | metroSplashScreenUseBackgroundColor: 0 602 | platformCapabilities: {} 603 | metroFTAName: 604 | metroFTAFileTypes: [] 605 | metroProtocolName: 606 | metroCompilationOverrides: 1 607 | n3dsUseExtSaveData: 0 608 | n3dsCompressStaticMem: 1 609 | n3dsExtSaveDataNumber: 0x12345 610 | n3dsStackSize: 131072 611 | n3dsTargetPlatform: 2 612 | n3dsRegion: 7 613 | n3dsMediaSize: 0 614 | n3dsLogoStyle: 3 615 | n3dsTitle: GameName 616 | n3dsProductCode: 617 | n3dsApplicationId: 0xFF3FF 618 | XboxOneProductId: 619 | XboxOneUpdateKey: 620 | XboxOneSandboxId: 621 | XboxOneContentId: 622 | XboxOneTitleId: 623 | XboxOneSCId: 624 | XboxOneGameOsOverridePath: 625 | XboxOnePackagingOverridePath: 626 | XboxOneAppManifestOverridePath: 627 | XboxOneVersion: 1.0.0.0 628 | XboxOnePackageEncryption: 0 629 | XboxOnePackageUpdateGranularity: 2 630 | XboxOneDescription: 631 | XboxOneLanguage: 632 | - enus 633 | XboxOneCapability: [] 634 | XboxOneGameRating: {} 635 | XboxOneIsContentPackage: 0 636 | XboxOneEnableGPUVariability: 0 637 | XboxOneSockets: {} 638 | XboxOneSplashScreen: {fileID: 0} 639 | XboxOneAllowedProductIds: [] 640 | XboxOnePersistentLocalStorageSize: 0 641 | XboxOneXTitleMemory: 8 642 | xboxOneScriptCompiler: 0 643 | vrEditorSettings: 644 | daydream: 645 | daydreamIconForeground: {fileID: 0} 646 | daydreamIconBackground: {fileID: 0} 647 | cloudServicesEnabled: 648 | UNet: 1 649 | facebookSdkVersion: 7.9.4 650 | apiCompatibilityLevel: 2 651 | cloudProjectId: 652 | projectName: 653 | organizationId: 654 | cloudEnabled: 0 655 | enableNativePlatformBackendsForNewInputSystem: 0 656 | disableOldInputManagerSupport: 0 657 | -------------------------------------------------------------------------------- /Assets/UniPagingView/Examples/Scenes/Example01.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: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 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.3731196, g: 0.38074002, b: 0.35872713, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 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: 1 56 | m_EnableRealtimeLightmaps: 1 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: 1 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 &133998191 117 | GameObject: 118 | m_ObjectHideFlags: 0 119 | m_CorrespondingSourceObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 133998192} 124 | - component: {fileID: 133998194} 125 | - component: {fileID: 133998193} 126 | m_Layer: 5 127 | m_Name: page1 128 | m_TagString: Untagged 129 | m_Icon: {fileID: 0} 130 | m_NavMeshLayer: 0 131 | m_StaticEditorFlags: 0 132 | m_IsActive: 1 133 | --- !u!224 &133998192 134 | RectTransform: 135 | m_ObjectHideFlags: 0 136 | m_CorrespondingSourceObject: {fileID: 0} 137 | m_PrefabInternal: {fileID: 0} 138 | m_GameObject: {fileID: 133998191} 139 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 140 | m_LocalPosition: {x: 0, y: 0, z: 0} 141 | m_LocalScale: {x: 1, y: 1, z: 1} 142 | m_Children: [] 143 | m_Father: {fileID: 219387525} 144 | m_RootOrder: 0 145 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 146 | m_AnchorMin: {x: 0, y: 1} 147 | m_AnchorMax: {x: 0, y: 1} 148 | m_AnchoredPosition: {x: 540, y: -960} 149 | m_SizeDelta: {x: 1080, y: 1920} 150 | m_Pivot: {x: 0.5, y: 0.5} 151 | --- !u!114 &133998193 152 | MonoBehaviour: 153 | m_ObjectHideFlags: 0 154 | m_CorrespondingSourceObject: {fileID: 0} 155 | m_PrefabInternal: {fileID: 0} 156 | m_GameObject: {fileID: 133998191} 157 | m_Enabled: 1 158 | m_EditorHideFlags: 0 159 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 160 | m_Name: 161 | m_EditorClassIdentifier: 162 | m_Material: {fileID: 0} 163 | m_Color: {r: 1, g: 0.87058824, b: 0.011764706, a: 1} 164 | m_RaycastTarget: 1 165 | m_OnCullStateChanged: 166 | m_PersistentCalls: 167 | m_Calls: [] 168 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 169 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 170 | m_Sprite: {fileID: 0} 171 | m_Type: 0 172 | m_PreserveAspect: 0 173 | m_FillCenter: 1 174 | m_FillMethod: 4 175 | m_FillAmount: 1 176 | m_FillClockwise: 1 177 | m_FillOrigin: 0 178 | --- !u!222 &133998194 179 | CanvasRenderer: 180 | m_ObjectHideFlags: 0 181 | m_CorrespondingSourceObject: {fileID: 0} 182 | m_PrefabInternal: {fileID: 0} 183 | m_GameObject: {fileID: 133998191} 184 | m_CullTransparentMesh: 0 185 | --- !u!1 &219387524 186 | GameObject: 187 | m_ObjectHideFlags: 0 188 | m_CorrespondingSourceObject: {fileID: 0} 189 | m_PrefabInternal: {fileID: 0} 190 | serializedVersion: 6 191 | m_Component: 192 | - component: {fileID: 219387525} 193 | - component: {fileID: 219387526} 194 | - component: {fileID: 219387527} 195 | m_Layer: 5 196 | m_Name: Content 197 | m_TagString: Untagged 198 | m_Icon: {fileID: 0} 199 | m_NavMeshLayer: 0 200 | m_StaticEditorFlags: 0 201 | m_IsActive: 1 202 | --- !u!224 &219387525 203 | RectTransform: 204 | m_ObjectHideFlags: 0 205 | m_CorrespondingSourceObject: {fileID: 0} 206 | m_PrefabInternal: {fileID: 0} 207 | m_GameObject: {fileID: 219387524} 208 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 209 | m_LocalPosition: {x: 0, y: 0, z: 0} 210 | m_LocalScale: {x: 1, y: 1, z: 1} 211 | m_Children: 212 | - {fileID: 133998192} 213 | - {fileID: 1925847681} 214 | - {fileID: 1518138292} 215 | - {fileID: 1884901054} 216 | - {fileID: 1152660319} 217 | m_Father: {fileID: 864719950} 218 | m_RootOrder: 0 219 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 220 | m_AnchorMin: {x: 0.5, y: 0} 221 | m_AnchorMax: {x: 0.5, y: 1} 222 | m_AnchoredPosition: {x: -539.9999, y: 0} 223 | m_SizeDelta: {x: 5400, y: 0} 224 | m_Pivot: {x: 0, y: 1} 225 | --- !u!114 &219387526 226 | MonoBehaviour: 227 | m_ObjectHideFlags: 0 228 | m_CorrespondingSourceObject: {fileID: 0} 229 | m_PrefabInternal: {fileID: 0} 230 | m_GameObject: {fileID: 219387524} 231 | m_Enabled: 1 232 | m_EditorHideFlags: 0 233 | m_Script: {fileID: 1741964061, guid: f70555f144d8491a825f0804e09c671c, type: 3} 234 | m_Name: 235 | m_EditorClassIdentifier: 236 | m_HorizontalFit: 2 237 | m_VerticalFit: 2 238 | --- !u!114 &219387527 239 | MonoBehaviour: 240 | m_ObjectHideFlags: 0 241 | m_CorrespondingSourceObject: {fileID: 0} 242 | m_PrefabInternal: {fileID: 0} 243 | m_GameObject: {fileID: 219387524} 244 | m_Enabled: 1 245 | m_EditorHideFlags: 0 246 | m_Script: {fileID: -405508275, guid: f70555f144d8491a825f0804e09c671c, type: 3} 247 | m_Name: 248 | m_EditorClassIdentifier: 249 | m_Padding: 250 | m_Left: 0 251 | m_Right: 0 252 | m_Top: 0 253 | m_Bottom: 0 254 | m_ChildAlignment: 3 255 | m_Spacing: 0 256 | m_ChildForceExpandWidth: 1 257 | m_ChildForceExpandHeight: 1 258 | m_ChildControlWidth: 0 259 | m_ChildControlHeight: 0 260 | --- !u!1 &291414389 261 | GameObject: 262 | m_ObjectHideFlags: 0 263 | m_CorrespondingSourceObject: {fileID: 0} 264 | m_PrefabInternal: {fileID: 0} 265 | serializedVersion: 6 266 | m_Component: 267 | - component: {fileID: 291414393} 268 | - component: {fileID: 291414392} 269 | - component: {fileID: 291414391} 270 | - component: {fileID: 291414390} 271 | m_Layer: 5 272 | m_Name: Canvas 273 | m_TagString: Untagged 274 | m_Icon: {fileID: 0} 275 | m_NavMeshLayer: 0 276 | m_StaticEditorFlags: 0 277 | m_IsActive: 1 278 | --- !u!114 &291414390 279 | MonoBehaviour: 280 | m_ObjectHideFlags: 0 281 | m_CorrespondingSourceObject: {fileID: 0} 282 | m_PrefabInternal: {fileID: 0} 283 | m_GameObject: {fileID: 291414389} 284 | m_Enabled: 1 285 | m_EditorHideFlags: 0 286 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 287 | m_Name: 288 | m_EditorClassIdentifier: 289 | m_IgnoreReversedGraphics: 1 290 | m_BlockingObjects: 0 291 | m_BlockingMask: 292 | serializedVersion: 2 293 | m_Bits: 4294967295 294 | --- !u!114 &291414391 295 | MonoBehaviour: 296 | m_ObjectHideFlags: 0 297 | m_CorrespondingSourceObject: {fileID: 0} 298 | m_PrefabInternal: {fileID: 0} 299 | m_GameObject: {fileID: 291414389} 300 | m_Enabled: 1 301 | m_EditorHideFlags: 0 302 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 303 | m_Name: 304 | m_EditorClassIdentifier: 305 | m_UiScaleMode: 1 306 | m_ReferencePixelsPerUnit: 100 307 | m_ScaleFactor: 1 308 | m_ReferenceResolution: {x: 1080, y: 1920} 309 | m_ScreenMatchMode: 0 310 | m_MatchWidthOrHeight: 0 311 | m_PhysicalUnit: 3 312 | m_FallbackScreenDPI: 96 313 | m_DefaultSpriteDPI: 96 314 | m_DynamicPixelsPerUnit: 1 315 | --- !u!223 &291414392 316 | Canvas: 317 | m_ObjectHideFlags: 0 318 | m_CorrespondingSourceObject: {fileID: 0} 319 | m_PrefabInternal: {fileID: 0} 320 | m_GameObject: {fileID: 291414389} 321 | m_Enabled: 1 322 | serializedVersion: 3 323 | m_RenderMode: 1 324 | m_Camera: {fileID: 0} 325 | m_PlaneDistance: 100 326 | m_PixelPerfect: 0 327 | m_ReceivesEvents: 1 328 | m_OverrideSorting: 0 329 | m_OverridePixelPerfect: 0 330 | m_SortingBucketNormalizedSize: 0 331 | m_AdditionalShaderChannelsFlag: 0 332 | m_SortingLayerID: 0 333 | m_SortingOrder: 0 334 | m_TargetDisplay: 0 335 | --- !u!224 &291414393 336 | RectTransform: 337 | m_ObjectHideFlags: 0 338 | m_CorrespondingSourceObject: {fileID: 0} 339 | m_PrefabInternal: {fileID: 0} 340 | m_GameObject: {fileID: 291414389} 341 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 342 | m_LocalPosition: {x: 0, y: 0, z: 0} 343 | m_LocalScale: {x: 0, y: 0, z: 0} 344 | m_Children: 345 | - {fileID: 1471929921} 346 | m_Father: {fileID: 0} 347 | m_RootOrder: 1 348 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 349 | m_AnchorMin: {x: 0, y: 0} 350 | m_AnchorMax: {x: 0, y: 0} 351 | m_AnchoredPosition: {x: 0, y: 0} 352 | m_SizeDelta: {x: 0, y: 0} 353 | m_Pivot: {x: 0, y: 0} 354 | --- !u!1 &614519446 355 | GameObject: 356 | m_ObjectHideFlags: 0 357 | m_CorrespondingSourceObject: {fileID: 0} 358 | m_PrefabInternal: {fileID: 0} 359 | serializedVersion: 6 360 | m_Component: 361 | - component: {fileID: 614519449} 362 | - component: {fileID: 614519448} 363 | - component: {fileID: 614519447} 364 | m_Layer: 0 365 | m_Name: Main Camera 366 | m_TagString: MainCamera 367 | m_Icon: {fileID: 0} 368 | m_NavMeshLayer: 0 369 | m_StaticEditorFlags: 0 370 | m_IsActive: 1 371 | --- !u!81 &614519447 372 | AudioListener: 373 | m_ObjectHideFlags: 0 374 | m_CorrespondingSourceObject: {fileID: 0} 375 | m_PrefabInternal: {fileID: 0} 376 | m_GameObject: {fileID: 614519446} 377 | m_Enabled: 1 378 | --- !u!20 &614519448 379 | Camera: 380 | m_ObjectHideFlags: 0 381 | m_CorrespondingSourceObject: {fileID: 0} 382 | m_PrefabInternal: {fileID: 0} 383 | m_GameObject: {fileID: 614519446} 384 | m_Enabled: 1 385 | serializedVersion: 2 386 | m_ClearFlags: 2 387 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 388 | m_projectionMatrixMode: 1 389 | m_SensorSize: {x: 36, y: 24} 390 | m_LensShift: {x: 0, y: 0} 391 | m_FocalLength: 50 392 | m_NormalizedViewPortRect: 393 | serializedVersion: 2 394 | x: 0 395 | y: 0 396 | width: 1 397 | height: 1 398 | near clip plane: 0.3 399 | far clip plane: 1000 400 | field of view: 60 401 | orthographic: 1 402 | orthographic size: 5 403 | m_Depth: -1 404 | m_CullingMask: 405 | serializedVersion: 2 406 | m_Bits: 4294967295 407 | m_RenderingPath: -1 408 | m_TargetTexture: {fileID: 0} 409 | m_TargetDisplay: 0 410 | m_TargetEye: 3 411 | m_HDR: 1 412 | m_AllowMSAA: 1 413 | m_AllowDynamicResolution: 0 414 | m_ForceIntoRT: 0 415 | m_OcclusionCulling: 1 416 | m_StereoConvergence: 10 417 | m_StereoSeparation: 0.022 418 | --- !u!4 &614519449 419 | Transform: 420 | m_ObjectHideFlags: 0 421 | m_CorrespondingSourceObject: {fileID: 0} 422 | m_PrefabInternal: {fileID: 0} 423 | m_GameObject: {fileID: 614519446} 424 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 425 | m_LocalPosition: {x: 0, y: 1, z: -10} 426 | m_LocalScale: {x: 1, y: 1, z: 1} 427 | m_Children: [] 428 | m_Father: {fileID: 0} 429 | m_RootOrder: 0 430 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 431 | --- !u!1 &864719949 432 | GameObject: 433 | m_ObjectHideFlags: 0 434 | m_CorrespondingSourceObject: {fileID: 0} 435 | m_PrefabInternal: {fileID: 0} 436 | serializedVersion: 6 437 | m_Component: 438 | - component: {fileID: 864719950} 439 | - component: {fileID: 864719952} 440 | - component: {fileID: 864719951} 441 | - component: {fileID: 864719953} 442 | m_Layer: 5 443 | m_Name: Viewport 444 | m_TagString: Untagged 445 | m_Icon: {fileID: 0} 446 | m_NavMeshLayer: 0 447 | m_StaticEditorFlags: 0 448 | m_IsActive: 1 449 | --- !u!224 &864719950 450 | RectTransform: 451 | m_ObjectHideFlags: 0 452 | m_CorrespondingSourceObject: {fileID: 0} 453 | m_PrefabInternal: {fileID: 0} 454 | m_GameObject: {fileID: 864719949} 455 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 456 | m_LocalPosition: {x: 0, y: 0, z: 0} 457 | m_LocalScale: {x: 1, y: 1, z: 1} 458 | m_Children: 459 | - {fileID: 219387525} 460 | m_Father: {fileID: 1471929921} 461 | m_RootOrder: 0 462 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 463 | m_AnchorMin: {x: 0.5, y: 0.5} 464 | m_AnchorMax: {x: 0.5, y: 0.5} 465 | m_AnchoredPosition: {x: -540, y: 960} 466 | m_SizeDelta: {x: 1080, y: 1920} 467 | m_Pivot: {x: 0, y: 1} 468 | --- !u!114 &864719951 469 | MonoBehaviour: 470 | m_ObjectHideFlags: 0 471 | m_CorrespondingSourceObject: {fileID: 0} 472 | m_PrefabInternal: {fileID: 0} 473 | m_GameObject: {fileID: 864719949} 474 | m_Enabled: 1 475 | m_EditorHideFlags: 0 476 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 477 | m_Name: 478 | m_EditorClassIdentifier: 479 | m_Material: {fileID: 0} 480 | m_Color: {r: 1, g: 1, b: 1, a: 1} 481 | m_RaycastTarget: 1 482 | m_OnCullStateChanged: 483 | m_PersistentCalls: 484 | m_Calls: [] 485 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 486 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 487 | m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0} 488 | m_Type: 1 489 | m_PreserveAspect: 0 490 | m_FillCenter: 1 491 | m_FillMethod: 4 492 | m_FillAmount: 1 493 | m_FillClockwise: 1 494 | m_FillOrigin: 0 495 | --- !u!222 &864719952 496 | CanvasRenderer: 497 | m_ObjectHideFlags: 0 498 | m_CorrespondingSourceObject: {fileID: 0} 499 | m_PrefabInternal: {fileID: 0} 500 | m_GameObject: {fileID: 864719949} 501 | m_CullTransparentMesh: 0 502 | --- !u!114 &864719953 503 | MonoBehaviour: 504 | m_ObjectHideFlags: 0 505 | m_CorrespondingSourceObject: {fileID: 0} 506 | m_PrefabInternal: {fileID: 0} 507 | m_GameObject: {fileID: 864719949} 508 | m_Enabled: 1 509 | m_EditorHideFlags: 0 510 | m_Script: {fileID: -146154839, guid: f70555f144d8491a825f0804e09c671c, type: 3} 511 | m_Name: 512 | m_EditorClassIdentifier: 513 | --- !u!1 &885083359 514 | GameObject: 515 | m_ObjectHideFlags: 0 516 | m_CorrespondingSourceObject: {fileID: 0} 517 | m_PrefabInternal: {fileID: 0} 518 | serializedVersion: 6 519 | m_Component: 520 | - component: {fileID: 885083362} 521 | - component: {fileID: 885083361} 522 | - component: {fileID: 885083360} 523 | m_Layer: 0 524 | m_Name: EventSystem 525 | m_TagString: Untagged 526 | m_Icon: {fileID: 0} 527 | m_NavMeshLayer: 0 528 | m_StaticEditorFlags: 0 529 | m_IsActive: 1 530 | --- !u!114 &885083360 531 | MonoBehaviour: 532 | m_ObjectHideFlags: 0 533 | m_CorrespondingSourceObject: {fileID: 0} 534 | m_PrefabInternal: {fileID: 0} 535 | m_GameObject: {fileID: 885083359} 536 | m_Enabled: 1 537 | m_EditorHideFlags: 0 538 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 539 | m_Name: 540 | m_EditorClassIdentifier: 541 | m_HorizontalAxis: Horizontal 542 | m_VerticalAxis: Vertical 543 | m_SubmitButton: Submit 544 | m_CancelButton: Cancel 545 | m_InputActionsPerSecond: 10 546 | m_RepeatDelay: 0.5 547 | m_ForceModuleActive: 0 548 | --- !u!114 &885083361 549 | MonoBehaviour: 550 | m_ObjectHideFlags: 0 551 | m_CorrespondingSourceObject: {fileID: 0} 552 | m_PrefabInternal: {fileID: 0} 553 | m_GameObject: {fileID: 885083359} 554 | m_Enabled: 1 555 | m_EditorHideFlags: 0 556 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 557 | m_Name: 558 | m_EditorClassIdentifier: 559 | m_FirstSelected: {fileID: 0} 560 | m_sendNavigationEvents: 1 561 | m_DragThreshold: 10 562 | --- !u!4 &885083362 563 | Transform: 564 | m_ObjectHideFlags: 0 565 | m_CorrespondingSourceObject: {fileID: 0} 566 | m_PrefabInternal: {fileID: 0} 567 | m_GameObject: {fileID: 885083359} 568 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 569 | m_LocalPosition: {x: 0, y: 0, z: 0} 570 | m_LocalScale: {x: 1, y: 1, z: 1} 571 | m_Children: [] 572 | m_Father: {fileID: 0} 573 | m_RootOrder: 2 574 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 575 | --- !u!1 &1152660318 576 | GameObject: 577 | m_ObjectHideFlags: 0 578 | m_CorrespondingSourceObject: {fileID: 0} 579 | m_PrefabInternal: {fileID: 0} 580 | serializedVersion: 6 581 | m_Component: 582 | - component: {fileID: 1152660319} 583 | - component: {fileID: 1152660321} 584 | - component: {fileID: 1152660320} 585 | m_Layer: 5 586 | m_Name: page5 587 | m_TagString: Untagged 588 | m_Icon: {fileID: 0} 589 | m_NavMeshLayer: 0 590 | m_StaticEditorFlags: 0 591 | m_IsActive: 1 592 | --- !u!224 &1152660319 593 | RectTransform: 594 | m_ObjectHideFlags: 0 595 | m_CorrespondingSourceObject: {fileID: 0} 596 | m_PrefabInternal: {fileID: 0} 597 | m_GameObject: {fileID: 1152660318} 598 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 599 | m_LocalPosition: {x: 0, y: 0, z: 0} 600 | m_LocalScale: {x: 1, y: 1, z: 1} 601 | m_Children: [] 602 | m_Father: {fileID: 219387525} 603 | m_RootOrder: 4 604 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 605 | m_AnchorMin: {x: 0, y: 1} 606 | m_AnchorMax: {x: 0, y: 1} 607 | m_AnchoredPosition: {x: 4860, y: -960} 608 | m_SizeDelta: {x: 1080, y: 1920} 609 | m_Pivot: {x: 0.5, y: 0.5} 610 | --- !u!114 &1152660320 611 | MonoBehaviour: 612 | m_ObjectHideFlags: 0 613 | m_CorrespondingSourceObject: {fileID: 0} 614 | m_PrefabInternal: {fileID: 0} 615 | m_GameObject: {fileID: 1152660318} 616 | m_Enabled: 1 617 | m_EditorHideFlags: 0 618 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 619 | m_Name: 620 | m_EditorClassIdentifier: 621 | m_Material: {fileID: 0} 622 | m_Color: {r: 0.40000004, g: 0.8431373, b: 0.7725491, a: 1} 623 | m_RaycastTarget: 1 624 | m_OnCullStateChanged: 625 | m_PersistentCalls: 626 | m_Calls: [] 627 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 628 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 629 | m_Sprite: {fileID: 0} 630 | m_Type: 0 631 | m_PreserveAspect: 0 632 | m_FillCenter: 1 633 | m_FillMethod: 4 634 | m_FillAmount: 1 635 | m_FillClockwise: 1 636 | m_FillOrigin: 0 637 | --- !u!222 &1152660321 638 | CanvasRenderer: 639 | m_ObjectHideFlags: 0 640 | m_CorrespondingSourceObject: {fileID: 0} 641 | m_PrefabInternal: {fileID: 0} 642 | m_GameObject: {fileID: 1152660318} 643 | m_CullTransparentMesh: 0 644 | --- !u!1 &1471929920 645 | GameObject: 646 | m_ObjectHideFlags: 0 647 | m_CorrespondingSourceObject: {fileID: 0} 648 | m_PrefabInternal: {fileID: 0} 649 | serializedVersion: 6 650 | m_Component: 651 | - component: {fileID: 1471929921} 652 | - component: {fileID: 1471929924} 653 | - component: {fileID: 1471929922} 654 | m_Layer: 5 655 | m_Name: PagingView 656 | m_TagString: Untagged 657 | m_Icon: {fileID: 0} 658 | m_NavMeshLayer: 0 659 | m_StaticEditorFlags: 0 660 | m_IsActive: 1 661 | --- !u!224 &1471929921 662 | RectTransform: 663 | m_ObjectHideFlags: 0 664 | m_CorrespondingSourceObject: {fileID: 0} 665 | m_PrefabInternal: {fileID: 0} 666 | m_GameObject: {fileID: 1471929920} 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 | - {fileID: 864719950} 672 | m_Father: {fileID: 291414393} 673 | m_RootOrder: 0 674 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 675 | m_AnchorMin: {x: 0.5, y: 0.5} 676 | m_AnchorMax: {x: 0.5, y: 0.5} 677 | m_AnchoredPosition: {x: 0, y: 0} 678 | m_SizeDelta: {x: 1080, y: 1920} 679 | m_Pivot: {x: 0.5, y: 0.5} 680 | --- !u!114 &1471929922 681 | MonoBehaviour: 682 | m_ObjectHideFlags: 0 683 | m_CorrespondingSourceObject: {fileID: 0} 684 | m_PrefabInternal: {fileID: 0} 685 | m_GameObject: {fileID: 1471929920} 686 | m_Enabled: 1 687 | m_EditorHideFlags: 0 688 | m_Script: {fileID: 11500000, guid: 0e3b390bf9e74e7eb62ce6686dcfe62a, type: 3} 689 | m_Name: 690 | m_EditorClassIdentifier: 691 | m_Content: {fileID: 219387525} 692 | m_Contents: 693 | - {fileID: 133998192} 694 | - {fileID: 1925847681} 695 | - {fileID: 1518138292} 696 | - {fileID: 1884901054} 697 | - {fileID: 1152660319} 698 | m_Horizontal: 1 699 | m_Vertical: 0 700 | m_Elasticity: 0.1 701 | m_Inertia: 1 702 | m_DecelerationRate: 0.135 703 | m_ScrollSensitivity: 1 704 | m_Viewport: {fileID: 864719950} 705 | m_OnValueChanged: 706 | m_PersistentCalls: 707 | m_Calls: [] 708 | m_TypeName: UnityEngine.UI.Extensions.PagingView+PagingEvent, Assembly-CSharp, 709 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 710 | --- !u!222 &1471929924 711 | CanvasRenderer: 712 | m_ObjectHideFlags: 0 713 | m_CorrespondingSourceObject: {fileID: 0} 714 | m_PrefabInternal: {fileID: 0} 715 | m_GameObject: {fileID: 1471929920} 716 | m_CullTransparentMesh: 0 717 | --- !u!1 &1518138291 718 | GameObject: 719 | m_ObjectHideFlags: 0 720 | m_CorrespondingSourceObject: {fileID: 0} 721 | m_PrefabInternal: {fileID: 0} 722 | serializedVersion: 6 723 | m_Component: 724 | - component: {fileID: 1518138292} 725 | - component: {fileID: 1518138294} 726 | - component: {fileID: 1518138293} 727 | m_Layer: 5 728 | m_Name: page3 729 | m_TagString: Untagged 730 | m_Icon: {fileID: 0} 731 | m_NavMeshLayer: 0 732 | m_StaticEditorFlags: 0 733 | m_IsActive: 1 734 | --- !u!224 &1518138292 735 | RectTransform: 736 | m_ObjectHideFlags: 0 737 | m_CorrespondingSourceObject: {fileID: 0} 738 | m_PrefabInternal: {fileID: 0} 739 | m_GameObject: {fileID: 1518138291} 740 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 741 | m_LocalPosition: {x: 0, y: 0, z: 0} 742 | m_LocalScale: {x: 1, y: 1, z: 1} 743 | m_Children: [] 744 | m_Father: {fileID: 219387525} 745 | m_RootOrder: 2 746 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 747 | m_AnchorMin: {x: 0, y: 1} 748 | m_AnchorMax: {x: 0, y: 1} 749 | m_AnchoredPosition: {x: 2700, y: -960} 750 | m_SizeDelta: {x: 1080, y: 1920} 751 | m_Pivot: {x: 0.5, y: 0.5} 752 | --- !u!114 &1518138293 753 | MonoBehaviour: 754 | m_ObjectHideFlags: 0 755 | m_CorrespondingSourceObject: {fileID: 0} 756 | m_PrefabInternal: {fileID: 0} 757 | m_GameObject: {fileID: 1518138291} 758 | m_Enabled: 1 759 | m_EditorHideFlags: 0 760 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 761 | m_Name: 762 | m_EditorClassIdentifier: 763 | m_Material: {fileID: 0} 764 | m_Color: {r: 1, g: 0.007843138, b: 0.4, a: 1} 765 | m_RaycastTarget: 1 766 | m_OnCullStateChanged: 767 | m_PersistentCalls: 768 | m_Calls: [] 769 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 770 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 771 | m_Sprite: {fileID: 0} 772 | m_Type: 0 773 | m_PreserveAspect: 0 774 | m_FillCenter: 1 775 | m_FillMethod: 4 776 | m_FillAmount: 1 777 | m_FillClockwise: 1 778 | m_FillOrigin: 0 779 | --- !u!222 &1518138294 780 | CanvasRenderer: 781 | m_ObjectHideFlags: 0 782 | m_CorrespondingSourceObject: {fileID: 0} 783 | m_PrefabInternal: {fileID: 0} 784 | m_GameObject: {fileID: 1518138291} 785 | m_CullTransparentMesh: 0 786 | --- !u!1 &1884901053 787 | GameObject: 788 | m_ObjectHideFlags: 0 789 | m_CorrespondingSourceObject: {fileID: 0} 790 | m_PrefabInternal: {fileID: 0} 791 | serializedVersion: 6 792 | m_Component: 793 | - component: {fileID: 1884901054} 794 | - component: {fileID: 1884901056} 795 | - component: {fileID: 1884901055} 796 | m_Layer: 5 797 | m_Name: page4 798 | m_TagString: Untagged 799 | m_Icon: {fileID: 0} 800 | m_NavMeshLayer: 0 801 | m_StaticEditorFlags: 0 802 | m_IsActive: 1 803 | --- !u!224 &1884901054 804 | RectTransform: 805 | m_ObjectHideFlags: 0 806 | m_CorrespondingSourceObject: {fileID: 0} 807 | m_PrefabInternal: {fileID: 0} 808 | m_GameObject: {fileID: 1884901053} 809 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 810 | m_LocalPosition: {x: 0, y: 0, z: 0} 811 | m_LocalScale: {x: 1, y: 1, z: 1} 812 | m_Children: [] 813 | m_Father: {fileID: 219387525} 814 | m_RootOrder: 3 815 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 816 | m_AnchorMin: {x: 0, y: 1} 817 | m_AnchorMax: {x: 0, y: 1} 818 | m_AnchoredPosition: {x: 3780, y: -960} 819 | m_SizeDelta: {x: 1080, y: 1920} 820 | m_Pivot: {x: 0.5, y: 0.5} 821 | --- !u!114 &1884901055 822 | MonoBehaviour: 823 | m_ObjectHideFlags: 0 824 | m_CorrespondingSourceObject: {fileID: 0} 825 | m_PrefabInternal: {fileID: 0} 826 | m_GameObject: {fileID: 1884901053} 827 | m_Enabled: 1 828 | m_EditorHideFlags: 0 829 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 830 | m_Name: 831 | m_EditorClassIdentifier: 832 | m_Material: {fileID: 0} 833 | m_Color: {r: 0.58431375, g: 0.45882353, b: 0.8039216, a: 1} 834 | m_RaycastTarget: 1 835 | m_OnCullStateChanged: 836 | m_PersistentCalls: 837 | m_Calls: [] 838 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 839 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 840 | m_Sprite: {fileID: 0} 841 | m_Type: 0 842 | m_PreserveAspect: 0 843 | m_FillCenter: 1 844 | m_FillMethod: 4 845 | m_FillAmount: 1 846 | m_FillClockwise: 1 847 | m_FillOrigin: 0 848 | --- !u!222 &1884901056 849 | CanvasRenderer: 850 | m_ObjectHideFlags: 0 851 | m_CorrespondingSourceObject: {fileID: 0} 852 | m_PrefabInternal: {fileID: 0} 853 | m_GameObject: {fileID: 1884901053} 854 | m_CullTransparentMesh: 0 855 | --- !u!1 &1925847680 856 | GameObject: 857 | m_ObjectHideFlags: 0 858 | m_CorrespondingSourceObject: {fileID: 0} 859 | m_PrefabInternal: {fileID: 0} 860 | serializedVersion: 6 861 | m_Component: 862 | - component: {fileID: 1925847681} 863 | - component: {fileID: 1925847683} 864 | - component: {fileID: 1925847682} 865 | m_Layer: 5 866 | m_Name: page2 867 | m_TagString: Untagged 868 | m_Icon: {fileID: 0} 869 | m_NavMeshLayer: 0 870 | m_StaticEditorFlags: 0 871 | m_IsActive: 1 872 | --- !u!224 &1925847681 873 | RectTransform: 874 | m_ObjectHideFlags: 0 875 | m_CorrespondingSourceObject: {fileID: 0} 876 | m_PrefabInternal: {fileID: 0} 877 | m_GameObject: {fileID: 1925847680} 878 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 879 | m_LocalPosition: {x: 0, y: 0, z: 0} 880 | m_LocalScale: {x: 1, y: 1, z: 1} 881 | m_Children: [] 882 | m_Father: {fileID: 219387525} 883 | m_RootOrder: 1 884 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 885 | m_AnchorMin: {x: 0, y: 1} 886 | m_AnchorMax: {x: 0, y: 1} 887 | m_AnchoredPosition: {x: 1620, y: -960} 888 | m_SizeDelta: {x: 1080, y: 1920} 889 | m_Pivot: {x: 0.5, y: 0.5} 890 | --- !u!114 &1925847682 891 | MonoBehaviour: 892 | m_ObjectHideFlags: 0 893 | m_CorrespondingSourceObject: {fileID: 0} 894 | m_PrefabInternal: {fileID: 0} 895 | m_GameObject: {fileID: 1925847680} 896 | m_Enabled: 1 897 | m_EditorHideFlags: 0 898 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 899 | m_Name: 900 | m_EditorClassIdentifier: 901 | m_Material: {fileID: 0} 902 | m_Color: {r: 0.011764706, g: 0.21176471, b: 1, a: 1} 903 | m_RaycastTarget: 1 904 | m_OnCullStateChanged: 905 | m_PersistentCalls: 906 | m_Calls: [] 907 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 908 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 909 | m_Sprite: {fileID: 0} 910 | m_Type: 0 911 | m_PreserveAspect: 0 912 | m_FillCenter: 1 913 | m_FillMethod: 4 914 | m_FillAmount: 1 915 | m_FillClockwise: 1 916 | m_FillOrigin: 0 917 | --- !u!222 &1925847683 918 | CanvasRenderer: 919 | m_ObjectHideFlags: 0 920 | m_CorrespondingSourceObject: {fileID: 0} 921 | m_PrefabInternal: {fileID: 0} 922 | m_GameObject: {fileID: 1925847680} 923 | m_CullTransparentMesh: 0 924 | --------------------------------------------------------------------------------