├── .gitignore ├── Assets ├── SwipeController.meta └── SwipeController │ ├── Documentation.meta │ ├── Documentation │ ├── SwipeController documentation.pdf │ └── SwipeController documentation.pdf.meta │ ├── Materials.meta │ ├── Materials │ ├── HexGrid.mat │ ├── HexGrid.mat.meta │ ├── SquareGrid.mat │ └── SquareGrid.mat.meta │ ├── Prefabs.meta │ ├── Prefabs │ ├── EightSidesSetup.prefab │ ├── EightSidesSetup.prefab.meta │ ├── FourSidesSetup.prefab │ ├── FourSidesSetup.prefab.meta │ ├── HexagonalHorizontalSetup.prefab │ ├── HexagonalHorizontalSetup.prefab.meta │ ├── LeftRightSetup.prefab │ └── LeftRightSetup.prefab.meta │ ├── Scenes.meta │ ├── Scenes │ ├── Example_CodelessUsage.unity │ ├── Example_CodelessUsage.unity.meta │ ├── Examples.unity │ └── Examples.unity.meta │ ├── Scripts.meta │ ├── Scripts │ ├── DirectionId.cs │ ├── DirectionId.cs.meta │ ├── DirectionPresets.cs │ ├── DirectionPresets.cs.meta │ ├── Errors.cs │ ├── Errors.cs.meta │ ├── Examples.meta │ ├── Examples │ │ ├── MoveOnSwipe_EightDirections.cs │ │ ├── MoveOnSwipe_EightDirections.cs.meta │ │ ├── MoveOnSwipe_Hexagonal.cs │ │ ├── MoveOnSwipe_Hexagonal.cs.meta │ │ ├── MoveOnSwipe_Vector.cs │ │ └── MoveOnSwipe_Vector.cs.meta │ ├── SwipeDetectionMode.cs │ ├── SwipeDetectionMode.cs.meta │ ├── SwipeListener.cs │ ├── SwipeListener.cs.meta │ ├── SwipesToVectorEvents.cs │ ├── SwipesToVectorEvents.cs.meta │ ├── VectorToDirection.cs │ └── VectorToDirection.cs.meta │ ├── Textures.meta │ └── Textures │ ├── HexGrid.png │ ├── HexGrid.png.meta │ ├── SquareGrid.png │ └── SquareGrid.png.meta ├── LICENSE ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset └── XRSettings.asset ├── README.md └── _config.yml /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Asset meta data should only be ignored when the corresponding asset is also ignored 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /Assets/SwipeController.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc6f6752e68374948b2fab5959ec692d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab3f43841b13b8e4d823dc3e265a3f62 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Documentation/SwipeController documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/Assets/SwipeController/Documentation/SwipeController documentation.pdf -------------------------------------------------------------------------------- /Assets/SwipeController/Documentation/SwipeController documentation.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39278964bacdc8647a3fcf1f5d55f607 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/SwipeController/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4b05829d50faa740892ef32b8cbbf0a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Materials/HexGrid.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: HexGrid 11 | m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: e9254669329a0e742ba7793cb610defb, type: 3} 44 | m_Scale: {x: 10, y: 10} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 1, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/SwipeController/Materials/HexGrid.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77f8b8bfe7661aa41aadf61f9dd83e1b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Materials/SquareGrid.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SquareGrid 11 | m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: 79e147825711f0a4dac3acae3a87f770, type: 3} 44 | m_Scale: {x: 11, y: 11} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 1, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/SwipeController/Materials/SquareGrid.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b70c7f591bb5ac4c8b883fff0267f2e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6ad17a3eb970a949a807b2696b76a7f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs/EightSidesSetup.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &801222335473849931 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 801222335473849920} 12 | - component: {fileID: 801222335473849935} 13 | - component: {fileID: 801222335473849934} 14 | - component: {fileID: 801222335473849932} 15 | - component: {fileID: 801222335473849921} 16 | m_Layer: 0 17 | m_Name: EightSidesSetup 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 0 23 | --- !u!4 &801222335473849920 24 | Transform: 25 | m_ObjectHideFlags: 0 26 | m_CorrespondingSourceObject: {fileID: 0} 27 | m_PrefabInstance: {fileID: 0} 28 | m_PrefabAsset: {fileID: 0} 29 | m_GameObject: {fileID: 801222335473849931} 30 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 31 | m_LocalPosition: {x: 0, y: 0, z: 0} 32 | m_LocalScale: {x: 1, y: 1, z: 1} 33 | m_Children: [] 34 | m_Father: {fileID: 0} 35 | m_RootOrder: 0 36 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 37 | --- !u!33 &801222335473849935 38 | MeshFilter: 39 | m_ObjectHideFlags: 0 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_GameObject: {fileID: 801222335473849931} 44 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 45 | --- !u!23 &801222335473849934 46 | MeshRenderer: 47 | m_ObjectHideFlags: 0 48 | m_CorrespondingSourceObject: {fileID: 0} 49 | m_PrefabInstance: {fileID: 0} 50 | m_PrefabAsset: {fileID: 0} 51 | m_GameObject: {fileID: 801222335473849931} 52 | m_Enabled: 1 53 | m_CastShadows: 1 54 | m_ReceiveShadows: 1 55 | m_DynamicOccludee: 1 56 | m_MotionVectors: 1 57 | m_LightProbeUsage: 1 58 | m_ReflectionProbeUsage: 1 59 | m_RenderingLayerMask: 1 60 | m_RendererPriority: 0 61 | m_Materials: 62 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 63 | m_StaticBatchInfo: 64 | firstSubMesh: 0 65 | subMeshCount: 0 66 | m_StaticBatchRoot: {fileID: 0} 67 | m_ProbeAnchor: {fileID: 0} 68 | m_LightProbeVolumeOverride: {fileID: 0} 69 | m_ScaleInLightmap: 1 70 | m_ReceiveGI: 1 71 | m_PreserveUVs: 0 72 | m_IgnoreNormalsForChartDetection: 0 73 | m_ImportantGI: 0 74 | m_StitchLightmapSeams: 1 75 | m_SelectedEditorRenderState: 3 76 | m_MinimumChartSize: 4 77 | m_AutoUVMaxDistance: 0.5 78 | m_AutoUVMaxAngle: 89 79 | m_LightmapParameters: {fileID: 0} 80 | m_SortingLayerID: 0 81 | m_SortingLayer: 0 82 | m_SortingOrder: 0 83 | --- !u!114 &801222335473849932 84 | MonoBehaviour: 85 | m_ObjectHideFlags: 0 86 | m_CorrespondingSourceObject: {fileID: 0} 87 | m_PrefabInstance: {fileID: 0} 88 | m_PrefabAsset: {fileID: 0} 89 | m_GameObject: {fileID: 801222335473849931} 90 | m_Enabled: 1 91 | m_EditorHideFlags: 0 92 | m_Script: {fileID: 11500000, guid: 4d9e04923be46ac43aab69fa0530c75b, type: 3} 93 | m_Name: 94 | m_EditorClassIdentifier: 95 | _up: 1 96 | _down: 1 97 | _left: 1 98 | _right: 1 99 | _upLeft: 1 100 | _upRight: 1 101 | _downLeft: 1 102 | _downRight: 1 103 | --- !u!114 &801222335473849921 104 | MonoBehaviour: 105 | m_ObjectHideFlags: 0 106 | m_CorrespondingSourceObject: {fileID: 0} 107 | m_PrefabInstance: {fileID: 0} 108 | m_PrefabAsset: {fileID: 0} 109 | m_GameObject: {fileID: 801222335473849931} 110 | m_Enabled: 1 111 | m_EditorHideFlags: 0 112 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 113 | m_Name: 114 | m_EditorClassIdentifier: 115 | OnSwipeCancelled: 116 | m_PersistentCalls: 117 | m_Calls: [] 118 | m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, 119 | Culture=neutral, PublicKeyToken=null 120 | OnSwipe: 121 | m_PersistentCalls: 122 | m_Calls: 123 | - m_Target: {fileID: 801222335473849932} 124 | m_MethodName: OnSwipeHandler 125 | m_Mode: 0 126 | m_Arguments: 127 | m_ObjectArgument: {fileID: 0} 128 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 129 | m_IntArgument: 0 130 | m_FloatArgument: 0 131 | m_StringArgument: 132 | m_BoolArgument: 0 133 | m_CallState: 2 134 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeListenerEvent, Assembly-CSharp, 135 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 136 | _sensetivity: 10 137 | _continuousDetection: 1 138 | _swipeDetectionMode: 3 139 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs/EightSidesSetup.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1357aaa688331ae4ca28e1c6d11afe72 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs/FourSidesSetup.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &7410813488497207442 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 7410813488497207444} 12 | - component: {fileID: 7410813488497207447} 13 | - component: {fileID: 7410813488497207446} 14 | - component: {fileID: 7410813488497207440} 15 | - component: {fileID: 7410813488497207443} 16 | m_Layer: 0 17 | m_Name: FourSidesSetup 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 0 23 | --- !u!4 &7410813488497207444 24 | Transform: 25 | m_ObjectHideFlags: 0 26 | m_CorrespondingSourceObject: {fileID: 0} 27 | m_PrefabInstance: {fileID: 0} 28 | m_PrefabAsset: {fileID: 0} 29 | m_GameObject: {fileID: 7410813488497207442} 30 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 31 | m_LocalPosition: {x: 0, y: 0, z: 0} 32 | m_LocalScale: {x: 1, y: 1, z: 1} 33 | m_Children: [] 34 | m_Father: {fileID: 0} 35 | m_RootOrder: 0 36 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 37 | --- !u!33 &7410813488497207447 38 | MeshFilter: 39 | m_ObjectHideFlags: 0 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_GameObject: {fileID: 7410813488497207442} 44 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 45 | --- !u!23 &7410813488497207446 46 | MeshRenderer: 47 | m_ObjectHideFlags: 0 48 | m_CorrespondingSourceObject: {fileID: 0} 49 | m_PrefabInstance: {fileID: 0} 50 | m_PrefabAsset: {fileID: 0} 51 | m_GameObject: {fileID: 7410813488497207442} 52 | m_Enabled: 1 53 | m_CastShadows: 1 54 | m_ReceiveShadows: 1 55 | m_DynamicOccludee: 1 56 | m_MotionVectors: 1 57 | m_LightProbeUsage: 1 58 | m_ReflectionProbeUsage: 1 59 | m_RenderingLayerMask: 1 60 | m_RendererPriority: 0 61 | m_Materials: 62 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 63 | m_StaticBatchInfo: 64 | firstSubMesh: 0 65 | subMeshCount: 0 66 | m_StaticBatchRoot: {fileID: 0} 67 | m_ProbeAnchor: {fileID: 0} 68 | m_LightProbeVolumeOverride: {fileID: 0} 69 | m_ScaleInLightmap: 1 70 | m_ReceiveGI: 1 71 | m_PreserveUVs: 0 72 | m_IgnoreNormalsForChartDetection: 0 73 | m_ImportantGI: 0 74 | m_StitchLightmapSeams: 1 75 | m_SelectedEditorRenderState: 3 76 | m_MinimumChartSize: 4 77 | m_AutoUVMaxDistance: 0.5 78 | m_AutoUVMaxAngle: 89 79 | m_LightmapParameters: {fileID: 0} 80 | m_SortingLayerID: 0 81 | m_SortingLayer: 0 82 | m_SortingOrder: 0 83 | --- !u!114 &7410813488497207440 84 | MonoBehaviour: 85 | m_ObjectHideFlags: 0 86 | m_CorrespondingSourceObject: {fileID: 0} 87 | m_PrefabInstance: {fileID: 0} 88 | m_PrefabAsset: {fileID: 0} 89 | m_GameObject: {fileID: 7410813488497207442} 90 | m_Enabled: 1 91 | m_EditorHideFlags: 0 92 | m_Script: {fileID: 11500000, guid: 4d9e04923be46ac43aab69fa0530c75b, type: 3} 93 | m_Name: 94 | m_EditorClassIdentifier: 95 | _up: 1 96 | _down: 1 97 | _left: 1 98 | _right: 1 99 | _upLeft: 0 100 | _upRight: 0 101 | _downLeft: 0 102 | _downRight: 0 103 | --- !u!114 &7410813488497207443 104 | MonoBehaviour: 105 | m_ObjectHideFlags: 0 106 | m_CorrespondingSourceObject: {fileID: 0} 107 | m_PrefabInstance: {fileID: 0} 108 | m_PrefabAsset: {fileID: 0} 109 | m_GameObject: {fileID: 7410813488497207442} 110 | m_Enabled: 1 111 | m_EditorHideFlags: 0 112 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 113 | m_Name: 114 | m_EditorClassIdentifier: 115 | OnSwipeCancelled: 116 | m_PersistentCalls: 117 | m_Calls: [] 118 | m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, 119 | Culture=neutral, PublicKeyToken=null 120 | OnSwipe: 121 | m_PersistentCalls: 122 | m_Calls: 123 | - m_Target: {fileID: 7410813488497207440} 124 | m_MethodName: OnSwipeHandler 125 | m_Mode: 0 126 | m_Arguments: 127 | m_ObjectArgument: {fileID: 0} 128 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 129 | m_IntArgument: 0 130 | m_FloatArgument: 0 131 | m_StringArgument: 132 | m_BoolArgument: 0 133 | m_CallState: 2 134 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeListenerEvent, Assembly-CSharp, 135 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 136 | _sensetivity: 10 137 | _continuousDetection: 1 138 | _swipeDetectionMode: 2 139 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs/FourSidesSetup.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5c302f2b5eaca849ba48e9024e8603e 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs/HexagonalHorizontalSetup.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &3815087997989436346 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 3815087997989436356} 12 | - component: {fileID: 3815087997989436359} 13 | - component: {fileID: 3815087997989436358} 14 | - component: {fileID: 3815087997989436344} 15 | - component: {fileID: 3815087997989436347} 16 | m_Layer: 0 17 | m_Name: HexagonalHorizontalSetup 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 0 23 | --- !u!4 &3815087997989436356 24 | Transform: 25 | m_ObjectHideFlags: 0 26 | m_CorrespondingSourceObject: {fileID: 0} 27 | m_PrefabInstance: {fileID: 0} 28 | m_PrefabAsset: {fileID: 0} 29 | m_GameObject: {fileID: 3815087997989436346} 30 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 31 | m_LocalPosition: {x: 0, y: 0, z: 0} 32 | m_LocalScale: {x: 1, y: 1, z: 1} 33 | m_Children: [] 34 | m_Father: {fileID: 0} 35 | m_RootOrder: 0 36 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 37 | --- !u!33 &3815087997989436359 38 | MeshFilter: 39 | m_ObjectHideFlags: 0 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_GameObject: {fileID: 3815087997989436346} 44 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 45 | --- !u!23 &3815087997989436358 46 | MeshRenderer: 47 | m_ObjectHideFlags: 0 48 | m_CorrespondingSourceObject: {fileID: 0} 49 | m_PrefabInstance: {fileID: 0} 50 | m_PrefabAsset: {fileID: 0} 51 | m_GameObject: {fileID: 3815087997989436346} 52 | m_Enabled: 1 53 | m_CastShadows: 1 54 | m_ReceiveShadows: 1 55 | m_DynamicOccludee: 1 56 | m_MotionVectors: 1 57 | m_LightProbeUsage: 1 58 | m_ReflectionProbeUsage: 1 59 | m_RenderingLayerMask: 1 60 | m_RendererPriority: 0 61 | m_Materials: 62 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 63 | m_StaticBatchInfo: 64 | firstSubMesh: 0 65 | subMeshCount: 0 66 | m_StaticBatchRoot: {fileID: 0} 67 | m_ProbeAnchor: {fileID: 0} 68 | m_LightProbeVolumeOverride: {fileID: 0} 69 | m_ScaleInLightmap: 1 70 | m_ReceiveGI: 1 71 | m_PreserveUVs: 0 72 | m_IgnoreNormalsForChartDetection: 0 73 | m_ImportantGI: 0 74 | m_StitchLightmapSeams: 1 75 | m_SelectedEditorRenderState: 3 76 | m_MinimumChartSize: 4 77 | m_AutoUVMaxDistance: 0.5 78 | m_AutoUVMaxAngle: 89 79 | m_LightmapParameters: {fileID: 0} 80 | m_SortingLayerID: 0 81 | m_SortingLayer: 0 82 | m_SortingOrder: 0 83 | --- !u!114 &3815087997989436344 84 | MonoBehaviour: 85 | m_ObjectHideFlags: 0 86 | m_CorrespondingSourceObject: {fileID: 0} 87 | m_PrefabInstance: {fileID: 0} 88 | m_PrefabAsset: {fileID: 0} 89 | m_GameObject: {fileID: 3815087997989436346} 90 | m_Enabled: 1 91 | m_EditorHideFlags: 0 92 | m_Script: {fileID: 11500000, guid: 9e307407f2dc86747b6a4ca878f920d8, type: 3} 93 | m_Name: 94 | m_EditorClassIdentifier: 95 | _up: 1 96 | _down: 1 97 | _left: 1 98 | _right: 1 99 | _upLeft: 1 100 | _upRight: 1 101 | _downLeft: 1 102 | _downRight: 1 103 | --- !u!114 &3815087997989436347 104 | MonoBehaviour: 105 | m_ObjectHideFlags: 0 106 | m_CorrespondingSourceObject: {fileID: 0} 107 | m_PrefabInstance: {fileID: 0} 108 | m_PrefabAsset: {fileID: 0} 109 | m_GameObject: {fileID: 3815087997989436346} 110 | m_Enabled: 1 111 | m_EditorHideFlags: 0 112 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 113 | m_Name: 114 | m_EditorClassIdentifier: 115 | OnSwipeCancelled: 116 | m_PersistentCalls: 117 | m_Calls: [] 118 | m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, 119 | Culture=neutral, PublicKeyToken=null 120 | OnSwipe: 121 | m_PersistentCalls: 122 | m_Calls: 123 | - m_Target: {fileID: 3815087997989436344} 124 | m_MethodName: OnSwipeHandler 125 | m_Mode: 0 126 | m_Arguments: 127 | m_ObjectArgument: {fileID: 0} 128 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 129 | m_IntArgument: 0 130 | m_FloatArgument: 0 131 | m_StringArgument: 132 | m_BoolArgument: 0 133 | m_CallState: 2 134 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeListenerEvent, Assembly-CSharp, 135 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 136 | _sensetivity: 10 137 | _continuousDetection: 1 138 | _swipeDetectionMode: 4 139 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs/HexagonalHorizontalSetup.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 216fb57e09016b6468b65c7655641fe4 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs/LeftRightSetup.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &9031400345246594921 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 9031400345246594963} 12 | - component: {fileID: 9031400345246594964} 13 | - component: {fileID: 9031400345246594965} 14 | - component: {fileID: 9031400345246594967} 15 | - component: {fileID: 9031400345246594920} 16 | m_Layer: 0 17 | m_Name: LeftRightSetup 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 0 23 | --- !u!4 &9031400345246594963 24 | Transform: 25 | m_ObjectHideFlags: 0 26 | m_CorrespondingSourceObject: {fileID: 0} 27 | m_PrefabInstance: {fileID: 0} 28 | m_PrefabAsset: {fileID: 0} 29 | m_GameObject: {fileID: 9031400345246594921} 30 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 31 | m_LocalPosition: {x: 0, y: 0, z: 0} 32 | m_LocalScale: {x: 1, y: 1, z: 1} 33 | m_Children: [] 34 | m_Father: {fileID: 0} 35 | m_RootOrder: 0 36 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 37 | --- !u!33 &9031400345246594964 38 | MeshFilter: 39 | m_ObjectHideFlags: 0 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_GameObject: {fileID: 9031400345246594921} 44 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 45 | --- !u!23 &9031400345246594965 46 | MeshRenderer: 47 | m_ObjectHideFlags: 0 48 | m_CorrespondingSourceObject: {fileID: 0} 49 | m_PrefabInstance: {fileID: 0} 50 | m_PrefabAsset: {fileID: 0} 51 | m_GameObject: {fileID: 9031400345246594921} 52 | m_Enabled: 1 53 | m_CastShadows: 1 54 | m_ReceiveShadows: 1 55 | m_DynamicOccludee: 1 56 | m_MotionVectors: 1 57 | m_LightProbeUsage: 1 58 | m_ReflectionProbeUsage: 1 59 | m_RenderingLayerMask: 1 60 | m_RendererPriority: 0 61 | m_Materials: 62 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 63 | m_StaticBatchInfo: 64 | firstSubMesh: 0 65 | subMeshCount: 0 66 | m_StaticBatchRoot: {fileID: 0} 67 | m_ProbeAnchor: {fileID: 0} 68 | m_LightProbeVolumeOverride: {fileID: 0} 69 | m_ScaleInLightmap: 1 70 | m_ReceiveGI: 1 71 | m_PreserveUVs: 0 72 | m_IgnoreNormalsForChartDetection: 0 73 | m_ImportantGI: 0 74 | m_StitchLightmapSeams: 1 75 | m_SelectedEditorRenderState: 3 76 | m_MinimumChartSize: 4 77 | m_AutoUVMaxDistance: 0.5 78 | m_AutoUVMaxAngle: 89 79 | m_LightmapParameters: {fileID: 0} 80 | m_SortingLayerID: 0 81 | m_SortingLayer: 0 82 | m_SortingOrder: 0 83 | --- !u!114 &9031400345246594967 84 | MonoBehaviour: 85 | m_ObjectHideFlags: 0 86 | m_CorrespondingSourceObject: {fileID: 0} 87 | m_PrefabInstance: {fileID: 0} 88 | m_PrefabAsset: {fileID: 0} 89 | m_GameObject: {fileID: 9031400345246594921} 90 | m_Enabled: 1 91 | m_EditorHideFlags: 0 92 | m_Script: {fileID: 11500000, guid: 4d9e04923be46ac43aab69fa0530c75b, type: 3} 93 | m_Name: 94 | m_EditorClassIdentifier: 95 | _up: 0 96 | _down: 0 97 | _left: 1 98 | _right: 1 99 | _upLeft: 0 100 | _upRight: 0 101 | _downLeft: 0 102 | _downRight: 0 103 | --- !u!114 &9031400345246594920 104 | MonoBehaviour: 105 | m_ObjectHideFlags: 0 106 | m_CorrespondingSourceObject: {fileID: 0} 107 | m_PrefabInstance: {fileID: 0} 108 | m_PrefabAsset: {fileID: 0} 109 | m_GameObject: {fileID: 9031400345246594921} 110 | m_Enabled: 1 111 | m_EditorHideFlags: 0 112 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 113 | m_Name: 114 | m_EditorClassIdentifier: 115 | OnSwipeCancelled: 116 | m_PersistentCalls: 117 | m_Calls: [] 118 | m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, 119 | Culture=neutral, PublicKeyToken=null 120 | OnSwipe: 121 | m_PersistentCalls: 122 | m_Calls: 123 | - m_Target: {fileID: 9031400345246594967} 124 | m_MethodName: OnSwipeHandler 125 | m_Mode: 0 126 | m_Arguments: 127 | m_ObjectArgument: {fileID: 0} 128 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 129 | m_IntArgument: 0 130 | m_FloatArgument: 0 131 | m_StringArgument: 132 | m_BoolArgument: 0 133 | m_CallState: 2 134 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeListenerEvent, Assembly-CSharp, 135 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 136 | _sensetivity: 10 137 | _continuousDetection: 1 138 | _swipeDetectionMode: 2 139 | -------------------------------------------------------------------------------- /Assets/SwipeController/Prefabs/LeftRightSetup.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c18f0fa6c376c554694606da022707c6 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37b1d24dfaa850d43b62ebf9d920e3e4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scenes/Example_CodelessUsage.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.20754719, g: 0.20754719, b: 0.20754719, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 512 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 256 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 1 83 | m_PVRDenoiserTypeDirect: 1 84 | m_PVRDenoiserTypeIndirect: 1 85 | m_PVRDenoiserTypeAO: 1 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 1 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightingDataAsset: {fileID: 0} 100 | m_UseShadowmask: 1 101 | --- !u!196 &4 102 | NavMeshSettings: 103 | serializedVersion: 2 104 | m_ObjectHideFlags: 0 105 | m_BuildSettings: 106 | serializedVersion: 2 107 | agentTypeID: 0 108 | agentRadius: 0.5 109 | agentHeight: 2 110 | agentSlope: 45 111 | agentClimb: 0.4 112 | ledgeDropHeight: 0 113 | maxJumpAcrossDistance: 0 114 | minRegionArea: 2 115 | manualCellSize: 0 116 | cellSize: 0.16666667 117 | manualTileSize: 0 118 | tileSize: 256 119 | accuratePlacement: 0 120 | debug: 121 | m_Flags: 0 122 | m_NavMeshData: {fileID: 0} 123 | --- !u!1 &472360529 124 | GameObject: 125 | m_ObjectHideFlags: 0 126 | m_CorrespondingSourceObject: {fileID: 0} 127 | m_PrefabInstance: {fileID: 0} 128 | m_PrefabAsset: {fileID: 0} 129 | serializedVersion: 6 130 | m_Component: 131 | - component: {fileID: 472360534} 132 | - component: {fileID: 472360533} 133 | - component: {fileID: 472360532} 134 | - component: {fileID: 472360531} 135 | - component: {fileID: 472360530} 136 | m_Layer: 0 137 | m_Name: ControlObject 138 | m_TagString: Untagged 139 | m_Icon: {fileID: 0} 140 | m_NavMeshLayer: 0 141 | m_StaticEditorFlags: 0 142 | m_IsActive: 1 143 | --- !u!114 &472360530 144 | MonoBehaviour: 145 | m_ObjectHideFlags: 0 146 | m_CorrespondingSourceObject: {fileID: 0} 147 | m_PrefabInstance: {fileID: 0} 148 | m_PrefabAsset: {fileID: 0} 149 | m_GameObject: {fileID: 472360529} 150 | m_Enabled: 1 151 | m_EditorHideFlags: 0 152 | m_Script: {fileID: 11500000, guid: bf255b6d8527160429df5e56826f7d29, type: 3} 153 | m_Name: 154 | m_EditorClassIdentifier: 155 | --- !u!135 &472360531 156 | SphereCollider: 157 | m_ObjectHideFlags: 0 158 | m_CorrespondingSourceObject: {fileID: 0} 159 | m_PrefabInstance: {fileID: 0} 160 | m_PrefabAsset: {fileID: 0} 161 | m_GameObject: {fileID: 472360529} 162 | m_Material: {fileID: 0} 163 | m_IsTrigger: 0 164 | m_Enabled: 1 165 | serializedVersion: 2 166 | m_Radius: 0.5 167 | m_Center: {x: 0, y: 0, z: 0} 168 | --- !u!23 &472360532 169 | MeshRenderer: 170 | m_ObjectHideFlags: 0 171 | m_CorrespondingSourceObject: {fileID: 0} 172 | m_PrefabInstance: {fileID: 0} 173 | m_PrefabAsset: {fileID: 0} 174 | m_GameObject: {fileID: 472360529} 175 | m_Enabled: 1 176 | m_CastShadows: 1 177 | m_ReceiveShadows: 1 178 | m_DynamicOccludee: 1 179 | m_MotionVectors: 1 180 | m_LightProbeUsage: 1 181 | m_ReflectionProbeUsage: 1 182 | m_RenderingLayerMask: 1 183 | m_RendererPriority: 0 184 | m_Materials: 185 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 186 | m_StaticBatchInfo: 187 | firstSubMesh: 0 188 | subMeshCount: 0 189 | m_StaticBatchRoot: {fileID: 0} 190 | m_ProbeAnchor: {fileID: 0} 191 | m_LightProbeVolumeOverride: {fileID: 0} 192 | m_ScaleInLightmap: 1 193 | m_ReceiveGI: 1 194 | m_PreserveUVs: 0 195 | m_IgnoreNormalsForChartDetection: 0 196 | m_ImportantGI: 0 197 | m_StitchLightmapSeams: 1 198 | m_SelectedEditorRenderState: 3 199 | m_MinimumChartSize: 4 200 | m_AutoUVMaxDistance: 0.5 201 | m_AutoUVMaxAngle: 89 202 | m_LightmapParameters: {fileID: 0} 203 | m_SortingLayerID: 0 204 | m_SortingLayer: 0 205 | m_SortingOrder: 0 206 | --- !u!33 &472360533 207 | MeshFilter: 208 | m_ObjectHideFlags: 0 209 | m_CorrespondingSourceObject: {fileID: 0} 210 | m_PrefabInstance: {fileID: 0} 211 | m_PrefabAsset: {fileID: 0} 212 | m_GameObject: {fileID: 472360529} 213 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 214 | --- !u!4 &472360534 215 | Transform: 216 | m_ObjectHideFlags: 0 217 | m_CorrespondingSourceObject: {fileID: 0} 218 | m_PrefabInstance: {fileID: 0} 219 | m_PrefabAsset: {fileID: 0} 220 | m_GameObject: {fileID: 472360529} 221 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 222 | m_LocalPosition: {x: 0, y: 0, z: 0} 223 | m_LocalScale: {x: 1, y: 1, z: 1} 224 | m_Children: [] 225 | m_Father: {fileID: 0} 226 | m_RootOrder: 2 227 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 228 | --- !u!1 &776838676 229 | GameObject: 230 | m_ObjectHideFlags: 0 231 | m_CorrespondingSourceObject: {fileID: 0} 232 | m_PrefabInstance: {fileID: 0} 233 | m_PrefabAsset: {fileID: 0} 234 | serializedVersion: 6 235 | m_Component: 236 | - component: {fileID: 776838679} 237 | - component: {fileID: 776838678} 238 | - component: {fileID: 776838677} 239 | m_Layer: 0 240 | m_Name: Main Camera 241 | m_TagString: MainCamera 242 | m_Icon: {fileID: 0} 243 | m_NavMeshLayer: 0 244 | m_StaticEditorFlags: 0 245 | m_IsActive: 1 246 | --- !u!81 &776838677 247 | AudioListener: 248 | m_ObjectHideFlags: 0 249 | m_CorrespondingSourceObject: {fileID: 0} 250 | m_PrefabInstance: {fileID: 0} 251 | m_PrefabAsset: {fileID: 0} 252 | m_GameObject: {fileID: 776838676} 253 | m_Enabled: 1 254 | --- !u!20 &776838678 255 | Camera: 256 | m_ObjectHideFlags: 0 257 | m_CorrespondingSourceObject: {fileID: 0} 258 | m_PrefabInstance: {fileID: 0} 259 | m_PrefabAsset: {fileID: 0} 260 | m_GameObject: {fileID: 776838676} 261 | m_Enabled: 1 262 | serializedVersion: 2 263 | m_ClearFlags: 2 264 | m_BackGroundColor: {r: 0.3584906, g: 0.3584906, b: 0.3584906, a: 0} 265 | m_projectionMatrixMode: 1 266 | m_GateFitMode: 2 267 | m_FOVAxisMode: 0 268 | m_SensorSize: {x: 36, y: 24} 269 | m_LensShift: {x: 0, y: 0} 270 | m_FocalLength: 50 271 | m_NormalizedViewPortRect: 272 | serializedVersion: 2 273 | x: 0 274 | y: 0 275 | width: 1 276 | height: 1 277 | near clip plane: 0.3 278 | far clip plane: 1000 279 | field of view: 60 280 | orthographic: 0 281 | orthographic size: 5 282 | m_Depth: -1 283 | m_CullingMask: 284 | serializedVersion: 2 285 | m_Bits: 4294967295 286 | m_RenderingPath: -1 287 | m_TargetTexture: {fileID: 0} 288 | m_TargetDisplay: 0 289 | m_TargetEye: 3 290 | m_HDR: 1 291 | m_AllowMSAA: 1 292 | m_AllowDynamicResolution: 0 293 | m_ForceIntoRT: 0 294 | m_OcclusionCulling: 1 295 | m_StereoConvergence: 10 296 | m_StereoSeparation: 0.022 297 | --- !u!4 &776838679 298 | Transform: 299 | m_ObjectHideFlags: 0 300 | m_CorrespondingSourceObject: {fileID: 0} 301 | m_PrefabInstance: {fileID: 0} 302 | m_PrefabAsset: {fileID: 0} 303 | m_GameObject: {fileID: 776838676} 304 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 305 | m_LocalPosition: {x: 0, y: 1, z: -10} 306 | m_LocalScale: {x: 1, y: 1, z: 1} 307 | m_Children: [] 308 | m_Father: {fileID: 0} 309 | m_RootOrder: 0 310 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 311 | --- !u!1 &1753223439 312 | GameObject: 313 | m_ObjectHideFlags: 0 314 | m_CorrespondingSourceObject: {fileID: 0} 315 | m_PrefabInstance: {fileID: 0} 316 | m_PrefabAsset: {fileID: 0} 317 | serializedVersion: 6 318 | m_Component: 319 | - component: {fileID: 1753223442} 320 | - component: {fileID: 1753223441} 321 | - component: {fileID: 1753223440} 322 | m_Layer: 0 323 | m_Name: SwipeListener 324 | m_TagString: Untagged 325 | m_Icon: {fileID: 0} 326 | m_NavMeshLayer: 0 327 | m_StaticEditorFlags: 0 328 | m_IsActive: 1 329 | --- !u!114 &1753223440 330 | MonoBehaviour: 331 | m_ObjectHideFlags: 0 332 | m_CorrespondingSourceObject: {fileID: 0} 333 | m_PrefabInstance: {fileID: 0} 334 | m_PrefabAsset: {fileID: 0} 335 | m_GameObject: {fileID: 1753223439} 336 | m_Enabled: 1 337 | m_EditorHideFlags: 0 338 | m_Script: {fileID: 11500000, guid: c8d9b6e0d9d37bf4a8b4d735e7b216e2, type: 3} 339 | m_Name: 340 | m_EditorClassIdentifier: 341 | _swipes: 342 | - Vector: {x: -1, y: 1, z: 0} 343 | Event: 344 | m_PersistentCalls: 345 | m_Calls: 346 | - m_Target: {fileID: 472360530} 347 | m_MethodName: Move 348 | m_Mode: 0 349 | m_Arguments: 350 | m_ObjectArgument: {fileID: 0} 351 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 352 | m_IntArgument: 0 353 | m_FloatArgument: 0 354 | m_StringArgument: 355 | m_BoolArgument: 0 356 | m_CallState: 2 357 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeVectorEvent, Assembly-CSharp, 358 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 359 | - Vector: {x: 1, y: -1, z: 0} 360 | Event: 361 | m_PersistentCalls: 362 | m_Calls: 363 | - m_Target: {fileID: 472360530} 364 | m_MethodName: Move 365 | m_Mode: 0 366 | m_Arguments: 367 | m_ObjectArgument: {fileID: 0} 368 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 369 | m_IntArgument: 0 370 | m_FloatArgument: 0 371 | m_StringArgument: 372 | m_BoolArgument: 0 373 | m_CallState: 2 374 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeVectorEvent, Assembly-CSharp, 375 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 376 | - Vector: {x: 1, y: 1, z: 0} 377 | Event: 378 | m_PersistentCalls: 379 | m_Calls: 380 | - m_Target: {fileID: 0} 381 | m_MethodName: 382 | m_Mode: 0 383 | m_Arguments: 384 | m_ObjectArgument: {fileID: 0} 385 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 386 | m_IntArgument: 0 387 | m_FloatArgument: 0 388 | m_StringArgument: 389 | m_BoolArgument: 0 390 | m_CallState: 2 391 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeVectorEvent, Assembly-CSharp, 392 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 393 | - Vector: {x: -1, y: -1, z: 0} 394 | Event: 395 | m_PersistentCalls: 396 | m_Calls: 397 | - m_Target: {fileID: 0} 398 | m_MethodName: 399 | m_Mode: 0 400 | m_Arguments: 401 | m_ObjectArgument: {fileID: 0} 402 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 403 | m_IntArgument: 0 404 | m_FloatArgument: 0 405 | m_StringArgument: 406 | m_BoolArgument: 0 407 | m_CallState: 2 408 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeVectorEvent, Assembly-CSharp, 409 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 410 | _swipeListener: {fileID: 1753223441} 411 | --- !u!114 &1753223441 412 | MonoBehaviour: 413 | m_ObjectHideFlags: 0 414 | m_CorrespondingSourceObject: {fileID: 0} 415 | m_PrefabInstance: {fileID: 0} 416 | m_PrefabAsset: {fileID: 0} 417 | m_GameObject: {fileID: 1753223439} 418 | m_Enabled: 1 419 | m_EditorHideFlags: 0 420 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 421 | m_Name: 422 | m_EditorClassIdentifier: 423 | OnSwipeCancelled: 424 | m_PersistentCalls: 425 | m_Calls: [] 426 | m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, 427 | Culture=neutral, PublicKeyToken=null 428 | OnSwipe: 429 | m_PersistentCalls: 430 | m_Calls: [] 431 | m_TypeName: GG.Infrastructure.Utils.Swipe.SwipeListenerEvent, Assembly-CSharp, 432 | Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 433 | _sensetivity: 10 434 | _continuousDetection: 0 435 | _swipeDetectionMode: 3 436 | --- !u!4 &1753223442 437 | Transform: 438 | m_ObjectHideFlags: 0 439 | m_CorrespondingSourceObject: {fileID: 0} 440 | m_PrefabInstance: {fileID: 0} 441 | m_PrefabAsset: {fileID: 0} 442 | m_GameObject: {fileID: 1753223439} 443 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 444 | m_LocalPosition: {x: 0, y: 0, z: 0} 445 | m_LocalScale: {x: 1, y: 1, z: 1} 446 | m_Children: [] 447 | m_Father: {fileID: 0} 448 | m_RootOrder: 3 449 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 450 | --- !u!1 &2130890003 451 | GameObject: 452 | m_ObjectHideFlags: 0 453 | m_CorrespondingSourceObject: {fileID: 0} 454 | m_PrefabInstance: {fileID: 0} 455 | m_PrefabAsset: {fileID: 0} 456 | serializedVersion: 6 457 | m_Component: 458 | - component: {fileID: 2130890005} 459 | - component: {fileID: 2130890004} 460 | m_Layer: 0 461 | m_Name: Directional Light 462 | m_TagString: Untagged 463 | m_Icon: {fileID: 0} 464 | m_NavMeshLayer: 0 465 | m_StaticEditorFlags: 0 466 | m_IsActive: 1 467 | --- !u!108 &2130890004 468 | Light: 469 | m_ObjectHideFlags: 0 470 | m_CorrespondingSourceObject: {fileID: 0} 471 | m_PrefabInstance: {fileID: 0} 472 | m_PrefabAsset: {fileID: 0} 473 | m_GameObject: {fileID: 2130890003} 474 | m_Enabled: 1 475 | serializedVersion: 9 476 | m_Type: 1 477 | m_Color: {r: 1, g: 1, b: 1, a: 1} 478 | m_Intensity: 1 479 | m_Range: 10 480 | m_SpotAngle: 30 481 | m_InnerSpotAngle: 21.80208 482 | m_CookieSize: 10 483 | m_Shadows: 484 | m_Type: 0 485 | m_Resolution: -1 486 | m_CustomResolution: -1 487 | m_Strength: 1 488 | m_Bias: 0.05 489 | m_NormalBias: 0.4 490 | m_NearPlane: 0.2 491 | m_CullingMatrixOverride: 492 | e00: 1 493 | e01: 0 494 | e02: 0 495 | e03: 0 496 | e10: 0 497 | e11: 1 498 | e12: 0 499 | e13: 0 500 | e20: 0 501 | e21: 0 502 | e22: 1 503 | e23: 0 504 | e30: 0 505 | e31: 0 506 | e32: 0 507 | e33: 1 508 | m_UseCullingMatrixOverride: 0 509 | m_Cookie: {fileID: 0} 510 | m_DrawHalo: 0 511 | m_Flare: {fileID: 0} 512 | m_RenderMode: 0 513 | m_CullingMask: 514 | serializedVersion: 2 515 | m_Bits: 4294967295 516 | m_RenderingLayerMask: 1 517 | m_Lightmapping: 4 518 | m_LightShadowCasterMode: 0 519 | m_AreaSize: {x: 1, y: 1} 520 | m_BounceIntensity: 1 521 | m_ColorTemperature: 6570 522 | m_UseColorTemperature: 0 523 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 524 | m_UseBoundingSphereOverride: 0 525 | m_ShadowRadius: 0 526 | m_ShadowAngle: 0 527 | --- !u!4 &2130890005 528 | Transform: 529 | m_ObjectHideFlags: 0 530 | m_CorrespondingSourceObject: {fileID: 0} 531 | m_PrefabInstance: {fileID: 0} 532 | m_PrefabAsset: {fileID: 0} 533 | m_GameObject: {fileID: 2130890003} 534 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 535 | m_LocalPosition: {x: 302.7427, y: -50.986156, z: 0} 536 | m_LocalScale: {x: 1, y: 1, z: 1} 537 | m_Children: [] 538 | m_Father: {fileID: 0} 539 | m_RootOrder: 1 540 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 541 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scenes/Example_CodelessUsage.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d0b387f93bcae647a15fb1bfaa89c43 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scenes/Examples.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: 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: 705507994} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightingDataAsset: {fileID: 0} 100 | m_UseShadowmask: 1 101 | --- !u!196 &4 102 | NavMeshSettings: 103 | serializedVersion: 2 104 | m_ObjectHideFlags: 0 105 | m_BuildSettings: 106 | serializedVersion: 2 107 | agentTypeID: 0 108 | agentRadius: 0.5 109 | agentHeight: 2 110 | agentSlope: 45 111 | agentClimb: 0.4 112 | ledgeDropHeight: 0 113 | maxJumpAcrossDistance: 0 114 | minRegionArea: 2 115 | manualCellSize: 0 116 | cellSize: 0.16666667 117 | manualTileSize: 0 118 | tileSize: 256 119 | accuratePlacement: 0 120 | debug: 121 | m_Flags: 0 122 | m_NavMeshData: {fileID: 0} 123 | --- !u!1 &3675891 stripped 124 | GameObject: 125 | m_CorrespondingSourceObject: {fileID: 801222335473849931, guid: 1357aaa688331ae4ca28e1c6d11afe72, 126 | type: 3} 127 | m_PrefabInstance: {fileID: 801222335477514424} 128 | m_PrefabAsset: {fileID: 0} 129 | --- !u!4 &3675896 stripped 130 | Transform: 131 | m_CorrespondingSourceObject: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 132 | type: 3} 133 | m_PrefabInstance: {fileID: 801222335477514424} 134 | m_PrefabAsset: {fileID: 0} 135 | --- !u!114 &3675897 stripped 136 | MonoBehaviour: 137 | m_CorrespondingSourceObject: {fileID: 801222335473849921, guid: 1357aaa688331ae4ca28e1c6d11afe72, 138 | type: 3} 139 | m_PrefabInstance: {fileID: 801222335477514424} 140 | m_PrefabAsset: {fileID: 0} 141 | m_GameObject: {fileID: 3675891} 142 | m_Enabled: 1 143 | m_EditorHideFlags: 0 144 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 145 | m_Name: 146 | m_EditorClassIdentifier: 147 | --- !u!1 &213012360 148 | GameObject: 149 | m_ObjectHideFlags: 0 150 | m_CorrespondingSourceObject: {fileID: 0} 151 | m_PrefabInstance: {fileID: 0} 152 | m_PrefabAsset: {fileID: 0} 153 | serializedVersion: 6 154 | m_Component: 155 | - component: {fileID: 213012361} 156 | m_Layer: 0 157 | m_Name: ExampleSetups 158 | m_TagString: Untagged 159 | m_Icon: {fileID: 0} 160 | m_NavMeshLayer: 0 161 | m_StaticEditorFlags: 0 162 | m_IsActive: 1 163 | --- !u!4 &213012361 164 | Transform: 165 | m_ObjectHideFlags: 0 166 | m_CorrespondingSourceObject: {fileID: 0} 167 | m_PrefabInstance: {fileID: 0} 168 | m_PrefabAsset: {fileID: 0} 169 | m_GameObject: {fileID: 213012360} 170 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 171 | m_LocalPosition: {x: 0, y: 0, z: 0} 172 | m_LocalScale: {x: 1, y: 1, z: 1} 173 | m_Children: 174 | - {fileID: 3675896} 175 | - {fileID: 638172302} 176 | - {fileID: 1903585156} 177 | - {fileID: 816926786} 178 | m_Father: {fileID: 0} 179 | m_RootOrder: 2 180 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 181 | --- !u!1 &264588029 182 | GameObject: 183 | m_ObjectHideFlags: 0 184 | m_CorrespondingSourceObject: {fileID: 0} 185 | m_PrefabInstance: {fileID: 0} 186 | m_PrefabAsset: {fileID: 0} 187 | serializedVersion: 6 188 | m_Component: 189 | - component: {fileID: 264588033} 190 | - component: {fileID: 264588032} 191 | - component: {fileID: 264588031} 192 | - component: {fileID: 264588030} 193 | m_Layer: 0 194 | m_Name: Background_Hex 195 | m_TagString: Untagged 196 | m_Icon: {fileID: 0} 197 | m_NavMeshLayer: 0 198 | m_StaticEditorFlags: 0 199 | m_IsActive: 0 200 | --- !u!64 &264588030 201 | MeshCollider: 202 | m_ObjectHideFlags: 0 203 | m_CorrespondingSourceObject: {fileID: 0} 204 | m_PrefabInstance: {fileID: 0} 205 | m_PrefabAsset: {fileID: 0} 206 | m_GameObject: {fileID: 264588029} 207 | m_Material: {fileID: 0} 208 | m_IsTrigger: 0 209 | m_Enabled: 1 210 | serializedVersion: 3 211 | m_Convex: 0 212 | m_CookingOptions: 14 213 | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 214 | --- !u!23 &264588031 215 | MeshRenderer: 216 | m_ObjectHideFlags: 0 217 | m_CorrespondingSourceObject: {fileID: 0} 218 | m_PrefabInstance: {fileID: 0} 219 | m_PrefabAsset: {fileID: 0} 220 | m_GameObject: {fileID: 264588029} 221 | m_Enabled: 1 222 | m_CastShadows: 1 223 | m_ReceiveShadows: 1 224 | m_DynamicOccludee: 1 225 | m_MotionVectors: 1 226 | m_LightProbeUsage: 1 227 | m_ReflectionProbeUsage: 1 228 | m_RenderingLayerMask: 1 229 | m_RendererPriority: 0 230 | m_Materials: 231 | - {fileID: 2100000, guid: 77f8b8bfe7661aa41aadf61f9dd83e1b, type: 2} 232 | m_StaticBatchInfo: 233 | firstSubMesh: 0 234 | subMeshCount: 0 235 | m_StaticBatchRoot: {fileID: 0} 236 | m_ProbeAnchor: {fileID: 0} 237 | m_LightProbeVolumeOverride: {fileID: 0} 238 | m_ScaleInLightmap: 1 239 | m_ReceiveGI: 1 240 | m_PreserveUVs: 0 241 | m_IgnoreNormalsForChartDetection: 0 242 | m_ImportantGI: 0 243 | m_StitchLightmapSeams: 1 244 | m_SelectedEditorRenderState: 3 245 | m_MinimumChartSize: 4 246 | m_AutoUVMaxDistance: 0.5 247 | m_AutoUVMaxAngle: 89 248 | m_LightmapParameters: {fileID: 0} 249 | m_SortingLayerID: 0 250 | m_SortingLayer: 0 251 | m_SortingOrder: 0 252 | --- !u!33 &264588032 253 | MeshFilter: 254 | m_ObjectHideFlags: 0 255 | m_CorrespondingSourceObject: {fileID: 0} 256 | m_PrefabInstance: {fileID: 0} 257 | m_PrefabAsset: {fileID: 0} 258 | m_GameObject: {fileID: 264588029} 259 | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 260 | --- !u!4 &264588033 261 | Transform: 262 | m_ObjectHideFlags: 0 263 | m_CorrespondingSourceObject: {fileID: 0} 264 | m_PrefabInstance: {fileID: 0} 265 | m_PrefabAsset: {fileID: 0} 266 | m_GameObject: {fileID: 264588029} 267 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 268 | m_LocalPosition: {x: 0.01, y: -0.65, z: 0.5} 269 | m_LocalScale: {x: 10, y: 20, z: 10} 270 | m_Children: [] 271 | m_Father: {fileID: 896005338} 272 | m_RootOrder: 0 273 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 274 | --- !u!1 &307449470 275 | GameObject: 276 | m_ObjectHideFlags: 0 277 | m_CorrespondingSourceObject: {fileID: 0} 278 | m_PrefabInstance: {fileID: 0} 279 | m_PrefabAsset: {fileID: 0} 280 | serializedVersion: 6 281 | m_Component: 282 | - component: {fileID: 307449471} 283 | - component: {fileID: 307449473} 284 | - component: {fileID: 307449472} 285 | m_Layer: 5 286 | m_Name: Text 287 | m_TagString: Untagged 288 | m_Icon: {fileID: 0} 289 | m_NavMeshLayer: 0 290 | m_StaticEditorFlags: 0 291 | m_IsActive: 1 292 | --- !u!224 &307449471 293 | RectTransform: 294 | m_ObjectHideFlags: 0 295 | m_CorrespondingSourceObject: {fileID: 0} 296 | m_PrefabInstance: {fileID: 0} 297 | m_PrefabAsset: {fileID: 0} 298 | m_GameObject: {fileID: 307449470} 299 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 300 | m_LocalPosition: {x: 0, y: 0, z: 0} 301 | m_LocalScale: {x: 1, y: 1, z: 1} 302 | m_Children: [] 303 | m_Father: {fileID: 673389871} 304 | m_RootOrder: 0 305 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 306 | m_AnchorMin: {x: 0, y: 0} 307 | m_AnchorMax: {x: 1, y: 1} 308 | m_AnchoredPosition: {x: 0, y: 0} 309 | m_SizeDelta: {x: 0, y: 0} 310 | m_Pivot: {x: 0.5, y: 0.5} 311 | --- !u!114 &307449472 312 | MonoBehaviour: 313 | m_ObjectHideFlags: 0 314 | m_CorrespondingSourceObject: {fileID: 0} 315 | m_PrefabInstance: {fileID: 0} 316 | m_PrefabAsset: {fileID: 0} 317 | m_GameObject: {fileID: 307449470} 318 | m_Enabled: 1 319 | m_EditorHideFlags: 0 320 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 321 | m_Name: 322 | m_EditorClassIdentifier: 323 | m_Material: {fileID: 0} 324 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 325 | m_RaycastTarget: 1 326 | m_OnCullStateChanged: 327 | m_PersistentCalls: 328 | m_Calls: [] 329 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 330 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 331 | m_FontData: 332 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 333 | m_FontSize: 14 334 | m_FontStyle: 0 335 | m_BestFit: 0 336 | m_MinSize: 10 337 | m_MaxSize: 40 338 | m_Alignment: 4 339 | m_AlignByGeometry: 0 340 | m_RichText: 1 341 | m_HorizontalOverflow: 0 342 | m_VerticalOverflow: 0 343 | m_LineSpacing: 1 344 | m_Text: 8 sides 345 | --- !u!222 &307449473 346 | CanvasRenderer: 347 | m_ObjectHideFlags: 0 348 | m_CorrespondingSourceObject: {fileID: 0} 349 | m_PrefabInstance: {fileID: 0} 350 | m_PrefabAsset: {fileID: 0} 351 | m_GameObject: {fileID: 307449470} 352 | m_CullTransparentMesh: 0 353 | --- !u!1 &493459002 354 | GameObject: 355 | m_ObjectHideFlags: 0 356 | m_CorrespondingSourceObject: {fileID: 0} 357 | m_PrefabInstance: {fileID: 0} 358 | m_PrefabAsset: {fileID: 0} 359 | serializedVersion: 6 360 | m_Component: 361 | - component: {fileID: 493459006} 362 | - component: {fileID: 493459005} 363 | - component: {fileID: 493459004} 364 | - component: {fileID: 493459003} 365 | m_Layer: 0 366 | m_Name: Background_Square 367 | m_TagString: Untagged 368 | m_Icon: {fileID: 0} 369 | m_NavMeshLayer: 0 370 | m_StaticEditorFlags: 0 371 | m_IsActive: 1 372 | --- !u!64 &493459003 373 | MeshCollider: 374 | m_ObjectHideFlags: 0 375 | m_CorrespondingSourceObject: {fileID: 0} 376 | m_PrefabInstance: {fileID: 0} 377 | m_PrefabAsset: {fileID: 0} 378 | m_GameObject: {fileID: 493459002} 379 | m_Material: {fileID: 0} 380 | m_IsTrigger: 0 381 | m_Enabled: 1 382 | serializedVersion: 3 383 | m_Convex: 0 384 | m_CookingOptions: 14 385 | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 386 | --- !u!23 &493459004 387 | MeshRenderer: 388 | m_ObjectHideFlags: 0 389 | m_CorrespondingSourceObject: {fileID: 0} 390 | m_PrefabInstance: {fileID: 0} 391 | m_PrefabAsset: {fileID: 0} 392 | m_GameObject: {fileID: 493459002} 393 | m_Enabled: 1 394 | m_CastShadows: 1 395 | m_ReceiveShadows: 1 396 | m_DynamicOccludee: 1 397 | m_MotionVectors: 1 398 | m_LightProbeUsage: 1 399 | m_ReflectionProbeUsage: 1 400 | m_RenderingLayerMask: 1 401 | m_RendererPriority: 0 402 | m_Materials: 403 | - {fileID: 2100000, guid: 3b70c7f591bb5ac4c8b883fff0267f2e, type: 2} 404 | m_StaticBatchInfo: 405 | firstSubMesh: 0 406 | subMeshCount: 0 407 | m_StaticBatchRoot: {fileID: 0} 408 | m_ProbeAnchor: {fileID: 0} 409 | m_LightProbeVolumeOverride: {fileID: 0} 410 | m_ScaleInLightmap: 1 411 | m_ReceiveGI: 1 412 | m_PreserveUVs: 0 413 | m_IgnoreNormalsForChartDetection: 0 414 | m_ImportantGI: 0 415 | m_StitchLightmapSeams: 1 416 | m_SelectedEditorRenderState: 3 417 | m_MinimumChartSize: 4 418 | m_AutoUVMaxDistance: 0.5 419 | m_AutoUVMaxAngle: 89 420 | m_LightmapParameters: {fileID: 0} 421 | m_SortingLayerID: 0 422 | m_SortingLayer: 0 423 | m_SortingOrder: 0 424 | --- !u!33 &493459005 425 | MeshFilter: 426 | m_ObjectHideFlags: 0 427 | m_CorrespondingSourceObject: {fileID: 0} 428 | m_PrefabInstance: {fileID: 0} 429 | m_PrefabAsset: {fileID: 0} 430 | m_GameObject: {fileID: 493459002} 431 | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 432 | --- !u!4 &493459006 433 | Transform: 434 | m_ObjectHideFlags: 0 435 | m_CorrespondingSourceObject: {fileID: 0} 436 | m_PrefabInstance: {fileID: 0} 437 | m_PrefabAsset: {fileID: 0} 438 | m_GameObject: {fileID: 493459002} 439 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 440 | m_LocalPosition: {x: 0, y: 0, z: 0.5} 441 | m_LocalScale: {x: 11, y: 11, z: 11} 442 | m_Children: [] 443 | m_Father: {fileID: 896005338} 444 | m_RootOrder: 1 445 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 446 | --- !u!1 &520072471 447 | GameObject: 448 | m_ObjectHideFlags: 0 449 | m_CorrespondingSourceObject: {fileID: 0} 450 | m_PrefabInstance: {fileID: 0} 451 | m_PrefabAsset: {fileID: 0} 452 | serializedVersion: 6 453 | m_Component: 454 | - component: {fileID: 520072472} 455 | - component: {fileID: 520072474} 456 | - component: {fileID: 520072473} 457 | m_Layer: 5 458 | m_Name: Text 459 | m_TagString: Untagged 460 | m_Icon: {fileID: 0} 461 | m_NavMeshLayer: 0 462 | m_StaticEditorFlags: 0 463 | m_IsActive: 1 464 | --- !u!224 &520072472 465 | RectTransform: 466 | m_ObjectHideFlags: 0 467 | m_CorrespondingSourceObject: {fileID: 0} 468 | m_PrefabInstance: {fileID: 0} 469 | m_PrefabAsset: {fileID: 0} 470 | m_GameObject: {fileID: 520072471} 471 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 472 | m_LocalPosition: {x: 0, y: 0, z: 0} 473 | m_LocalScale: {x: 1, y: 1, z: 1} 474 | m_Children: [] 475 | m_Father: {fileID: 1180181274} 476 | m_RootOrder: 0 477 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 478 | m_AnchorMin: {x: 0, y: 0} 479 | m_AnchorMax: {x: 1, y: 1} 480 | m_AnchoredPosition: {x: 0, y: 0} 481 | m_SizeDelta: {x: 0, y: 0} 482 | m_Pivot: {x: 0.5, y: 0.5} 483 | --- !u!114 &520072473 484 | MonoBehaviour: 485 | m_ObjectHideFlags: 0 486 | m_CorrespondingSourceObject: {fileID: 0} 487 | m_PrefabInstance: {fileID: 0} 488 | m_PrefabAsset: {fileID: 0} 489 | m_GameObject: {fileID: 520072471} 490 | m_Enabled: 1 491 | m_EditorHideFlags: 0 492 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 493 | m_Name: 494 | m_EditorClassIdentifier: 495 | m_Material: {fileID: 0} 496 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 497 | m_RaycastTarget: 1 498 | m_OnCullStateChanged: 499 | m_PersistentCalls: 500 | m_Calls: [] 501 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 502 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 503 | m_FontData: 504 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 505 | m_FontSize: 14 506 | m_FontStyle: 0 507 | m_BestFit: 0 508 | m_MinSize: 10 509 | m_MaxSize: 40 510 | m_Alignment: 4 511 | m_AlignByGeometry: 0 512 | m_RichText: 1 513 | m_HorizontalOverflow: 0 514 | m_VerticalOverflow: 0 515 | m_LineSpacing: 1 516 | m_Text: Hexagonal 517 | --- !u!222 &520072474 518 | CanvasRenderer: 519 | m_ObjectHideFlags: 0 520 | m_CorrespondingSourceObject: {fileID: 0} 521 | m_PrefabInstance: {fileID: 0} 522 | m_PrefabAsset: {fileID: 0} 523 | m_GameObject: {fileID: 520072471} 524 | m_CullTransparentMesh: 0 525 | --- !u!1 &546836284 526 | GameObject: 527 | m_ObjectHideFlags: 0 528 | m_CorrespondingSourceObject: {fileID: 0} 529 | m_PrefabInstance: {fileID: 0} 530 | m_PrefabAsset: {fileID: 0} 531 | serializedVersion: 6 532 | m_Component: 533 | - component: {fileID: 546836285} 534 | - component: {fileID: 546836287} 535 | - component: {fileID: 546836286} 536 | - component: {fileID: 546836288} 537 | m_Layer: 5 538 | m_Name: ControlPanel 539 | m_TagString: Untagged 540 | m_Icon: {fileID: 0} 541 | m_NavMeshLayer: 0 542 | m_StaticEditorFlags: 0 543 | m_IsActive: 1 544 | --- !u!224 &546836285 545 | RectTransform: 546 | m_ObjectHideFlags: 0 547 | m_CorrespondingSourceObject: {fileID: 0} 548 | m_PrefabInstance: {fileID: 0} 549 | m_PrefabAsset: {fileID: 0} 550 | m_GameObject: {fileID: 546836284} 551 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 552 | m_LocalPosition: {x: 0, y: 0, z: 0} 553 | m_LocalScale: {x: 1, y: 1, z: 1} 554 | m_Children: 555 | - {fileID: 1900457188} 556 | - {fileID: 1671584053} 557 | - {fileID: 673389871} 558 | - {fileID: 1433737949} 559 | - {fileID: 1180181274} 560 | m_Father: {fileID: 699795802} 561 | m_RootOrder: 0 562 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 563 | m_AnchorMin: {x: 0.029000001, y: 0.029611517} 564 | m_AnchorMax: {x: 0.9735457, y: 0.11880576} 565 | m_AnchoredPosition: {x: 0, y: 0} 566 | m_SizeDelta: {x: 0, y: 0} 567 | m_Pivot: {x: 0.5, y: 0.5} 568 | --- !u!114 &546836286 569 | MonoBehaviour: 570 | m_ObjectHideFlags: 0 571 | m_CorrespondingSourceObject: {fileID: 0} 572 | m_PrefabInstance: {fileID: 0} 573 | m_PrefabAsset: {fileID: 0} 574 | m_GameObject: {fileID: 546836284} 575 | m_Enabled: 1 576 | m_EditorHideFlags: 0 577 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 578 | m_Name: 579 | m_EditorClassIdentifier: 580 | m_Material: {fileID: 0} 581 | m_Color: {r: 0.6037736, g: 0.6037736, b: 0.6037736, a: 0.1882353} 582 | m_RaycastTarget: 1 583 | m_OnCullStateChanged: 584 | m_PersistentCalls: 585 | m_Calls: [] 586 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 587 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 588 | m_Sprite: {fileID: 0} 589 | m_Type: 0 590 | m_PreserveAspect: 0 591 | m_FillCenter: 1 592 | m_FillMethod: 4 593 | m_FillAmount: 1 594 | m_FillClockwise: 1 595 | m_FillOrigin: 0 596 | m_UseSpriteMesh: 0 597 | m_PixelsPerUnitMultiplier: 1 598 | --- !u!222 &546836287 599 | CanvasRenderer: 600 | m_ObjectHideFlags: 0 601 | m_CorrespondingSourceObject: {fileID: 0} 602 | m_PrefabInstance: {fileID: 0} 603 | m_PrefabAsset: {fileID: 0} 604 | m_GameObject: {fileID: 546836284} 605 | m_CullTransparentMesh: 0 606 | --- !u!114 &546836288 607 | MonoBehaviour: 608 | m_ObjectHideFlags: 0 609 | m_CorrespondingSourceObject: {fileID: 0} 610 | m_PrefabInstance: {fileID: 0} 611 | m_PrefabAsset: {fileID: 0} 612 | m_GameObject: {fileID: 546836284} 613 | m_Enabled: 1 614 | m_EditorHideFlags: 0 615 | m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} 616 | m_Name: 617 | m_EditorClassIdentifier: 618 | m_Padding: 619 | m_Left: 0 620 | m_Right: 0 621 | m_Top: 0 622 | m_Bottom: 0 623 | m_ChildAlignment: 0 624 | m_Spacing: 10 625 | m_ChildForceExpandWidth: 1 626 | m_ChildForceExpandHeight: 1 627 | m_ChildControlWidth: 1 628 | m_ChildControlHeight: 1 629 | m_ChildScaleWidth: 1 630 | m_ChildScaleHeight: 1 631 | --- !u!1 &638172296 stripped 632 | GameObject: 633 | m_CorrespondingSourceObject: {fileID: 7410813488497207442, guid: b5c302f2b5eaca849ba48e9024e8603e, 634 | type: 3} 635 | m_PrefabInstance: {fileID: 7410813488932918298} 636 | m_PrefabAsset: {fileID: 0} 637 | --- !u!114 &638172297 stripped 638 | MonoBehaviour: 639 | m_CorrespondingSourceObject: {fileID: 7410813488497207443, guid: b5c302f2b5eaca849ba48e9024e8603e, 640 | type: 3} 641 | m_PrefabInstance: {fileID: 7410813488932918298} 642 | m_PrefabAsset: {fileID: 0} 643 | m_GameObject: {fileID: 638172296} 644 | m_Enabled: 1 645 | m_EditorHideFlags: 0 646 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 647 | m_Name: 648 | m_EditorClassIdentifier: 649 | --- !u!4 &638172302 stripped 650 | Transform: 651 | m_CorrespondingSourceObject: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 652 | type: 3} 653 | m_PrefabInstance: {fileID: 7410813488932918298} 654 | m_PrefabAsset: {fileID: 0} 655 | --- !u!1 &673389870 656 | GameObject: 657 | m_ObjectHideFlags: 0 658 | m_CorrespondingSourceObject: {fileID: 0} 659 | m_PrefabInstance: {fileID: 0} 660 | m_PrefabAsset: {fileID: 0} 661 | serializedVersion: 6 662 | m_Component: 663 | - component: {fileID: 673389871} 664 | - component: {fileID: 673389874} 665 | - component: {fileID: 673389873} 666 | - component: {fileID: 673389872} 667 | m_Layer: 5 668 | m_Name: Button8dirs 669 | m_TagString: Untagged 670 | m_Icon: {fileID: 0} 671 | m_NavMeshLayer: 0 672 | m_StaticEditorFlags: 0 673 | m_IsActive: 1 674 | --- !u!224 &673389871 675 | RectTransform: 676 | m_ObjectHideFlags: 0 677 | m_CorrespondingSourceObject: {fileID: 0} 678 | m_PrefabInstance: {fileID: 0} 679 | m_PrefabAsset: {fileID: 0} 680 | m_GameObject: {fileID: 673389870} 681 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 682 | m_LocalPosition: {x: 0, y: 0, z: 0} 683 | m_LocalScale: {x: 1, y: 1, z: 1} 684 | m_Children: 685 | - {fileID: 307449471} 686 | m_Father: {fileID: 546836285} 687 | m_RootOrder: 2 688 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 689 | m_AnchorMin: {x: 0, y: 0} 690 | m_AnchorMax: {x: 0, y: 0} 691 | m_AnchoredPosition: {x: 0, y: 0} 692 | m_SizeDelta: {x: 0, y: 0} 693 | m_Pivot: {x: 0.5, y: 0.5} 694 | --- !u!114 &673389872 695 | MonoBehaviour: 696 | m_ObjectHideFlags: 0 697 | m_CorrespondingSourceObject: {fileID: 0} 698 | m_PrefabInstance: {fileID: 0} 699 | m_PrefabAsset: {fileID: 0} 700 | m_GameObject: {fileID: 673389870} 701 | m_Enabled: 1 702 | m_EditorHideFlags: 0 703 | m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} 704 | m_Name: 705 | m_EditorClassIdentifier: 706 | m_Navigation: 707 | m_Mode: 3 708 | m_SelectOnUp: {fileID: 0} 709 | m_SelectOnDown: {fileID: 0} 710 | m_SelectOnLeft: {fileID: 0} 711 | m_SelectOnRight: {fileID: 0} 712 | m_Transition: 1 713 | m_Colors: 714 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 715 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 716 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 717 | m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 718 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 719 | m_ColorMultiplier: 1 720 | m_FadeDuration: 0.1 721 | m_SpriteState: 722 | m_HighlightedSprite: {fileID: 0} 723 | m_PressedSprite: {fileID: 0} 724 | m_SelectedSprite: {fileID: 0} 725 | m_DisabledSprite: {fileID: 0} 726 | m_AnimationTriggers: 727 | m_NormalTrigger: Normal 728 | m_HighlightedTrigger: Highlighted 729 | m_PressedTrigger: Pressed 730 | m_SelectedTrigger: Selected 731 | m_DisabledTrigger: Disabled 732 | m_Interactable: 1 733 | m_TargetGraphic: {fileID: 673389873} 734 | m_OnClick: 735 | m_PersistentCalls: 736 | m_Calls: 737 | - m_Target: {fileID: 264588029} 738 | m_MethodName: SetActive 739 | m_Mode: 6 740 | m_Arguments: 741 | m_ObjectArgument: {fileID: 0} 742 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 743 | m_IntArgument: 0 744 | m_FloatArgument: 0 745 | m_StringArgument: 746 | m_BoolArgument: 0 747 | m_CallState: 2 748 | - m_Target: {fileID: 493459002} 749 | m_MethodName: SetActive 750 | m_Mode: 6 751 | m_Arguments: 752 | m_ObjectArgument: {fileID: 0} 753 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 754 | m_IntArgument: 0 755 | m_FloatArgument: 0 756 | m_StringArgument: 757 | m_BoolArgument: 1 758 | m_CallState: 2 759 | - m_Target: {fileID: 3675891} 760 | m_MethodName: SetActive 761 | m_Mode: 6 762 | m_Arguments: 763 | m_ObjectArgument: {fileID: 0} 764 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 765 | m_IntArgument: 0 766 | m_FloatArgument: 0 767 | m_StringArgument: 768 | m_BoolArgument: 1 769 | m_CallState: 2 770 | - m_Target: {fileID: 638172296} 771 | m_MethodName: SetActive 772 | m_Mode: 6 773 | m_Arguments: 774 | m_ObjectArgument: {fileID: 0} 775 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 776 | m_IntArgument: 0 777 | m_FloatArgument: 0 778 | m_StringArgument: 779 | m_BoolArgument: 0 780 | m_CallState: 2 781 | - m_Target: {fileID: 1903585150} 782 | m_MethodName: SetActive 783 | m_Mode: 6 784 | m_Arguments: 785 | m_ObjectArgument: {fileID: 0} 786 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 787 | m_IntArgument: 0 788 | m_FloatArgument: 0 789 | m_StringArgument: 790 | m_BoolArgument: 0 791 | m_CallState: 2 792 | - m_Target: {fileID: 816926780} 793 | m_MethodName: SetActive 794 | m_Mode: 6 795 | m_Arguments: 796 | m_ObjectArgument: {fileID: 0} 797 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 798 | m_IntArgument: 0 799 | m_FloatArgument: 0 800 | m_StringArgument: 801 | m_BoolArgument: 0 802 | m_CallState: 2 803 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 804 | Culture=neutral, PublicKeyToken=null 805 | --- !u!114 &673389873 806 | MonoBehaviour: 807 | m_ObjectHideFlags: 0 808 | m_CorrespondingSourceObject: {fileID: 0} 809 | m_PrefabInstance: {fileID: 0} 810 | m_PrefabAsset: {fileID: 0} 811 | m_GameObject: {fileID: 673389870} 812 | m_Enabled: 1 813 | m_EditorHideFlags: 0 814 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 815 | m_Name: 816 | m_EditorClassIdentifier: 817 | m_Material: {fileID: 0} 818 | m_Color: {r: 1, g: 1, b: 1, a: 1} 819 | m_RaycastTarget: 1 820 | m_OnCullStateChanged: 821 | m_PersistentCalls: 822 | m_Calls: [] 823 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 824 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 825 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 826 | m_Type: 1 827 | m_PreserveAspect: 0 828 | m_FillCenter: 1 829 | m_FillMethod: 4 830 | m_FillAmount: 1 831 | m_FillClockwise: 1 832 | m_FillOrigin: 0 833 | m_UseSpriteMesh: 0 834 | m_PixelsPerUnitMultiplier: 1 835 | --- !u!222 &673389874 836 | CanvasRenderer: 837 | m_ObjectHideFlags: 0 838 | m_CorrespondingSourceObject: {fileID: 0} 839 | m_PrefabInstance: {fileID: 0} 840 | m_PrefabAsset: {fileID: 0} 841 | m_GameObject: {fileID: 673389870} 842 | m_CullTransparentMesh: 0 843 | --- !u!1 &699795798 844 | GameObject: 845 | m_ObjectHideFlags: 0 846 | m_CorrespondingSourceObject: {fileID: 0} 847 | m_PrefabInstance: {fileID: 0} 848 | m_PrefabAsset: {fileID: 0} 849 | serializedVersion: 6 850 | m_Component: 851 | - component: {fileID: 699795802} 852 | - component: {fileID: 699795801} 853 | - component: {fileID: 699795800} 854 | - component: {fileID: 699795799} 855 | m_Layer: 5 856 | m_Name: Canvas 857 | m_TagString: Untagged 858 | m_Icon: {fileID: 0} 859 | m_NavMeshLayer: 0 860 | m_StaticEditorFlags: 0 861 | m_IsActive: 1 862 | --- !u!114 &699795799 863 | MonoBehaviour: 864 | m_ObjectHideFlags: 0 865 | m_CorrespondingSourceObject: {fileID: 0} 866 | m_PrefabInstance: {fileID: 0} 867 | m_PrefabAsset: {fileID: 0} 868 | m_GameObject: {fileID: 699795798} 869 | m_Enabled: 1 870 | m_EditorHideFlags: 0 871 | m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} 872 | m_Name: 873 | m_EditorClassIdentifier: 874 | m_IgnoreReversedGraphics: 1 875 | m_BlockingObjects: 0 876 | m_BlockingMask: 877 | serializedVersion: 2 878 | m_Bits: 4294967295 879 | --- !u!114 &699795800 880 | MonoBehaviour: 881 | m_ObjectHideFlags: 0 882 | m_CorrespondingSourceObject: {fileID: 0} 883 | m_PrefabInstance: {fileID: 0} 884 | m_PrefabAsset: {fileID: 0} 885 | m_GameObject: {fileID: 699795798} 886 | m_Enabled: 1 887 | m_EditorHideFlags: 0 888 | m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} 889 | m_Name: 890 | m_EditorClassIdentifier: 891 | m_UiScaleMode: 0 892 | m_ReferencePixelsPerUnit: 100 893 | m_ScaleFactor: 1 894 | m_ReferenceResolution: {x: 800, y: 600} 895 | m_ScreenMatchMode: 0 896 | m_MatchWidthOrHeight: 0 897 | m_PhysicalUnit: 3 898 | m_FallbackScreenDPI: 96 899 | m_DefaultSpriteDPI: 96 900 | m_DynamicPixelsPerUnit: 1 901 | --- !u!223 &699795801 902 | Canvas: 903 | m_ObjectHideFlags: 0 904 | m_CorrespondingSourceObject: {fileID: 0} 905 | m_PrefabInstance: {fileID: 0} 906 | m_PrefabAsset: {fileID: 0} 907 | m_GameObject: {fileID: 699795798} 908 | m_Enabled: 1 909 | serializedVersion: 3 910 | m_RenderMode: 0 911 | m_Camera: {fileID: 0} 912 | m_PlaneDistance: 100 913 | m_PixelPerfect: 0 914 | m_ReceivesEvents: 1 915 | m_OverrideSorting: 0 916 | m_OverridePixelPerfect: 0 917 | m_SortingBucketNormalizedSize: 0 918 | m_AdditionalShaderChannelsFlag: 0 919 | m_SortingLayerID: 0 920 | m_SortingOrder: 0 921 | m_TargetDisplay: 0 922 | --- !u!224 &699795802 923 | RectTransform: 924 | m_ObjectHideFlags: 0 925 | m_CorrespondingSourceObject: {fileID: 0} 926 | m_PrefabInstance: {fileID: 0} 927 | m_PrefabAsset: {fileID: 0} 928 | m_GameObject: {fileID: 699795798} 929 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 930 | m_LocalPosition: {x: 0, y: 0, z: 0} 931 | m_LocalScale: {x: 0, y: 0, z: 0} 932 | m_Children: 933 | - {fileID: 546836285} 934 | m_Father: {fileID: 0} 935 | m_RootOrder: 4 936 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 937 | m_AnchorMin: {x: 0, y: 0} 938 | m_AnchorMax: {x: 0, y: 0} 939 | m_AnchoredPosition: {x: 0, y: 0} 940 | m_SizeDelta: {x: 0, y: 0} 941 | m_Pivot: {x: 0, y: 0} 942 | --- !u!1 &705507993 943 | GameObject: 944 | m_ObjectHideFlags: 0 945 | m_CorrespondingSourceObject: {fileID: 0} 946 | m_PrefabInstance: {fileID: 0} 947 | m_PrefabAsset: {fileID: 0} 948 | serializedVersion: 6 949 | m_Component: 950 | - component: {fileID: 705507995} 951 | - component: {fileID: 705507994} 952 | m_Layer: 0 953 | m_Name: Directional Light 954 | m_TagString: Untagged 955 | m_Icon: {fileID: 0} 956 | m_NavMeshLayer: 0 957 | m_StaticEditorFlags: 0 958 | m_IsActive: 1 959 | --- !u!108 &705507994 960 | Light: 961 | m_ObjectHideFlags: 0 962 | m_CorrespondingSourceObject: {fileID: 0} 963 | m_PrefabInstance: {fileID: 0} 964 | m_PrefabAsset: {fileID: 0} 965 | m_GameObject: {fileID: 705507993} 966 | m_Enabled: 1 967 | serializedVersion: 9 968 | m_Type: 1 969 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 970 | m_Intensity: 1 971 | m_Range: 10 972 | m_SpotAngle: 30 973 | m_InnerSpotAngle: 21.80208 974 | m_CookieSize: 10 975 | m_Shadows: 976 | m_Type: 2 977 | m_Resolution: -1 978 | m_CustomResolution: -1 979 | m_Strength: 1 980 | m_Bias: 0.05 981 | m_NormalBias: 0.4 982 | m_NearPlane: 0.2 983 | m_CullingMatrixOverride: 984 | e00: 1 985 | e01: 0 986 | e02: 0 987 | e03: 0 988 | e10: 0 989 | e11: 1 990 | e12: 0 991 | e13: 0 992 | e20: 0 993 | e21: 0 994 | e22: 1 995 | e23: 0 996 | e30: 0 997 | e31: 0 998 | e32: 0 999 | e33: 1 1000 | m_UseCullingMatrixOverride: 0 1001 | m_Cookie: {fileID: 0} 1002 | m_DrawHalo: 0 1003 | m_Flare: {fileID: 0} 1004 | m_RenderMode: 0 1005 | m_CullingMask: 1006 | serializedVersion: 2 1007 | m_Bits: 4294967295 1008 | m_RenderingLayerMask: 1 1009 | m_Lightmapping: 1 1010 | m_LightShadowCasterMode: 0 1011 | m_AreaSize: {x: 1, y: 1} 1012 | m_BounceIntensity: 1 1013 | m_ColorTemperature: 6570 1014 | m_UseColorTemperature: 0 1015 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 1016 | m_UseBoundingSphereOverride: 0 1017 | m_ShadowRadius: 0 1018 | m_ShadowAngle: 0 1019 | --- !u!4 &705507995 1020 | Transform: 1021 | m_ObjectHideFlags: 0 1022 | m_CorrespondingSourceObject: {fileID: 0} 1023 | m_PrefabInstance: {fileID: 0} 1024 | m_PrefabAsset: {fileID: 0} 1025 | m_GameObject: {fileID: 705507993} 1026 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 1027 | m_LocalPosition: {x: 0, y: 3, z: 0} 1028 | m_LocalScale: {x: 1, y: 1, z: 1} 1029 | m_Children: [] 1030 | m_Father: {fileID: 0} 1031 | m_RootOrder: 1 1032 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 1033 | --- !u!1 &794081960 1034 | GameObject: 1035 | m_ObjectHideFlags: 0 1036 | m_CorrespondingSourceObject: {fileID: 0} 1037 | m_PrefabInstance: {fileID: 0} 1038 | m_PrefabAsset: {fileID: 0} 1039 | serializedVersion: 6 1040 | m_Component: 1041 | - component: {fileID: 794081961} 1042 | - component: {fileID: 794081963} 1043 | - component: {fileID: 794081962} 1044 | m_Layer: 5 1045 | m_Name: Label 1046 | m_TagString: Untagged 1047 | m_Icon: {fileID: 0} 1048 | m_NavMeshLayer: 0 1049 | m_StaticEditorFlags: 0 1050 | m_IsActive: 1 1051 | --- !u!224 &794081961 1052 | RectTransform: 1053 | m_ObjectHideFlags: 0 1054 | m_CorrespondingSourceObject: {fileID: 0} 1055 | m_PrefabInstance: {fileID: 0} 1056 | m_PrefabAsset: {fileID: 0} 1057 | m_GameObject: {fileID: 794081960} 1058 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 1059 | m_LocalPosition: {x: 0, y: 0, z: 0} 1060 | m_LocalScale: {x: 1, y: 1, z: 1} 1061 | m_Children: [] 1062 | m_Father: {fileID: 1900457188} 1063 | m_RootOrder: 1 1064 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1065 | m_AnchorMin: {x: 0.36334854, y: 0} 1066 | m_AnchorMax: {x: 1, y: 1} 1067 | m_AnchoredPosition: {x: 0, y: 0} 1068 | m_SizeDelta: {x: 0, y: 0} 1069 | m_Pivot: {x: 0.5, y: 0.5} 1070 | --- !u!114 &794081962 1071 | MonoBehaviour: 1072 | m_ObjectHideFlags: 0 1073 | m_CorrespondingSourceObject: {fileID: 0} 1074 | m_PrefabInstance: {fileID: 0} 1075 | m_PrefabAsset: {fileID: 0} 1076 | m_GameObject: {fileID: 794081960} 1077 | m_Enabled: 1 1078 | m_EditorHideFlags: 0 1079 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 1080 | m_Name: 1081 | m_EditorClassIdentifier: 1082 | m_Material: {fileID: 0} 1083 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 1084 | m_RaycastTarget: 1 1085 | m_OnCullStateChanged: 1086 | m_PersistentCalls: 1087 | m_Calls: [] 1088 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1089 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1090 | m_FontData: 1091 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 1092 | m_FontSize: 14 1093 | m_FontStyle: 0 1094 | m_BestFit: 1 1095 | m_MinSize: 10 1096 | m_MaxSize: 200 1097 | m_Alignment: 4 1098 | m_AlignByGeometry: 0 1099 | m_RichText: 1 1100 | m_HorizontalOverflow: 0 1101 | m_VerticalOverflow: 0 1102 | m_LineSpacing: 1 1103 | m_Text: Continuous 1104 | --- !u!222 &794081963 1105 | CanvasRenderer: 1106 | m_ObjectHideFlags: 0 1107 | m_CorrespondingSourceObject: {fileID: 0} 1108 | m_PrefabInstance: {fileID: 0} 1109 | m_PrefabAsset: {fileID: 0} 1110 | m_GameObject: {fileID: 794081960} 1111 | m_CullTransparentMesh: 0 1112 | --- !u!1 &816926780 stripped 1113 | GameObject: 1114 | m_CorrespondingSourceObject: {fileID: 3815087997989436346, guid: 216fb57e09016b6468b65c7655641fe4, 1115 | type: 3} 1116 | m_PrefabInstance: {fileID: 3815087997732612998} 1117 | m_PrefabAsset: {fileID: 0} 1118 | --- !u!114 &816926781 stripped 1119 | MonoBehaviour: 1120 | m_CorrespondingSourceObject: {fileID: 3815087997989436347, guid: 216fb57e09016b6468b65c7655641fe4, 1121 | type: 3} 1122 | m_PrefabInstance: {fileID: 3815087997732612998} 1123 | m_PrefabAsset: {fileID: 0} 1124 | m_GameObject: {fileID: 816926780} 1125 | m_Enabled: 1 1126 | m_EditorHideFlags: 0 1127 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 1128 | m_Name: 1129 | m_EditorClassIdentifier: 1130 | --- !u!4 &816926786 stripped 1131 | Transform: 1132 | m_CorrespondingSourceObject: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 1133 | type: 3} 1134 | m_PrefabInstance: {fileID: 3815087997732612998} 1135 | m_PrefabAsset: {fileID: 0} 1136 | --- !u!1 &896005337 1137 | GameObject: 1138 | m_ObjectHideFlags: 0 1139 | m_CorrespondingSourceObject: {fileID: 0} 1140 | m_PrefabInstance: {fileID: 0} 1141 | m_PrefabAsset: {fileID: 0} 1142 | serializedVersion: 6 1143 | m_Component: 1144 | - component: {fileID: 896005338} 1145 | m_Layer: 0 1146 | m_Name: Backgrounds 1147 | m_TagString: Untagged 1148 | m_Icon: {fileID: 0} 1149 | m_NavMeshLayer: 0 1150 | m_StaticEditorFlags: 0 1151 | m_IsActive: 1 1152 | --- !u!4 &896005338 1153 | Transform: 1154 | m_ObjectHideFlags: 0 1155 | m_CorrespondingSourceObject: {fileID: 0} 1156 | m_PrefabInstance: {fileID: 0} 1157 | m_PrefabAsset: {fileID: 0} 1158 | m_GameObject: {fileID: 896005337} 1159 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1160 | m_LocalPosition: {x: 0, y: 0, z: 0} 1161 | m_LocalScale: {x: 1, y: 1, z: 1} 1162 | m_Children: 1163 | - {fileID: 264588033} 1164 | - {fileID: 493459006} 1165 | m_Father: {fileID: 0} 1166 | m_RootOrder: 3 1167 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1168 | --- !u!1 &963194225 1169 | GameObject: 1170 | m_ObjectHideFlags: 0 1171 | m_CorrespondingSourceObject: {fileID: 0} 1172 | m_PrefabInstance: {fileID: 0} 1173 | m_PrefabAsset: {fileID: 0} 1174 | serializedVersion: 6 1175 | m_Component: 1176 | - component: {fileID: 963194228} 1177 | - component: {fileID: 963194227} 1178 | - component: {fileID: 963194226} 1179 | m_Layer: 0 1180 | m_Name: Main Camera 1181 | m_TagString: MainCamera 1182 | m_Icon: {fileID: 0} 1183 | m_NavMeshLayer: 0 1184 | m_StaticEditorFlags: 0 1185 | m_IsActive: 1 1186 | --- !u!81 &963194226 1187 | AudioListener: 1188 | m_ObjectHideFlags: 0 1189 | m_CorrespondingSourceObject: {fileID: 0} 1190 | m_PrefabInstance: {fileID: 0} 1191 | m_PrefabAsset: {fileID: 0} 1192 | m_GameObject: {fileID: 963194225} 1193 | m_Enabled: 1 1194 | --- !u!20 &963194227 1195 | Camera: 1196 | m_ObjectHideFlags: 0 1197 | m_CorrespondingSourceObject: {fileID: 0} 1198 | m_PrefabInstance: {fileID: 0} 1199 | m_PrefabAsset: {fileID: 0} 1200 | m_GameObject: {fileID: 963194225} 1201 | m_Enabled: 1 1202 | serializedVersion: 2 1203 | m_ClearFlags: 1 1204 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 1205 | m_projectionMatrixMode: 1 1206 | m_GateFitMode: 2 1207 | m_FOVAxisMode: 0 1208 | m_SensorSize: {x: 36, y: 24} 1209 | m_LensShift: {x: 0, y: 0} 1210 | m_FocalLength: 50 1211 | m_NormalizedViewPortRect: 1212 | serializedVersion: 2 1213 | x: 0 1214 | y: 0 1215 | width: 1 1216 | height: 1 1217 | near clip plane: 0.3 1218 | far clip plane: 1000 1219 | field of view: 60 1220 | orthographic: 1 1221 | orthographic size: 5 1222 | m_Depth: -1 1223 | m_CullingMask: 1224 | serializedVersion: 2 1225 | m_Bits: 4294967295 1226 | m_RenderingPath: -1 1227 | m_TargetTexture: {fileID: 0} 1228 | m_TargetDisplay: 0 1229 | m_TargetEye: 3 1230 | m_HDR: 1 1231 | m_AllowMSAA: 1 1232 | m_AllowDynamicResolution: 0 1233 | m_ForceIntoRT: 0 1234 | m_OcclusionCulling: 1 1235 | m_StereoConvergence: 10 1236 | m_StereoSeparation: 0.022 1237 | --- !u!4 &963194228 1238 | Transform: 1239 | m_ObjectHideFlags: 0 1240 | m_CorrespondingSourceObject: {fileID: 0} 1241 | m_PrefabInstance: {fileID: 0} 1242 | m_PrefabAsset: {fileID: 0} 1243 | m_GameObject: {fileID: 963194225} 1244 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1245 | m_LocalPosition: {x: 0, y: 0, z: -10} 1246 | m_LocalScale: {x: 1, y: 1, z: 1} 1247 | m_Children: [] 1248 | m_Father: {fileID: 0} 1249 | m_RootOrder: 0 1250 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1251 | --- !u!1 &1180181273 1252 | GameObject: 1253 | m_ObjectHideFlags: 0 1254 | m_CorrespondingSourceObject: {fileID: 0} 1255 | m_PrefabInstance: {fileID: 0} 1256 | m_PrefabAsset: {fileID: 0} 1257 | serializedVersion: 6 1258 | m_Component: 1259 | - component: {fileID: 1180181274} 1260 | - component: {fileID: 1180181277} 1261 | - component: {fileID: 1180181276} 1262 | - component: {fileID: 1180181275} 1263 | m_Layer: 5 1264 | m_Name: ButtonHexagonal 1265 | m_TagString: Untagged 1266 | m_Icon: {fileID: 0} 1267 | m_NavMeshLayer: 0 1268 | m_StaticEditorFlags: 0 1269 | m_IsActive: 1 1270 | --- !u!224 &1180181274 1271 | RectTransform: 1272 | m_ObjectHideFlags: 0 1273 | m_CorrespondingSourceObject: {fileID: 0} 1274 | m_PrefabInstance: {fileID: 0} 1275 | m_PrefabAsset: {fileID: 0} 1276 | m_GameObject: {fileID: 1180181273} 1277 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 1278 | m_LocalPosition: {x: 0, y: 0, z: 0} 1279 | m_LocalScale: {x: 1, y: 1, z: 1} 1280 | m_Children: 1281 | - {fileID: 520072472} 1282 | m_Father: {fileID: 546836285} 1283 | m_RootOrder: 4 1284 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1285 | m_AnchorMin: {x: 0, y: 0} 1286 | m_AnchorMax: {x: 0, y: 0} 1287 | m_AnchoredPosition: {x: 0, y: 0} 1288 | m_SizeDelta: {x: 0, y: 0} 1289 | m_Pivot: {x: 0.5, y: 0.5} 1290 | --- !u!114 &1180181275 1291 | MonoBehaviour: 1292 | m_ObjectHideFlags: 0 1293 | m_CorrespondingSourceObject: {fileID: 0} 1294 | m_PrefabInstance: {fileID: 0} 1295 | m_PrefabAsset: {fileID: 0} 1296 | m_GameObject: {fileID: 1180181273} 1297 | m_Enabled: 1 1298 | m_EditorHideFlags: 0 1299 | m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} 1300 | m_Name: 1301 | m_EditorClassIdentifier: 1302 | m_Navigation: 1303 | m_Mode: 3 1304 | m_SelectOnUp: {fileID: 0} 1305 | m_SelectOnDown: {fileID: 0} 1306 | m_SelectOnLeft: {fileID: 0} 1307 | m_SelectOnRight: {fileID: 0} 1308 | m_Transition: 1 1309 | m_Colors: 1310 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 1311 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 1312 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 1313 | m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 1314 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 1315 | m_ColorMultiplier: 1 1316 | m_FadeDuration: 0.1 1317 | m_SpriteState: 1318 | m_HighlightedSprite: {fileID: 0} 1319 | m_PressedSprite: {fileID: 0} 1320 | m_SelectedSprite: {fileID: 0} 1321 | m_DisabledSprite: {fileID: 0} 1322 | m_AnimationTriggers: 1323 | m_NormalTrigger: Normal 1324 | m_HighlightedTrigger: Highlighted 1325 | m_PressedTrigger: Pressed 1326 | m_SelectedTrigger: Selected 1327 | m_DisabledTrigger: Disabled 1328 | m_Interactable: 1 1329 | m_TargetGraphic: {fileID: 1180181276} 1330 | m_OnClick: 1331 | m_PersistentCalls: 1332 | m_Calls: 1333 | - m_Target: {fileID: 264588029} 1334 | m_MethodName: SetActive 1335 | m_Mode: 6 1336 | m_Arguments: 1337 | m_ObjectArgument: {fileID: 0} 1338 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1339 | m_IntArgument: 0 1340 | m_FloatArgument: 0 1341 | m_StringArgument: 1342 | m_BoolArgument: 1 1343 | m_CallState: 2 1344 | - m_Target: {fileID: 493459002} 1345 | m_MethodName: SetActive 1346 | m_Mode: 6 1347 | m_Arguments: 1348 | m_ObjectArgument: {fileID: 0} 1349 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1350 | m_IntArgument: 0 1351 | m_FloatArgument: 0 1352 | m_StringArgument: 1353 | m_BoolArgument: 0 1354 | m_CallState: 2 1355 | - m_Target: {fileID: 3675891} 1356 | m_MethodName: SetActive 1357 | m_Mode: 6 1358 | m_Arguments: 1359 | m_ObjectArgument: {fileID: 0} 1360 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1361 | m_IntArgument: 0 1362 | m_FloatArgument: 0 1363 | m_StringArgument: 1364 | m_BoolArgument: 0 1365 | m_CallState: 2 1366 | - m_Target: {fileID: 638172296} 1367 | m_MethodName: SetActive 1368 | m_Mode: 6 1369 | m_Arguments: 1370 | m_ObjectArgument: {fileID: 0} 1371 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1372 | m_IntArgument: 0 1373 | m_FloatArgument: 0 1374 | m_StringArgument: 1375 | m_BoolArgument: 0 1376 | m_CallState: 2 1377 | - m_Target: {fileID: 1903585150} 1378 | m_MethodName: SetActive 1379 | m_Mode: 6 1380 | m_Arguments: 1381 | m_ObjectArgument: {fileID: 0} 1382 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1383 | m_IntArgument: 0 1384 | m_FloatArgument: 0 1385 | m_StringArgument: 1386 | m_BoolArgument: 0 1387 | m_CallState: 2 1388 | - m_Target: {fileID: 816926780} 1389 | m_MethodName: SetActive 1390 | m_Mode: 6 1391 | m_Arguments: 1392 | m_ObjectArgument: {fileID: 0} 1393 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1394 | m_IntArgument: 0 1395 | m_FloatArgument: 0 1396 | m_StringArgument: 1397 | m_BoolArgument: 1 1398 | m_CallState: 2 1399 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 1400 | Culture=neutral, PublicKeyToken=null 1401 | --- !u!114 &1180181276 1402 | MonoBehaviour: 1403 | m_ObjectHideFlags: 0 1404 | m_CorrespondingSourceObject: {fileID: 0} 1405 | m_PrefabInstance: {fileID: 0} 1406 | m_PrefabAsset: {fileID: 0} 1407 | m_GameObject: {fileID: 1180181273} 1408 | m_Enabled: 1 1409 | m_EditorHideFlags: 0 1410 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 1411 | m_Name: 1412 | m_EditorClassIdentifier: 1413 | m_Material: {fileID: 0} 1414 | m_Color: {r: 1, g: 1, b: 1, a: 1} 1415 | m_RaycastTarget: 1 1416 | m_OnCullStateChanged: 1417 | m_PersistentCalls: 1418 | m_Calls: [] 1419 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1420 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1421 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 1422 | m_Type: 1 1423 | m_PreserveAspect: 0 1424 | m_FillCenter: 1 1425 | m_FillMethod: 4 1426 | m_FillAmount: 1 1427 | m_FillClockwise: 1 1428 | m_FillOrigin: 0 1429 | m_UseSpriteMesh: 0 1430 | m_PixelsPerUnitMultiplier: 1 1431 | --- !u!222 &1180181277 1432 | CanvasRenderer: 1433 | m_ObjectHideFlags: 0 1434 | m_CorrespondingSourceObject: {fileID: 0} 1435 | m_PrefabInstance: {fileID: 0} 1436 | m_PrefabAsset: {fileID: 0} 1437 | m_GameObject: {fileID: 1180181273} 1438 | m_CullTransparentMesh: 0 1439 | --- !u!1 &1252153072 1440 | GameObject: 1441 | m_ObjectHideFlags: 0 1442 | m_CorrespondingSourceObject: {fileID: 0} 1443 | m_PrefabInstance: {fileID: 0} 1444 | m_PrefabAsset: {fileID: 0} 1445 | serializedVersion: 6 1446 | m_Component: 1447 | - component: {fileID: 1252153073} 1448 | - component: {fileID: 1252153075} 1449 | - component: {fileID: 1252153074} 1450 | m_Layer: 5 1451 | m_Name: Checkmark 1452 | m_TagString: Untagged 1453 | m_Icon: {fileID: 0} 1454 | m_NavMeshLayer: 0 1455 | m_StaticEditorFlags: 0 1456 | m_IsActive: 1 1457 | --- !u!224 &1252153073 1458 | RectTransform: 1459 | m_ObjectHideFlags: 0 1460 | m_CorrespondingSourceObject: {fileID: 0} 1461 | m_PrefabInstance: {fileID: 0} 1462 | m_PrefabAsset: {fileID: 0} 1463 | m_GameObject: {fileID: 1252153072} 1464 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 1465 | m_LocalPosition: {x: 0, y: 0, z: 0} 1466 | m_LocalScale: {x: 1, y: 1, z: 1} 1467 | m_Children: [] 1468 | m_Father: {fileID: 1414807864} 1469 | m_RootOrder: 0 1470 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1471 | m_AnchorMin: {x: 0.156, y: 0.08060509} 1472 | m_AnchorMax: {x: 0.84400004, y: 0.903291} 1473 | m_AnchoredPosition: {x: 0, y: 0} 1474 | m_SizeDelta: {x: 0, y: 0} 1475 | m_Pivot: {x: 0.5, y: 0.5} 1476 | --- !u!114 &1252153074 1477 | MonoBehaviour: 1478 | m_ObjectHideFlags: 0 1479 | m_CorrespondingSourceObject: {fileID: 0} 1480 | m_PrefabInstance: {fileID: 0} 1481 | m_PrefabAsset: {fileID: 0} 1482 | m_GameObject: {fileID: 1252153072} 1483 | m_Enabled: 1 1484 | m_EditorHideFlags: 0 1485 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 1486 | m_Name: 1487 | m_EditorClassIdentifier: 1488 | m_Material: {fileID: 0} 1489 | m_Color: {r: 1, g: 1, b: 1, a: 1} 1490 | m_RaycastTarget: 1 1491 | m_OnCullStateChanged: 1492 | m_PersistentCalls: 1493 | m_Calls: [] 1494 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1495 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1496 | m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0} 1497 | m_Type: 0 1498 | m_PreserveAspect: 0 1499 | m_FillCenter: 1 1500 | m_FillMethod: 4 1501 | m_FillAmount: 1 1502 | m_FillClockwise: 1 1503 | m_FillOrigin: 0 1504 | m_UseSpriteMesh: 0 1505 | m_PixelsPerUnitMultiplier: 1 1506 | --- !u!222 &1252153075 1507 | CanvasRenderer: 1508 | m_ObjectHideFlags: 0 1509 | m_CorrespondingSourceObject: {fileID: 0} 1510 | m_PrefabInstance: {fileID: 0} 1511 | m_PrefabAsset: {fileID: 0} 1512 | m_GameObject: {fileID: 1252153072} 1513 | m_CullTransparentMesh: 0 1514 | --- !u!1 &1414807863 1515 | GameObject: 1516 | m_ObjectHideFlags: 0 1517 | m_CorrespondingSourceObject: {fileID: 0} 1518 | m_PrefabInstance: {fileID: 0} 1519 | m_PrefabAsset: {fileID: 0} 1520 | serializedVersion: 6 1521 | m_Component: 1522 | - component: {fileID: 1414807864} 1523 | - component: {fileID: 1414807866} 1524 | - component: {fileID: 1414807865} 1525 | m_Layer: 5 1526 | m_Name: Background 1527 | m_TagString: Untagged 1528 | m_Icon: {fileID: 0} 1529 | m_NavMeshLayer: 0 1530 | m_StaticEditorFlags: 0 1531 | m_IsActive: 1 1532 | --- !u!224 &1414807864 1533 | RectTransform: 1534 | m_ObjectHideFlags: 0 1535 | m_CorrespondingSourceObject: {fileID: 0} 1536 | m_PrefabInstance: {fileID: 0} 1537 | m_PrefabAsset: {fileID: 0} 1538 | m_GameObject: {fileID: 1414807863} 1539 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 1540 | m_LocalPosition: {x: 0, y: 0, z: 0} 1541 | m_LocalScale: {x: 1, y: 1, z: 1} 1542 | m_Children: 1543 | - {fileID: 1252153073} 1544 | m_Father: {fileID: 1900457188} 1545 | m_RootOrder: 0 1546 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1547 | m_AnchorMin: {x: 0, y: 0} 1548 | m_AnchorMax: {x: 0.3176764, y: 1} 1549 | m_AnchoredPosition: {x: 0, y: 0} 1550 | m_SizeDelta: {x: 0, y: 0} 1551 | m_Pivot: {x: 0.5, y: 0.5} 1552 | --- !u!114 &1414807865 1553 | MonoBehaviour: 1554 | m_ObjectHideFlags: 0 1555 | m_CorrespondingSourceObject: {fileID: 0} 1556 | m_PrefabInstance: {fileID: 0} 1557 | m_PrefabAsset: {fileID: 0} 1558 | m_GameObject: {fileID: 1414807863} 1559 | m_Enabled: 1 1560 | m_EditorHideFlags: 0 1561 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 1562 | m_Name: 1563 | m_EditorClassIdentifier: 1564 | m_Material: {fileID: 0} 1565 | m_Color: {r: 1, g: 1, b: 1, a: 1} 1566 | m_RaycastTarget: 1 1567 | m_OnCullStateChanged: 1568 | m_PersistentCalls: 1569 | m_Calls: [] 1570 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1571 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1572 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 1573 | m_Type: 1 1574 | m_PreserveAspect: 0 1575 | m_FillCenter: 1 1576 | m_FillMethod: 4 1577 | m_FillAmount: 1 1578 | m_FillClockwise: 1 1579 | m_FillOrigin: 0 1580 | m_UseSpriteMesh: 0 1581 | m_PixelsPerUnitMultiplier: 1 1582 | --- !u!222 &1414807866 1583 | CanvasRenderer: 1584 | m_ObjectHideFlags: 0 1585 | m_CorrespondingSourceObject: {fileID: 0} 1586 | m_PrefabInstance: {fileID: 0} 1587 | m_PrefabAsset: {fileID: 0} 1588 | m_GameObject: {fileID: 1414807863} 1589 | m_CullTransparentMesh: 0 1590 | --- !u!1 &1433737948 1591 | GameObject: 1592 | m_ObjectHideFlags: 0 1593 | m_CorrespondingSourceObject: {fileID: 0} 1594 | m_PrefabInstance: {fileID: 0} 1595 | m_PrefabAsset: {fileID: 0} 1596 | serializedVersion: 6 1597 | m_Component: 1598 | - component: {fileID: 1433737949} 1599 | - component: {fileID: 1433737952} 1600 | - component: {fileID: 1433737951} 1601 | - component: {fileID: 1433737950} 1602 | m_Layer: 5 1603 | m_Name: ButtonLeftRight 1604 | m_TagString: Untagged 1605 | m_Icon: {fileID: 0} 1606 | m_NavMeshLayer: 0 1607 | m_StaticEditorFlags: 0 1608 | m_IsActive: 1 1609 | --- !u!224 &1433737949 1610 | RectTransform: 1611 | m_ObjectHideFlags: 0 1612 | m_CorrespondingSourceObject: {fileID: 0} 1613 | m_PrefabInstance: {fileID: 0} 1614 | m_PrefabAsset: {fileID: 0} 1615 | m_GameObject: {fileID: 1433737948} 1616 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 1617 | m_LocalPosition: {x: 0, y: 0, z: 0} 1618 | m_LocalScale: {x: 1, y: 1, z: 1} 1619 | m_Children: 1620 | - {fileID: 1725110087} 1621 | m_Father: {fileID: 546836285} 1622 | m_RootOrder: 3 1623 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1624 | m_AnchorMin: {x: 0, y: 0} 1625 | m_AnchorMax: {x: 0, y: 0} 1626 | m_AnchoredPosition: {x: 0, y: 0} 1627 | m_SizeDelta: {x: 0, y: 0} 1628 | m_Pivot: {x: 0.5, y: 0.5} 1629 | --- !u!114 &1433737950 1630 | MonoBehaviour: 1631 | m_ObjectHideFlags: 0 1632 | m_CorrespondingSourceObject: {fileID: 0} 1633 | m_PrefabInstance: {fileID: 0} 1634 | m_PrefabAsset: {fileID: 0} 1635 | m_GameObject: {fileID: 1433737948} 1636 | m_Enabled: 1 1637 | m_EditorHideFlags: 0 1638 | m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} 1639 | m_Name: 1640 | m_EditorClassIdentifier: 1641 | m_Navigation: 1642 | m_Mode: 3 1643 | m_SelectOnUp: {fileID: 0} 1644 | m_SelectOnDown: {fileID: 0} 1645 | m_SelectOnLeft: {fileID: 0} 1646 | m_SelectOnRight: {fileID: 0} 1647 | m_Transition: 1 1648 | m_Colors: 1649 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 1650 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 1651 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 1652 | m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 1653 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 1654 | m_ColorMultiplier: 1 1655 | m_FadeDuration: 0.1 1656 | m_SpriteState: 1657 | m_HighlightedSprite: {fileID: 0} 1658 | m_PressedSprite: {fileID: 0} 1659 | m_SelectedSprite: {fileID: 0} 1660 | m_DisabledSprite: {fileID: 0} 1661 | m_AnimationTriggers: 1662 | m_NormalTrigger: Normal 1663 | m_HighlightedTrigger: Highlighted 1664 | m_PressedTrigger: Pressed 1665 | m_SelectedTrigger: Selected 1666 | m_DisabledTrigger: Disabled 1667 | m_Interactable: 1 1668 | m_TargetGraphic: {fileID: 1433737951} 1669 | m_OnClick: 1670 | m_PersistentCalls: 1671 | m_Calls: 1672 | - m_Target: {fileID: 264588029} 1673 | m_MethodName: SetActive 1674 | m_Mode: 6 1675 | m_Arguments: 1676 | m_ObjectArgument: {fileID: 0} 1677 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1678 | m_IntArgument: 0 1679 | m_FloatArgument: 0 1680 | m_StringArgument: 1681 | m_BoolArgument: 0 1682 | m_CallState: 2 1683 | - m_Target: {fileID: 493459002} 1684 | m_MethodName: SetActive 1685 | m_Mode: 6 1686 | m_Arguments: 1687 | m_ObjectArgument: {fileID: 0} 1688 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1689 | m_IntArgument: 0 1690 | m_FloatArgument: 0 1691 | m_StringArgument: 1692 | m_BoolArgument: 1 1693 | m_CallState: 2 1694 | - m_Target: {fileID: 3675891} 1695 | m_MethodName: SetActive 1696 | m_Mode: 6 1697 | m_Arguments: 1698 | m_ObjectArgument: {fileID: 0} 1699 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1700 | m_IntArgument: 0 1701 | m_FloatArgument: 0 1702 | m_StringArgument: 1703 | m_BoolArgument: 0 1704 | m_CallState: 2 1705 | - m_Target: {fileID: 638172296} 1706 | m_MethodName: SetActive 1707 | m_Mode: 6 1708 | m_Arguments: 1709 | m_ObjectArgument: {fileID: 0} 1710 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1711 | m_IntArgument: 0 1712 | m_FloatArgument: 0 1713 | m_StringArgument: 1714 | m_BoolArgument: 0 1715 | m_CallState: 2 1716 | - m_Target: {fileID: 1903585150} 1717 | m_MethodName: SetActive 1718 | m_Mode: 6 1719 | m_Arguments: 1720 | m_ObjectArgument: {fileID: 0} 1721 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1722 | m_IntArgument: 0 1723 | m_FloatArgument: 0 1724 | m_StringArgument: 1725 | m_BoolArgument: 1 1726 | m_CallState: 2 1727 | - m_Target: {fileID: 816926780} 1728 | m_MethodName: SetActive 1729 | m_Mode: 6 1730 | m_Arguments: 1731 | m_ObjectArgument: {fileID: 0} 1732 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1733 | m_IntArgument: 0 1734 | m_FloatArgument: 0 1735 | m_StringArgument: 1736 | m_BoolArgument: 0 1737 | m_CallState: 2 1738 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 1739 | Culture=neutral, PublicKeyToken=null 1740 | --- !u!114 &1433737951 1741 | MonoBehaviour: 1742 | m_ObjectHideFlags: 0 1743 | m_CorrespondingSourceObject: {fileID: 0} 1744 | m_PrefabInstance: {fileID: 0} 1745 | m_PrefabAsset: {fileID: 0} 1746 | m_GameObject: {fileID: 1433737948} 1747 | m_Enabled: 1 1748 | m_EditorHideFlags: 0 1749 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 1750 | m_Name: 1751 | m_EditorClassIdentifier: 1752 | m_Material: {fileID: 0} 1753 | m_Color: {r: 1, g: 1, b: 1, a: 1} 1754 | m_RaycastTarget: 1 1755 | m_OnCullStateChanged: 1756 | m_PersistentCalls: 1757 | m_Calls: [] 1758 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1759 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1760 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 1761 | m_Type: 1 1762 | m_PreserveAspect: 0 1763 | m_FillCenter: 1 1764 | m_FillMethod: 4 1765 | m_FillAmount: 1 1766 | m_FillClockwise: 1 1767 | m_FillOrigin: 0 1768 | m_UseSpriteMesh: 0 1769 | m_PixelsPerUnitMultiplier: 1 1770 | --- !u!222 &1433737952 1771 | CanvasRenderer: 1772 | m_ObjectHideFlags: 0 1773 | m_CorrespondingSourceObject: {fileID: 0} 1774 | m_PrefabInstance: {fileID: 0} 1775 | m_PrefabAsset: {fileID: 0} 1776 | m_GameObject: {fileID: 1433737948} 1777 | m_CullTransparentMesh: 0 1778 | --- !u!1 &1634637247 1779 | GameObject: 1780 | m_ObjectHideFlags: 0 1781 | m_CorrespondingSourceObject: {fileID: 0} 1782 | m_PrefabInstance: {fileID: 0} 1783 | m_PrefabAsset: {fileID: 0} 1784 | serializedVersion: 6 1785 | m_Component: 1786 | - component: {fileID: 1634637250} 1787 | - component: {fileID: 1634637249} 1788 | - component: {fileID: 1634637248} 1789 | m_Layer: 0 1790 | m_Name: EventSystem 1791 | m_TagString: Untagged 1792 | m_Icon: {fileID: 0} 1793 | m_NavMeshLayer: 0 1794 | m_StaticEditorFlags: 0 1795 | m_IsActive: 1 1796 | --- !u!114 &1634637248 1797 | MonoBehaviour: 1798 | m_ObjectHideFlags: 0 1799 | m_CorrespondingSourceObject: {fileID: 0} 1800 | m_PrefabInstance: {fileID: 0} 1801 | m_PrefabAsset: {fileID: 0} 1802 | m_GameObject: {fileID: 1634637247} 1803 | m_Enabled: 1 1804 | m_EditorHideFlags: 0 1805 | m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} 1806 | m_Name: 1807 | m_EditorClassIdentifier: 1808 | m_HorizontalAxis: Horizontal 1809 | m_VerticalAxis: Vertical 1810 | m_SubmitButton: Submit 1811 | m_CancelButton: Cancel 1812 | m_InputActionsPerSecond: 10 1813 | m_RepeatDelay: 0.5 1814 | m_ForceModuleActive: 0 1815 | --- !u!114 &1634637249 1816 | MonoBehaviour: 1817 | m_ObjectHideFlags: 0 1818 | m_CorrespondingSourceObject: {fileID: 0} 1819 | m_PrefabInstance: {fileID: 0} 1820 | m_PrefabAsset: {fileID: 0} 1821 | m_GameObject: {fileID: 1634637247} 1822 | m_Enabled: 1 1823 | m_EditorHideFlags: 0 1824 | m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} 1825 | m_Name: 1826 | m_EditorClassIdentifier: 1827 | m_FirstSelected: {fileID: 0} 1828 | m_sendNavigationEvents: 1 1829 | m_DragThreshold: 10 1830 | --- !u!4 &1634637250 1831 | Transform: 1832 | m_ObjectHideFlags: 0 1833 | m_CorrespondingSourceObject: {fileID: 0} 1834 | m_PrefabInstance: {fileID: 0} 1835 | m_PrefabAsset: {fileID: 0} 1836 | m_GameObject: {fileID: 1634637247} 1837 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1838 | m_LocalPosition: {x: 0, y: 0, z: 0} 1839 | m_LocalScale: {x: 1, y: 1, z: 1} 1840 | m_Children: [] 1841 | m_Father: {fileID: 0} 1842 | m_RootOrder: 5 1843 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1844 | --- !u!1 &1671584052 1845 | GameObject: 1846 | m_ObjectHideFlags: 0 1847 | m_CorrespondingSourceObject: {fileID: 0} 1848 | m_PrefabInstance: {fileID: 0} 1849 | m_PrefabAsset: {fileID: 0} 1850 | serializedVersion: 6 1851 | m_Component: 1852 | - component: {fileID: 1671584053} 1853 | - component: {fileID: 1671584056} 1854 | - component: {fileID: 1671584055} 1855 | - component: {fileID: 1671584054} 1856 | m_Layer: 5 1857 | m_Name: Button4dirs 1858 | m_TagString: Untagged 1859 | m_Icon: {fileID: 0} 1860 | m_NavMeshLayer: 0 1861 | m_StaticEditorFlags: 0 1862 | m_IsActive: 1 1863 | --- !u!224 &1671584053 1864 | RectTransform: 1865 | m_ObjectHideFlags: 0 1866 | m_CorrespondingSourceObject: {fileID: 0} 1867 | m_PrefabInstance: {fileID: 0} 1868 | m_PrefabAsset: {fileID: 0} 1869 | m_GameObject: {fileID: 1671584052} 1870 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 1871 | m_LocalPosition: {x: 0, y: 0, z: 0} 1872 | m_LocalScale: {x: 1, y: 1, z: 1} 1873 | m_Children: 1874 | - {fileID: 1827608385} 1875 | m_Father: {fileID: 546836285} 1876 | m_RootOrder: 1 1877 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1878 | m_AnchorMin: {x: 0, y: 0} 1879 | m_AnchorMax: {x: 0, y: 0} 1880 | m_AnchoredPosition: {x: 0, y: 0} 1881 | m_SizeDelta: {x: 0, y: 0} 1882 | m_Pivot: {x: 0.5, y: 0.5} 1883 | --- !u!114 &1671584054 1884 | MonoBehaviour: 1885 | m_ObjectHideFlags: 0 1886 | m_CorrespondingSourceObject: {fileID: 0} 1887 | m_PrefabInstance: {fileID: 0} 1888 | m_PrefabAsset: {fileID: 0} 1889 | m_GameObject: {fileID: 1671584052} 1890 | m_Enabled: 1 1891 | m_EditorHideFlags: 0 1892 | m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} 1893 | m_Name: 1894 | m_EditorClassIdentifier: 1895 | m_Navigation: 1896 | m_Mode: 3 1897 | m_SelectOnUp: {fileID: 0} 1898 | m_SelectOnDown: {fileID: 0} 1899 | m_SelectOnLeft: {fileID: 0} 1900 | m_SelectOnRight: {fileID: 0} 1901 | m_Transition: 1 1902 | m_Colors: 1903 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 1904 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 1905 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 1906 | m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 1907 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 1908 | m_ColorMultiplier: 1 1909 | m_FadeDuration: 0.1 1910 | m_SpriteState: 1911 | m_HighlightedSprite: {fileID: 0} 1912 | m_PressedSprite: {fileID: 0} 1913 | m_SelectedSprite: {fileID: 0} 1914 | m_DisabledSprite: {fileID: 0} 1915 | m_AnimationTriggers: 1916 | m_NormalTrigger: Normal 1917 | m_HighlightedTrigger: Highlighted 1918 | m_PressedTrigger: Pressed 1919 | m_SelectedTrigger: Selected 1920 | m_DisabledTrigger: Disabled 1921 | m_Interactable: 1 1922 | m_TargetGraphic: {fileID: 1671584055} 1923 | m_OnClick: 1924 | m_PersistentCalls: 1925 | m_Calls: 1926 | - m_Target: {fileID: 264588029} 1927 | m_MethodName: SetActive 1928 | m_Mode: 6 1929 | m_Arguments: 1930 | m_ObjectArgument: {fileID: 0} 1931 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1932 | m_IntArgument: 0 1933 | m_FloatArgument: 0 1934 | m_StringArgument: 1935 | m_BoolArgument: 0 1936 | m_CallState: 2 1937 | - m_Target: {fileID: 493459002} 1938 | m_MethodName: SetActive 1939 | m_Mode: 6 1940 | m_Arguments: 1941 | m_ObjectArgument: {fileID: 0} 1942 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1943 | m_IntArgument: 0 1944 | m_FloatArgument: 0 1945 | m_StringArgument: 1946 | m_BoolArgument: 1 1947 | m_CallState: 2 1948 | - m_Target: {fileID: 3675891} 1949 | m_MethodName: SetActive 1950 | m_Mode: 6 1951 | m_Arguments: 1952 | m_ObjectArgument: {fileID: 0} 1953 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1954 | m_IntArgument: 0 1955 | m_FloatArgument: 0 1956 | m_StringArgument: 1957 | m_BoolArgument: 0 1958 | m_CallState: 2 1959 | - m_Target: {fileID: 638172296} 1960 | m_MethodName: SetActive 1961 | m_Mode: 6 1962 | m_Arguments: 1963 | m_ObjectArgument: {fileID: 0} 1964 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1965 | m_IntArgument: 0 1966 | m_FloatArgument: 0 1967 | m_StringArgument: 1968 | m_BoolArgument: 1 1969 | m_CallState: 2 1970 | - m_Target: {fileID: 1903585150} 1971 | m_MethodName: SetActive 1972 | m_Mode: 6 1973 | m_Arguments: 1974 | m_ObjectArgument: {fileID: 0} 1975 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1976 | m_IntArgument: 0 1977 | m_FloatArgument: 0 1978 | m_StringArgument: 1979 | m_BoolArgument: 0 1980 | m_CallState: 2 1981 | - m_Target: {fileID: 816926780} 1982 | m_MethodName: SetActive 1983 | m_Mode: 6 1984 | m_Arguments: 1985 | m_ObjectArgument: {fileID: 0} 1986 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1987 | m_IntArgument: 0 1988 | m_FloatArgument: 0 1989 | m_StringArgument: 1990 | m_BoolArgument: 0 1991 | m_CallState: 2 1992 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 1993 | Culture=neutral, PublicKeyToken=null 1994 | --- !u!114 &1671584055 1995 | MonoBehaviour: 1996 | m_ObjectHideFlags: 0 1997 | m_CorrespondingSourceObject: {fileID: 0} 1998 | m_PrefabInstance: {fileID: 0} 1999 | m_PrefabAsset: {fileID: 0} 2000 | m_GameObject: {fileID: 1671584052} 2001 | m_Enabled: 1 2002 | m_EditorHideFlags: 0 2003 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 2004 | m_Name: 2005 | m_EditorClassIdentifier: 2006 | m_Material: {fileID: 0} 2007 | m_Color: {r: 1, g: 1, b: 1, a: 1} 2008 | m_RaycastTarget: 1 2009 | m_OnCullStateChanged: 2010 | m_PersistentCalls: 2011 | m_Calls: [] 2012 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 2013 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2014 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 2015 | m_Type: 1 2016 | m_PreserveAspect: 0 2017 | m_FillCenter: 1 2018 | m_FillMethod: 4 2019 | m_FillAmount: 1 2020 | m_FillClockwise: 1 2021 | m_FillOrigin: 0 2022 | m_UseSpriteMesh: 0 2023 | m_PixelsPerUnitMultiplier: 1 2024 | --- !u!222 &1671584056 2025 | CanvasRenderer: 2026 | m_ObjectHideFlags: 0 2027 | m_CorrespondingSourceObject: {fileID: 0} 2028 | m_PrefabInstance: {fileID: 0} 2029 | m_PrefabAsset: {fileID: 0} 2030 | m_GameObject: {fileID: 1671584052} 2031 | m_CullTransparentMesh: 0 2032 | --- !u!1 &1725110086 2033 | GameObject: 2034 | m_ObjectHideFlags: 0 2035 | m_CorrespondingSourceObject: {fileID: 0} 2036 | m_PrefabInstance: {fileID: 0} 2037 | m_PrefabAsset: {fileID: 0} 2038 | serializedVersion: 6 2039 | m_Component: 2040 | - component: {fileID: 1725110087} 2041 | - component: {fileID: 1725110089} 2042 | - component: {fileID: 1725110088} 2043 | m_Layer: 5 2044 | m_Name: Text 2045 | m_TagString: Untagged 2046 | m_Icon: {fileID: 0} 2047 | m_NavMeshLayer: 0 2048 | m_StaticEditorFlags: 0 2049 | m_IsActive: 1 2050 | --- !u!224 &1725110087 2051 | RectTransform: 2052 | m_ObjectHideFlags: 0 2053 | m_CorrespondingSourceObject: {fileID: 0} 2054 | m_PrefabInstance: {fileID: 0} 2055 | m_PrefabAsset: {fileID: 0} 2056 | m_GameObject: {fileID: 1725110086} 2057 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 2058 | m_LocalPosition: {x: 0, y: 0, z: 0} 2059 | m_LocalScale: {x: 1, y: 1, z: 1} 2060 | m_Children: [] 2061 | m_Father: {fileID: 1433737949} 2062 | m_RootOrder: 0 2063 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 2064 | m_AnchorMin: {x: 0, y: 0} 2065 | m_AnchorMax: {x: 1, y: 1} 2066 | m_AnchoredPosition: {x: 0, y: 0} 2067 | m_SizeDelta: {x: 0, y: 0} 2068 | m_Pivot: {x: 0.5, y: 0.5} 2069 | --- !u!114 &1725110088 2070 | MonoBehaviour: 2071 | m_ObjectHideFlags: 0 2072 | m_CorrespondingSourceObject: {fileID: 0} 2073 | m_PrefabInstance: {fileID: 0} 2074 | m_PrefabAsset: {fileID: 0} 2075 | m_GameObject: {fileID: 1725110086} 2076 | m_Enabled: 1 2077 | m_EditorHideFlags: 0 2078 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 2079 | m_Name: 2080 | m_EditorClassIdentifier: 2081 | m_Material: {fileID: 0} 2082 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 2083 | m_RaycastTarget: 1 2084 | m_OnCullStateChanged: 2085 | m_PersistentCalls: 2086 | m_Calls: [] 2087 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 2088 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2089 | m_FontData: 2090 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 2091 | m_FontSize: 14 2092 | m_FontStyle: 0 2093 | m_BestFit: 0 2094 | m_MinSize: 10 2095 | m_MaxSize: 40 2096 | m_Alignment: 4 2097 | m_AlignByGeometry: 0 2098 | m_RichText: 1 2099 | m_HorizontalOverflow: 0 2100 | m_VerticalOverflow: 0 2101 | m_LineSpacing: 1 2102 | m_Text: left-right 2103 | --- !u!222 &1725110089 2104 | CanvasRenderer: 2105 | m_ObjectHideFlags: 0 2106 | m_CorrespondingSourceObject: {fileID: 0} 2107 | m_PrefabInstance: {fileID: 0} 2108 | m_PrefabAsset: {fileID: 0} 2109 | m_GameObject: {fileID: 1725110086} 2110 | m_CullTransparentMesh: 0 2111 | --- !u!1 &1827608384 2112 | GameObject: 2113 | m_ObjectHideFlags: 0 2114 | m_CorrespondingSourceObject: {fileID: 0} 2115 | m_PrefabInstance: {fileID: 0} 2116 | m_PrefabAsset: {fileID: 0} 2117 | serializedVersion: 6 2118 | m_Component: 2119 | - component: {fileID: 1827608385} 2120 | - component: {fileID: 1827608387} 2121 | - component: {fileID: 1827608386} 2122 | m_Layer: 5 2123 | m_Name: Text 2124 | m_TagString: Untagged 2125 | m_Icon: {fileID: 0} 2126 | m_NavMeshLayer: 0 2127 | m_StaticEditorFlags: 0 2128 | m_IsActive: 1 2129 | --- !u!224 &1827608385 2130 | RectTransform: 2131 | m_ObjectHideFlags: 0 2132 | m_CorrespondingSourceObject: {fileID: 0} 2133 | m_PrefabInstance: {fileID: 0} 2134 | m_PrefabAsset: {fileID: 0} 2135 | m_GameObject: {fileID: 1827608384} 2136 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 2137 | m_LocalPosition: {x: 0, y: 0, z: 0} 2138 | m_LocalScale: {x: 1, y: 1, z: 1} 2139 | m_Children: [] 2140 | m_Father: {fileID: 1671584053} 2141 | m_RootOrder: 0 2142 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 2143 | m_AnchorMin: {x: 0, y: 0} 2144 | m_AnchorMax: {x: 1, y: 1} 2145 | m_AnchoredPosition: {x: 0, y: 0} 2146 | m_SizeDelta: {x: 0, y: 0} 2147 | m_Pivot: {x: 0.5, y: 0.5} 2148 | --- !u!114 &1827608386 2149 | MonoBehaviour: 2150 | m_ObjectHideFlags: 0 2151 | m_CorrespondingSourceObject: {fileID: 0} 2152 | m_PrefabInstance: {fileID: 0} 2153 | m_PrefabAsset: {fileID: 0} 2154 | m_GameObject: {fileID: 1827608384} 2155 | m_Enabled: 1 2156 | m_EditorHideFlags: 0 2157 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 2158 | m_Name: 2159 | m_EditorClassIdentifier: 2160 | m_Material: {fileID: 0} 2161 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 2162 | m_RaycastTarget: 1 2163 | m_OnCullStateChanged: 2164 | m_PersistentCalls: 2165 | m_Calls: [] 2166 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 2167 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2168 | m_FontData: 2169 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 2170 | m_FontSize: 14 2171 | m_FontStyle: 0 2172 | m_BestFit: 0 2173 | m_MinSize: 10 2174 | m_MaxSize: 40 2175 | m_Alignment: 4 2176 | m_AlignByGeometry: 0 2177 | m_RichText: 1 2178 | m_HorizontalOverflow: 0 2179 | m_VerticalOverflow: 0 2180 | m_LineSpacing: 1 2181 | m_Text: 'up, down, 2182 | 2183 | left, right.' 2184 | --- !u!222 &1827608387 2185 | CanvasRenderer: 2186 | m_ObjectHideFlags: 0 2187 | m_CorrespondingSourceObject: {fileID: 0} 2188 | m_PrefabInstance: {fileID: 0} 2189 | m_PrefabAsset: {fileID: 0} 2190 | m_GameObject: {fileID: 1827608384} 2191 | m_CullTransparentMesh: 0 2192 | --- !u!1 &1900457187 2193 | GameObject: 2194 | m_ObjectHideFlags: 0 2195 | m_CorrespondingSourceObject: {fileID: 0} 2196 | m_PrefabInstance: {fileID: 0} 2197 | m_PrefabAsset: {fileID: 0} 2198 | serializedVersion: 6 2199 | m_Component: 2200 | - component: {fileID: 1900457188} 2201 | - component: {fileID: 1900457189} 2202 | m_Layer: 5 2203 | m_Name: Toggle 2204 | m_TagString: Untagged 2205 | m_Icon: {fileID: 0} 2206 | m_NavMeshLayer: 0 2207 | m_StaticEditorFlags: 0 2208 | m_IsActive: 1 2209 | --- !u!224 &1900457188 2210 | RectTransform: 2211 | m_ObjectHideFlags: 0 2212 | m_CorrespondingSourceObject: {fileID: 0} 2213 | m_PrefabInstance: {fileID: 0} 2214 | m_PrefabAsset: {fileID: 0} 2215 | m_GameObject: {fileID: 1900457187} 2216 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 2217 | m_LocalPosition: {x: 0, y: 0, z: 0} 2218 | m_LocalScale: {x: 1, y: 1, z: 1} 2219 | m_Children: 2220 | - {fileID: 1414807864} 2221 | - {fileID: 794081961} 2222 | m_Father: {fileID: 546836285} 2223 | m_RootOrder: 0 2224 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 2225 | m_AnchorMin: {x: 0, y: 0} 2226 | m_AnchorMax: {x: 0, y: 0} 2227 | m_AnchoredPosition: {x: 0, y: 0} 2228 | m_SizeDelta: {x: 0, y: 0} 2229 | m_Pivot: {x: 0.5, y: 0.5} 2230 | --- !u!114 &1900457189 2231 | MonoBehaviour: 2232 | m_ObjectHideFlags: 0 2233 | m_CorrespondingSourceObject: {fileID: 0} 2234 | m_PrefabInstance: {fileID: 0} 2235 | m_PrefabAsset: {fileID: 0} 2236 | m_GameObject: {fileID: 1900457187} 2237 | m_Enabled: 1 2238 | m_EditorHideFlags: 0 2239 | m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3} 2240 | m_Name: 2241 | m_EditorClassIdentifier: 2242 | m_Navigation: 2243 | m_Mode: 3 2244 | m_SelectOnUp: {fileID: 0} 2245 | m_SelectOnDown: {fileID: 0} 2246 | m_SelectOnLeft: {fileID: 0} 2247 | m_SelectOnRight: {fileID: 0} 2248 | m_Transition: 1 2249 | m_Colors: 2250 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 2251 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 2252 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 2253 | m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 2254 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 2255 | m_ColorMultiplier: 1 2256 | m_FadeDuration: 0.1 2257 | m_SpriteState: 2258 | m_HighlightedSprite: {fileID: 0} 2259 | m_PressedSprite: {fileID: 0} 2260 | m_SelectedSprite: {fileID: 0} 2261 | m_DisabledSprite: {fileID: 0} 2262 | m_AnimationTriggers: 2263 | m_NormalTrigger: Normal 2264 | m_HighlightedTrigger: Highlighted 2265 | m_PressedTrigger: Pressed 2266 | m_SelectedTrigger: Selected 2267 | m_DisabledTrigger: Disabled 2268 | m_Interactable: 1 2269 | m_TargetGraphic: {fileID: 1414807865} 2270 | toggleTransition: 1 2271 | graphic: {fileID: 1252153074} 2272 | m_Group: {fileID: 0} 2273 | onValueChanged: 2274 | m_PersistentCalls: 2275 | m_Calls: 2276 | - m_Target: {fileID: 3675897} 2277 | m_MethodName: set_ContinuousDetection 2278 | m_Mode: 0 2279 | m_Arguments: 2280 | m_ObjectArgument: {fileID: 0} 2281 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 2282 | m_IntArgument: 0 2283 | m_FloatArgument: 0 2284 | m_StringArgument: 2285 | m_BoolArgument: 0 2286 | m_CallState: 2 2287 | - m_Target: {fileID: 638172297} 2288 | m_MethodName: set_ContinuousDetection 2289 | m_Mode: 0 2290 | m_Arguments: 2291 | m_ObjectArgument: {fileID: 0} 2292 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 2293 | m_IntArgument: 0 2294 | m_FloatArgument: 0 2295 | m_StringArgument: 2296 | m_BoolArgument: 0 2297 | m_CallState: 2 2298 | - m_Target: {fileID: 1903585151} 2299 | m_MethodName: set_ContinuousDetection 2300 | m_Mode: 0 2301 | m_Arguments: 2302 | m_ObjectArgument: {fileID: 0} 2303 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 2304 | m_IntArgument: 0 2305 | m_FloatArgument: 0 2306 | m_StringArgument: 2307 | m_BoolArgument: 0 2308 | m_CallState: 2 2309 | - m_Target: {fileID: 816926781} 2310 | m_MethodName: set_ContinuousDetection 2311 | m_Mode: 0 2312 | m_Arguments: 2313 | m_ObjectArgument: {fileID: 0} 2314 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 2315 | m_IntArgument: 0 2316 | m_FloatArgument: 0 2317 | m_StringArgument: 2318 | m_BoolArgument: 0 2319 | m_CallState: 2 2320 | m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0, 2321 | Culture=neutral, PublicKeyToken=null 2322 | m_IsOn: 1 2323 | --- !u!1 &1903585150 stripped 2324 | GameObject: 2325 | m_CorrespondingSourceObject: {fileID: 9031400345246594921, guid: c18f0fa6c376c554694606da022707c6, 2326 | type: 3} 2327 | m_PrefabInstance: {fileID: 9031400343383379991} 2328 | m_PrefabAsset: {fileID: 0} 2329 | --- !u!114 &1903585151 stripped 2330 | MonoBehaviour: 2331 | m_CorrespondingSourceObject: {fileID: 9031400345246594920, guid: c18f0fa6c376c554694606da022707c6, 2332 | type: 3} 2333 | m_PrefabInstance: {fileID: 9031400343383379991} 2334 | m_PrefabAsset: {fileID: 0} 2335 | m_GameObject: {fileID: 1903585150} 2336 | m_Enabled: 1 2337 | m_EditorHideFlags: 0 2338 | m_Script: {fileID: 11500000, guid: 5c52040e0d356884a866f616474f7057, type: 3} 2339 | m_Name: 2340 | m_EditorClassIdentifier: 2341 | --- !u!4 &1903585156 stripped 2342 | Transform: 2343 | m_CorrespondingSourceObject: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2344 | type: 3} 2345 | m_PrefabInstance: {fileID: 9031400343383379991} 2346 | m_PrefabAsset: {fileID: 0} 2347 | --- !u!1001 &801222335477514424 2348 | PrefabInstance: 2349 | m_ObjectHideFlags: 0 2350 | serializedVersion: 2 2351 | m_Modification: 2352 | m_TransformParent: {fileID: 213012361} 2353 | m_Modifications: 2354 | - target: {fileID: 801222335473849931, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2355 | type: 3} 2356 | propertyPath: m_Name 2357 | value: EightSidesSetup 2358 | objectReference: {fileID: 0} 2359 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2360 | type: 3} 2361 | propertyPath: m_LocalPosition.x 2362 | value: 0 2363 | objectReference: {fileID: 0} 2364 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2365 | type: 3} 2366 | propertyPath: m_LocalPosition.y 2367 | value: 0 2368 | objectReference: {fileID: 0} 2369 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2370 | type: 3} 2371 | propertyPath: m_LocalPosition.z 2372 | value: 0 2373 | objectReference: {fileID: 0} 2374 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2375 | type: 3} 2376 | propertyPath: m_LocalRotation.x 2377 | value: -0 2378 | objectReference: {fileID: 0} 2379 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2380 | type: 3} 2381 | propertyPath: m_LocalRotation.y 2382 | value: -0 2383 | objectReference: {fileID: 0} 2384 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2385 | type: 3} 2386 | propertyPath: m_LocalRotation.z 2387 | value: -0 2388 | objectReference: {fileID: 0} 2389 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2390 | type: 3} 2391 | propertyPath: m_LocalRotation.w 2392 | value: 1 2393 | objectReference: {fileID: 0} 2394 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2395 | type: 3} 2396 | propertyPath: m_RootOrder 2397 | value: 0 2398 | objectReference: {fileID: 0} 2399 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2400 | type: 3} 2401 | propertyPath: m_LocalEulerAnglesHint.x 2402 | value: 0 2403 | objectReference: {fileID: 0} 2404 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2405 | type: 3} 2406 | propertyPath: m_LocalEulerAnglesHint.y 2407 | value: 0 2408 | objectReference: {fileID: 0} 2409 | - target: {fileID: 801222335473849920, guid: 1357aaa688331ae4ca28e1c6d11afe72, 2410 | type: 3} 2411 | propertyPath: m_LocalEulerAnglesHint.z 2412 | value: 0 2413 | objectReference: {fileID: 0} 2414 | m_RemovedComponents: [] 2415 | m_SourcePrefab: {fileID: 100100000, guid: 1357aaa688331ae4ca28e1c6d11afe72, type: 3} 2416 | --- !u!1001 &3815087997732612998 2417 | PrefabInstance: 2418 | m_ObjectHideFlags: 0 2419 | serializedVersion: 2 2420 | m_Modification: 2421 | m_TransformParent: {fileID: 213012361} 2422 | m_Modifications: 2423 | - target: {fileID: 3815087997989436346, guid: 216fb57e09016b6468b65c7655641fe4, 2424 | type: 3} 2425 | propertyPath: m_Name 2426 | value: HexagonalHorizontalSetup 2427 | objectReference: {fileID: 0} 2428 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2429 | type: 3} 2430 | propertyPath: m_LocalPosition.x 2431 | value: 0 2432 | objectReference: {fileID: 0} 2433 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2434 | type: 3} 2435 | propertyPath: m_LocalPosition.y 2436 | value: 0 2437 | objectReference: {fileID: 0} 2438 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2439 | type: 3} 2440 | propertyPath: m_LocalPosition.z 2441 | value: 0 2442 | objectReference: {fileID: 0} 2443 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2444 | type: 3} 2445 | propertyPath: m_LocalRotation.x 2446 | value: -0 2447 | objectReference: {fileID: 0} 2448 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2449 | type: 3} 2450 | propertyPath: m_LocalRotation.y 2451 | value: -0 2452 | objectReference: {fileID: 0} 2453 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2454 | type: 3} 2455 | propertyPath: m_LocalRotation.z 2456 | value: -0 2457 | objectReference: {fileID: 0} 2458 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2459 | type: 3} 2460 | propertyPath: m_LocalRotation.w 2461 | value: 1 2462 | objectReference: {fileID: 0} 2463 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2464 | type: 3} 2465 | propertyPath: m_RootOrder 2466 | value: 3 2467 | objectReference: {fileID: 0} 2468 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2469 | type: 3} 2470 | propertyPath: m_LocalEulerAnglesHint.x 2471 | value: 0 2472 | objectReference: {fileID: 0} 2473 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2474 | type: 3} 2475 | propertyPath: m_LocalEulerAnglesHint.y 2476 | value: 0 2477 | objectReference: {fileID: 0} 2478 | - target: {fileID: 3815087997989436356, guid: 216fb57e09016b6468b65c7655641fe4, 2479 | type: 3} 2480 | propertyPath: m_LocalEulerAnglesHint.z 2481 | value: 0 2482 | objectReference: {fileID: 0} 2483 | m_RemovedComponents: [] 2484 | m_SourcePrefab: {fileID: 100100000, guid: 216fb57e09016b6468b65c7655641fe4, type: 3} 2485 | --- !u!1001 &7410813488932918298 2486 | PrefabInstance: 2487 | m_ObjectHideFlags: 0 2488 | serializedVersion: 2 2489 | m_Modification: 2490 | m_TransformParent: {fileID: 213012361} 2491 | m_Modifications: 2492 | - target: {fileID: 7410813488497207442, guid: b5c302f2b5eaca849ba48e9024e8603e, 2493 | type: 3} 2494 | propertyPath: m_Name 2495 | value: FourSidesSetup 2496 | objectReference: {fileID: 0} 2497 | - target: {fileID: 7410813488497207442, guid: b5c302f2b5eaca849ba48e9024e8603e, 2498 | type: 3} 2499 | propertyPath: m_IsActive 2500 | value: 1 2501 | objectReference: {fileID: 0} 2502 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2503 | type: 3} 2504 | propertyPath: m_LocalPosition.x 2505 | value: 0 2506 | objectReference: {fileID: 0} 2507 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2508 | type: 3} 2509 | propertyPath: m_LocalPosition.y 2510 | value: 0 2511 | objectReference: {fileID: 0} 2512 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2513 | type: 3} 2514 | propertyPath: m_LocalPosition.z 2515 | value: 0 2516 | objectReference: {fileID: 0} 2517 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2518 | type: 3} 2519 | propertyPath: m_LocalRotation.x 2520 | value: -0 2521 | objectReference: {fileID: 0} 2522 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2523 | type: 3} 2524 | propertyPath: m_LocalRotation.y 2525 | value: -0 2526 | objectReference: {fileID: 0} 2527 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2528 | type: 3} 2529 | propertyPath: m_LocalRotation.z 2530 | value: -0 2531 | objectReference: {fileID: 0} 2532 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2533 | type: 3} 2534 | propertyPath: m_LocalRotation.w 2535 | value: 1 2536 | objectReference: {fileID: 0} 2537 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2538 | type: 3} 2539 | propertyPath: m_RootOrder 2540 | value: 1 2541 | objectReference: {fileID: 0} 2542 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2543 | type: 3} 2544 | propertyPath: m_LocalEulerAnglesHint.x 2545 | value: 0 2546 | objectReference: {fileID: 0} 2547 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2548 | type: 3} 2549 | propertyPath: m_LocalEulerAnglesHint.y 2550 | value: 0 2551 | objectReference: {fileID: 0} 2552 | - target: {fileID: 7410813488497207444, guid: b5c302f2b5eaca849ba48e9024e8603e, 2553 | type: 3} 2554 | propertyPath: m_LocalEulerAnglesHint.z 2555 | value: 0 2556 | objectReference: {fileID: 0} 2557 | m_RemovedComponents: [] 2558 | m_SourcePrefab: {fileID: 100100000, guid: b5c302f2b5eaca849ba48e9024e8603e, type: 3} 2559 | --- !u!1001 &9031400343383379991 2560 | PrefabInstance: 2561 | m_ObjectHideFlags: 0 2562 | serializedVersion: 2 2563 | m_Modification: 2564 | m_TransformParent: {fileID: 213012361} 2565 | m_Modifications: 2566 | - target: {fileID: 9031400345246594921, guid: c18f0fa6c376c554694606da022707c6, 2567 | type: 3} 2568 | propertyPath: m_Name 2569 | value: LeftRightSetup 2570 | objectReference: {fileID: 0} 2571 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2572 | type: 3} 2573 | propertyPath: m_LocalPosition.x 2574 | value: 0 2575 | objectReference: {fileID: 0} 2576 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2577 | type: 3} 2578 | propertyPath: m_LocalPosition.y 2579 | value: 0 2580 | objectReference: {fileID: 0} 2581 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2582 | type: 3} 2583 | propertyPath: m_LocalPosition.z 2584 | value: 0 2585 | objectReference: {fileID: 0} 2586 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2587 | type: 3} 2588 | propertyPath: m_LocalRotation.x 2589 | value: -0 2590 | objectReference: {fileID: 0} 2591 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2592 | type: 3} 2593 | propertyPath: m_LocalRotation.y 2594 | value: -0 2595 | objectReference: {fileID: 0} 2596 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2597 | type: 3} 2598 | propertyPath: m_LocalRotation.z 2599 | value: -0 2600 | objectReference: {fileID: 0} 2601 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2602 | type: 3} 2603 | propertyPath: m_LocalRotation.w 2604 | value: 1 2605 | objectReference: {fileID: 0} 2606 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2607 | type: 3} 2608 | propertyPath: m_RootOrder 2609 | value: 2 2610 | objectReference: {fileID: 0} 2611 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2612 | type: 3} 2613 | propertyPath: m_LocalEulerAnglesHint.x 2614 | value: 0 2615 | objectReference: {fileID: 0} 2616 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2617 | type: 3} 2618 | propertyPath: m_LocalEulerAnglesHint.y 2619 | value: 0 2620 | objectReference: {fileID: 0} 2621 | - target: {fileID: 9031400345246594963, guid: c18f0fa6c376c554694606da022707c6, 2622 | type: 3} 2623 | propertyPath: m_LocalEulerAnglesHint.z 2624 | value: 0 2625 | objectReference: {fileID: 0} 2626 | m_RemovedComponents: [] 2627 | m_SourcePrefab: {fileID: 100100000, guid: c18f0fa6c376c554694606da022707c6, type: 3} 2628 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scenes/Examples.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f415fdcf3f9065d4d8714689912eec92 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65fef0971a891b44daec5f083bfa3a33 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/DirectionId.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GG.Infrastructure.Utils.Swipe 4 | { 5 | public class DirectionId 6 | { 7 | public const string ID_UP = "Up"; 8 | public const string ID_DOWN = "Down"; 9 | public const string ID_LEFT = "Left"; 10 | public const string ID_RIGHT = "Right"; 11 | public const string ID_UP_LEFT = "UpLeft"; 12 | public const string ID_UP_RIGHT = "UpRight"; 13 | public const string ID_DOWN_LEFT = "DownLeft"; 14 | public const string ID_DOWN_RIGHT = "DownRight"; 15 | 16 | public readonly string Id; 17 | public readonly Vector3 Direction; 18 | 19 | public DirectionId(string id, Vector3 direction) 20 | { 21 | Id = id; 22 | Direction = direction; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/DirectionId.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2cf0067773d75e46a1ab4bcfffaa9b1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/DirectionPresets.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace GG.Infrastructure.Utils.Swipe 5 | { 6 | public static class DirectionPresets 7 | { 8 | public static List GetPresetByMode(SwipeDetectionMode mode) 9 | { 10 | switch (mode) 11 | { 12 | case SwipeDetectionMode.LeftRight: 13 | return LeftRightPreset(); 14 | 15 | case SwipeDetectionMode.UpDown: 16 | return UpDownPreset(); 17 | 18 | case SwipeDetectionMode.FourSides: 19 | return FourSidesPreset(); 20 | 21 | case SwipeDetectionMode.EightSides: 22 | return EightSidesPreset(); 23 | 24 | case SwipeDetectionMode.HexagonalHorizontal: 25 | return HexagonalHorizontalPreset(); 26 | 27 | case SwipeDetectionMode.HexagonalVertical: 28 | return HexagonalVerticalPreset(); 29 | 30 | default: 31 | return FourSidesPreset(); 32 | } 33 | } 34 | 35 | public static List HexagonalVerticalPreset() 36 | { 37 | return new List { 38 | new DirectionId(DirectionId.ID_UP, Vector3.up), 39 | new DirectionId(DirectionId.ID_DOWN, Vector3.down), 40 | new DirectionId(DirectionId.ID_UP_LEFT, Vector3.left + Vector3.up * 0.5f), 41 | new DirectionId(DirectionId.ID_UP_RIGHT, Vector3.right + Vector3.up * 0.5f), 42 | new DirectionId(DirectionId.ID_DOWN_LEFT, Vector3.left + Vector3.down * 0.5f), 43 | new DirectionId(DirectionId.ID_DOWN_RIGHT, Vector3.right + Vector3.down * 0.5f)}; 44 | } 45 | 46 | public static List HexagonalHorizontalPreset() 47 | { 48 | return new List { 49 | new DirectionId(DirectionId.ID_LEFT, Vector3.left), 50 | new DirectionId(DirectionId.ID_RIGHT, Vector3.right), 51 | new DirectionId(DirectionId.ID_UP_LEFT, Vector3.up + Vector3.left * 0.5f), 52 | new DirectionId(DirectionId.ID_UP_RIGHT, Vector3.up + Vector3.right * 0.5f), 53 | new DirectionId(DirectionId.ID_DOWN_LEFT, Vector3.down + Vector3.left * 0.5f), 54 | new DirectionId(DirectionId.ID_DOWN_RIGHT, Vector3.down + Vector3.right * 0.5f)}; 55 | } 56 | 57 | public static List EightSidesPreset() 58 | { 59 | return new List { 60 | new DirectionId(DirectionId.ID_UP, Vector3.up), 61 | new DirectionId(DirectionId.ID_DOWN, Vector3.down), 62 | new DirectionId(DirectionId.ID_LEFT, Vector3.left), 63 | new DirectionId(DirectionId.ID_RIGHT, Vector3.right), 64 | new DirectionId(DirectionId.ID_UP_LEFT, Vector3.up + Vector3.left), 65 | new DirectionId(DirectionId.ID_UP_RIGHT, Vector3.up + Vector3.right), 66 | new DirectionId(DirectionId.ID_DOWN_LEFT, Vector3.down + Vector3.left), 67 | new DirectionId(DirectionId.ID_DOWN_RIGHT, Vector3.down + Vector3.right)}; 68 | } 69 | 70 | public static List FourSidesPreset() 71 | { 72 | return new List { 73 | new DirectionId(DirectionId.ID_UP, Vector3.up), 74 | new DirectionId(DirectionId.ID_DOWN, Vector3.down), 75 | new DirectionId(DirectionId.ID_LEFT, Vector3.left), 76 | new DirectionId(DirectionId.ID_RIGHT, Vector3.right)}; 77 | } 78 | 79 | public static List UpDownPreset() 80 | { 81 | return new List { 82 | new DirectionId(DirectionId.ID_UP, Vector3.up), 83 | new DirectionId(DirectionId.ID_DOWN, Vector3.down)}; 84 | } 85 | 86 | public static List LeftRightPreset() 87 | { 88 | return new List { 89 | new DirectionId(DirectionId.ID_LEFT, Vector3.left), 90 | new DirectionId(DirectionId.ID_RIGHT, Vector3.right)}; 91 | } 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/DirectionPresets.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e8a6b651ce25ab499066e2dde9f2f08 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Errors.cs: -------------------------------------------------------------------------------- 1 | namespace GG.Infrastructure.Utils.Swipe 2 | { 3 | public class Errors 4 | { 5 | public const string SWIPE_PARAMETERS_NULL = "swipeParameters can not be null!"; 6 | public const string SWIPE_PARAMETERS_EMPTY = "swipeParameters can not be empty!"; 7 | public const string CANT_FIND_SWIPE = "Can not find swipe!"; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Errors.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46209487058fc034fb8abb29da6d2095 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b44508314c5f3b444b1b59d0c970723a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Examples/MoveOnSwipe_EightDirections.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using GG.Infrastructure.Utils.Swipe; 5 | 6 | public class MoveOnSwipe_EightDirections : MonoBehaviour 7 | { 8 | [Header("Available movements:")] 9 | 10 | [SerializeField] private bool _up = true; 11 | [SerializeField] private bool _down = true; 12 | [SerializeField] private bool _left = true; 13 | [SerializeField] private bool _right = true; 14 | [SerializeField] private bool _upLeft = true; 15 | [SerializeField] private bool _upRight = true; 16 | [SerializeField] private bool _downLeft = true; 17 | [SerializeField] private bool _downRight = true; 18 | 19 | 20 | 21 | public void OnSwipeHandler(string id) 22 | { 23 | switch(id) 24 | { 25 | case DirectionId.ID_UP: 26 | MoveUp(); 27 | break; 28 | 29 | case DirectionId.ID_DOWN: 30 | MoveDown(); 31 | break; 32 | 33 | case DirectionId.ID_LEFT: 34 | MoveLeft(); 35 | break; 36 | 37 | case DirectionId.ID_RIGHT: 38 | MoveRight(); 39 | break; 40 | 41 | case DirectionId.ID_UP_LEFT: 42 | MoveUpLeft(); 43 | break; 44 | 45 | case DirectionId.ID_UP_RIGHT: 46 | MoveUpRight(); 47 | break; 48 | 49 | case DirectionId.ID_DOWN_LEFT: 50 | MoveDownLeft(); 51 | break; 52 | 53 | case DirectionId.ID_DOWN_RIGHT: 54 | MoveDownRight(); 55 | break; 56 | } 57 | } 58 | 59 | private void MoveDownRight() 60 | { 61 | if (_downRight) 62 | { 63 | transform.position += Vector3.down + Vector3.right; 64 | } 65 | } 66 | 67 | private void MoveDownLeft() 68 | { 69 | if (_downLeft) 70 | { 71 | transform.position += Vector3.down + Vector3.left; 72 | } 73 | } 74 | 75 | private void MoveUpRight() 76 | { 77 | if (_upRight) 78 | { 79 | transform.position += Vector3.up + Vector3.right; 80 | } 81 | } 82 | 83 | private void MoveUpLeft() 84 | { 85 | if (_upLeft) 86 | { 87 | transform.position += Vector3.up + Vector3.left; 88 | } 89 | } 90 | 91 | private void MoveRight() 92 | { 93 | if (_right) 94 | { 95 | transform.position += Vector3.right; 96 | } 97 | } 98 | 99 | private void MoveLeft() 100 | { 101 | if (_left) 102 | { 103 | transform.position += Vector3.left; 104 | } 105 | } 106 | 107 | private void MoveDown() 108 | { 109 | if (_down) 110 | { 111 | transform.position += Vector3.down; 112 | } 113 | } 114 | 115 | private void MoveUp() 116 | { 117 | if (_up) 118 | { 119 | transform.position += Vector3.up; 120 | } 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Examples/MoveOnSwipe_EightDirections.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d9e04923be46ac43aab69fa0530c75b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Examples/MoveOnSwipe_Hexagonal.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using GG.Infrastructure.Utils.Swipe; 5 | 6 | public class MoveOnSwipe_Hexagonal : MonoBehaviour 7 | { 8 | [Header("Available movements:")] 9 | 10 | [SerializeField] private bool _up = true; 11 | [SerializeField] private bool _down = true; 12 | [SerializeField] private bool _left = true; 13 | [SerializeField] private bool _right = true; 14 | [SerializeField] private bool _upLeft = true; 15 | [SerializeField] private bool _upRight = true; 16 | [SerializeField] private bool _downLeft = true; 17 | [SerializeField] private bool _downRight = true; 18 | 19 | 20 | 21 | public void OnSwipeHandler(string id) 22 | { 23 | switch(id) 24 | { 25 | case DirectionId.ID_UP: 26 | MoveUp(); 27 | break; 28 | 29 | case DirectionId.ID_DOWN: 30 | MoveDown(); 31 | break; 32 | 33 | case DirectionId.ID_LEFT: 34 | MoveLeft(); 35 | break; 36 | 37 | case DirectionId.ID_RIGHT: 38 | MoveRight(); 39 | break; 40 | 41 | case DirectionId.ID_UP_LEFT: 42 | MoveUpLeft(); 43 | break; 44 | 45 | case DirectionId.ID_UP_RIGHT: 46 | MoveUpRight(); 47 | break; 48 | 49 | case DirectionId.ID_DOWN_LEFT: 50 | MoveDownLeft(); 51 | break; 52 | 53 | case DirectionId.ID_DOWN_RIGHT: 54 | MoveDownRight(); 55 | break; 56 | } 57 | } 58 | 59 | private void MoveDownRight() 60 | { 61 | if (_downRight) 62 | { 63 | transform.position += Vector3.down + Vector3.right * 0.5f; 64 | } 65 | } 66 | 67 | private void MoveDownLeft() 68 | { 69 | if (_downLeft) 70 | { 71 | transform.position += Vector3.down + Vector3.left * 0.5f; 72 | } 73 | } 74 | 75 | private void MoveUpRight() 76 | { 77 | if (_upRight) 78 | { 79 | transform.position += Vector3.up + Vector3.right * 0.5f; 80 | } 81 | } 82 | 83 | private void MoveUpLeft() 84 | { 85 | if (_upLeft) 86 | { 87 | transform.position += Vector3.up + Vector3.left * 0.5f; 88 | } 89 | } 90 | 91 | private void MoveRight() 92 | { 93 | if (_right) 94 | { 95 | transform.position += Vector3.right; 96 | } 97 | } 98 | 99 | private void MoveLeft() 100 | { 101 | if (_left) 102 | { 103 | transform.position += Vector3.left; 104 | } 105 | } 106 | 107 | private void MoveDown() 108 | { 109 | if (_down) 110 | { 111 | transform.position += Vector3.down; 112 | } 113 | } 114 | 115 | private void MoveUp() 116 | { 117 | if (_up) 118 | { 119 | transform.position += Vector3.up; 120 | } 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Examples/MoveOnSwipe_Hexagonal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e307407f2dc86747b6a4ca878f920d8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Examples/MoveOnSwipe_Vector.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | public class MoveOnSwipe_Vector : MonoBehaviour 7 | { 8 | 9 | public void Move(Vector3 movement) 10 | { 11 | transform.position += movement; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/Examples/MoveOnSwipe_Vector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf255b6d8527160429df5e56826f7d29 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/SwipeDetectionMode.cs: -------------------------------------------------------------------------------- 1 | namespace GG.Infrastructure.Utils.Swipe 2 | { 3 | public enum SwipeDetectionMode 4 | { 5 | LeftRight, 6 | UpDown, 7 | FourSides, 8 | EightSides, 9 | HexagonalHorizontal, 10 | HexagonalVertical, 11 | Custom 12 | } 13 | } -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/SwipeDetectionMode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20a5d93ac87534e47a3b8ac9ae947db5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/SwipeListener.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.Events; 5 | 6 | namespace GG.Infrastructure.Utils.Swipe 7 | { 8 | [Serializable] 9 | public class SwipeListenerEvent : UnityEvent { } 10 | 11 | public class SwipeListener : MonoBehaviour 12 | { 13 | public UnityEvent OnSwipeCancelled; 14 | 15 | public SwipeListenerEvent OnSwipe; 16 | 17 | [SerializeField] 18 | private float _sensetivity = 10; 19 | 20 | [SerializeField] 21 | private bool _continuousDetection; 22 | 23 | [SerializeField] 24 | private SwipeDetectionMode _swipeDetectionMode = SwipeDetectionMode.EightSides; 25 | 26 | private bool _waitForSwipe = true; 27 | 28 | private float _minMoveDistance = 0.1f; 29 | 30 | private Vector3 _swipeStartPoint; 31 | 32 | private Vector3 _offset; 33 | 34 | private VectorToDirection _directions; 35 | 36 | public bool ContinuousDetection { get => _continuousDetection; set => _continuousDetection = value; } 37 | 38 | public float Sensetivity 39 | { 40 | get 41 | { 42 | return _sensetivity; 43 | } 44 | set 45 | { 46 | _sensetivity = value; 47 | UpdateSensetivity(); 48 | } 49 | } 50 | 51 | public SwipeDetectionMode SwipeDetectionMode { get => _swipeDetectionMode; set => _swipeDetectionMode = value; } 52 | 53 | public void SetDetectionMode(List directions) 54 | { 55 | _directions = new VectorToDirection(directions); 56 | } 57 | 58 | private void Start() 59 | { 60 | UpdateSensetivity(); 61 | 62 | if (SwipeDetectionMode != SwipeDetectionMode.Custom) 63 | { 64 | SetDetectionMode(DirectionPresets.GetPresetByMode(SwipeDetectionMode)); 65 | } 66 | } 67 | 68 | private void UpdateSensetivity() 69 | { 70 | int screenShortSide = Screen.width < Screen.height ? Screen.width : Screen.height; 71 | _minMoveDistance = screenShortSide / _sensetivity; 72 | } 73 | 74 | private void Update() 75 | { 76 | if (Input.GetMouseButtonDown(0)) 77 | { 78 | InitSwipe(); 79 | } 80 | 81 | if (_waitForSwipe && Input.GetMouseButton(0)) 82 | { 83 | CheckSwipe(); 84 | } 85 | 86 | if (_continuousDetection == false) 87 | { 88 | CheckSwipeCancellation(); 89 | } 90 | } 91 | 92 | private void CheckSwipeCancellation() 93 | { 94 | if (Input.GetMouseButtonUp(0)) 95 | { 96 | 97 | if (_waitForSwipe) 98 | { 99 | OnSwipeCancelled?.Invoke(); 100 | } 101 | } 102 | } 103 | 104 | private void InitSwipe() 105 | { 106 | SampleSwipeStart(); 107 | _waitForSwipe = true; 108 | } 109 | 110 | private void CheckSwipe() 111 | { 112 | _offset = Input.mousePosition - _swipeStartPoint; 113 | if (_offset.magnitude >= _minMoveDistance) 114 | { 115 | OnSwipe?.Invoke(_directions.GetSwipeId(_offset)); 116 | if (!_continuousDetection) 117 | { 118 | _waitForSwipe = false; 119 | } 120 | SampleSwipeStart(); 121 | } 122 | } 123 | 124 | private void SampleSwipeStart() 125 | { 126 | _swipeStartPoint = Input.mousePosition; 127 | _offset = Vector3.zero; 128 | } 129 | } 130 | } -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/SwipeListener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c52040e0d356884a866f616474f7057 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/SwipesToVectorEvents.cs: -------------------------------------------------------------------------------- 1 | using GG.Infrastructure.Utils.Swipe; 2 | using System; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using UnityEngine.Events; 6 | 7 | namespace GG.Infrastructure.Utils.Swipe 8 | { 9 | 10 | [Serializable] 11 | public class Vector3Event 12 | { 13 | public Vector3 Vector; 14 | public SwipeVectorEvent Event; 15 | } 16 | 17 | [Serializable] 18 | public class SwipeVectorEvent : UnityEvent { } 19 | 20 | public class SwipesToVectorEvents : MonoBehaviour 21 | { 22 | private const string ID_PREFIX = "customID_{0}"; 23 | 24 | [SerializeField] 25 | private List _swipes; 26 | 27 | [SerializeField] 28 | private SwipeListener _swipeListener; 29 | 30 | private Dictionary _swipesDictionary; 31 | 32 | private void Start() 33 | { 34 | List directions = new List(); 35 | 36 | _swipesDictionary = new Dictionary(); 37 | 38 | foreach (var swipe in _swipes) 39 | { 40 | string id = string.Format(ID_PREFIX, swipe.Vector.ToString()); 41 | directions.Add(new DirectionId(id, swipe.Vector)); 42 | _swipesDictionary.Add(id, swipe); 43 | } 44 | _swipeListener.SwipeDetectionMode = SwipeDetectionMode.Custom; 45 | _swipeListener.SetDetectionMode(directions); 46 | } 47 | 48 | private void OnEnable() 49 | { 50 | _swipeListener.OnSwipe.AddListener(OnSwipeHandler); 51 | } 52 | 53 | private void OnDisable() 54 | { 55 | _swipeListener.OnSwipe.RemoveListener(OnSwipeHandler); 56 | } 57 | 58 | private void OnSwipeHandler(string id) 59 | { 60 | if (_swipesDictionary.ContainsKey(id)) 61 | { 62 | _swipesDictionary[id].Event?.Invoke(_swipesDictionary[id].Vector); 63 | } 64 | else 65 | { 66 | Debug.LogWarning("Unrecognized swipe id!"); 67 | } 68 | } 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/SwipesToVectorEvents.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8d9b6e0d9d37bf4a8b4d735e7b216e2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/VectorToDirection.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | using UnityEngine.Assertions; 4 | 5 | namespace GG.Infrastructure.Utils.Swipe 6 | { 7 | public class VectorToDirection 8 | { 9 | private List _directions; 10 | 11 | public VectorToDirection(List swipeParameters) 12 | { 13 | Assert.IsNotNull(swipeParameters, Errors.SWIPE_PARAMETERS_NULL); 14 | Assert.IsTrue(swipeParameters.Count > 0, Errors.SWIPE_PARAMETERS_EMPTY); 15 | 16 | _directions = new List(swipeParameters); 17 | } 18 | 19 | public string GetSwipeId(Vector3 direction) 20 | { 21 | float minAngle = float.MaxValue; 22 | int index = -1; 23 | 24 | for (int i = 0; i < _directions.Count; ++i) 25 | { 26 | float angle = Vector3.Angle(direction, _directions[i].Direction); 27 | if (angle < minAngle) 28 | { 29 | minAngle = angle; 30 | index = i; 31 | } 32 | } 33 | 34 | Assert.IsTrue(index != -1, Errors.CANT_FIND_SWIPE); 35 | 36 | return _directions[index].Id; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Assets/SwipeController/Scripts/VectorToDirection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f671b51d549bbc4aab875ef6243762c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/SwipeController/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4070d927b3aa06247b396e8810f616f4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SwipeController/Textures/HexGrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/Assets/SwipeController/Textures/HexGrid.png -------------------------------------------------------------------------------- /Assets/SwipeController/Textures/HexGrid.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9254669329a0e742ba7793cb610defb 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/SwipeController/Textures/SquareGrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/Assets/SwipeController/Textures/SquareGrid.png -------------------------------------------------------------------------------- /Assets/SwipeController/Textures/SquareGrid.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79e147825711f0a4dac3acae3a87f770 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Mykhailo Khadzhynov 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 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.2.16", 4 | "com.unity.ext.nunit": "1.0.0", 5 | "com.unity.ide.rider": "1.1.0", 6 | "com.unity.ide.vscode": "1.1.0", 7 | "com.unity.package-manager-ui": "2.2.0", 8 | "com.unity.test-framework": "1.0.13", 9 | "com.unity.textmeshpro": "2.0.1", 10 | "com.unity.timeline": "1.1.0", 11 | "com.unity.ugui": "1.0.0", 12 | "com.unity.modules.ai": "1.0.0", 13 | "com.unity.modules.androidjni": "1.0.0", 14 | "com.unity.modules.animation": "1.0.0", 15 | "com.unity.modules.assetbundle": "1.0.0", 16 | "com.unity.modules.audio": "1.0.0", 17 | "com.unity.modules.cloth": "1.0.0", 18 | "com.unity.modules.director": "1.0.0", 19 | "com.unity.modules.imageconversion": "1.0.0", 20 | "com.unity.modules.imgui": "1.0.0", 21 | "com.unity.modules.jsonserialize": "1.0.0", 22 | "com.unity.modules.particlesystem": "1.0.0", 23 | "com.unity.modules.physics": "1.0.0", 24 | "com.unity.modules.physics2d": "1.0.0", 25 | "com.unity.modules.screencapture": "1.0.0", 26 | "com.unity.modules.terrain": "1.0.0", 27 | "com.unity.modules.terrainphysics": "1.0.0", 28 | "com.unity.modules.tilemap": "1.0.0", 29 | "com.unity.modules.ui": "1.0.0", 30 | "com.unity.modules.uielements": "1.0.0", 31 | "com.unity.modules.umbra": "1.0.0", 32 | "com.unity.modules.unityanalytics": "1.0.0", 33 | "com.unity.modules.unitywebrequest": "1.0.0", 34 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 35 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 36 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 37 | "com.unity.modules.unitywebrequestwww": "1.0.0", 38 | "com.unity.modules.vehicles": "1.0.0", 39 | "com.unity.modules.video": "1.0.0", 40 | "com.unity.modules.vr": "1.0.0", 41 | "com.unity.modules.wind": "1.0.0", 42 | "com.unity.modules.xr": "1.0.0" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /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: 11 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: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0} 40 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} 41 | m_PreloadedShaders: [] 42 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 43 | type: 0} 44 | m_CustomRenderPipeline: {fileID: 0} 45 | m_TransparencySortMode: 0 46 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 47 | m_DefaultRenderingPath: 1 48 | m_DefaultMobileRenderingPath: 1 49 | m_TierSettings: [] 50 | m_LightmapStripping: 0 51 | m_FogStripping: 0 52 | m_InstancingStripping: 0 53 | m_LightmapKeepPlain: 1 54 | m_LightmapKeepDirCombined: 1 55 | m_LightmapKeepDynamicPlain: 1 56 | m_LightmapKeepDynamicDirCombined: 1 57 | m_LightmapKeepShadowMask: 1 58 | m_LightmapKeepSubtractive: 1 59 | m_FogKeepLinear: 1 60 | m_FogKeepExp: 1 61 | m_FogKeepExp2: 1 62 | m_AlbedoSwatchInfos: [] 63 | m_LightsUseLinearIntensity: 0 64 | m_LightsUseColorTemperature: 0 65 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /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: 4 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_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/PresetManager.asset -------------------------------------------------------------------------------- /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: 18 7 | productGUID: fb7a376e133efe5478446be56cf4c222 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: SwipeController 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 | displayResolutionDialog: 0 56 | iosUseCustomAppBackgroundBehavior: 0 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 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 1 68 | androidUseSwappy: 0 69 | androidBlitType: 0 70 | defaultIsNativeResolution: 1 71 | macRetinaSupport: 1 72 | runInBackground: 1 73 | captureSingleScreen: 0 74 | muteOtherAudioSources: 0 75 | Prepare IOS For Recording: 0 76 | Force IOS Speakers When Recording: 0 77 | deferSystemGesturesMode: 0 78 | hideHomeButton: 0 79 | submitAnalytics: 1 80 | usePlayerLog: 1 81 | bakeCollisionMeshes: 0 82 | forceSingleInstance: 0 83 | useFlipModelSwapchain: 1 84 | resizableWindow: 0 85 | useMacAppStoreValidation: 0 86 | macAppStoreCategory: public.app-category.games 87 | gpuSkinning: 1 88 | graphicsJobs: 0 89 | xboxPIXTextureCapture: 0 90 | xboxEnableAvatar: 0 91 | xboxEnableKinect: 0 92 | xboxEnableKinectAutoTracking: 0 93 | xboxEnableFitness: 0 94 | visibleInBackground: 1 95 | allowFullscreenSwitch: 1 96 | graphicsJobMode: 0 97 | fullscreenMode: 1 98 | xboxSpeechDB: 0 99 | xboxEnableHeadOrientation: 0 100 | xboxEnableGuest: 0 101 | xboxEnablePIXSampling: 0 102 | metalFramebufferOnly: 0 103 | xboxOneResolution: 0 104 | xboxOneSResolution: 0 105 | xboxOneXResolution: 3 106 | xboxOneMonoLoggingLevel: 0 107 | xboxOneLoggingLevel: 1 108 | xboxOneDisableEsram: 0 109 | xboxOnePresentImmediateThreshold: 0 110 | switchQueueCommandMemory: 0 111 | switchQueueControlMemory: 16384 112 | switchQueueComputeMemory: 262144 113 | switchNVNShaderPoolsGranularity: 33554432 114 | switchNVNDefaultPoolsGranularity: 16777216 115 | switchNVNOtherPoolsGranularity: 16777216 116 | vulkanEnableSetSRGBWrite: 0 117 | m_SupportedAspectRatios: 118 | 4:3: 1 119 | 5:4: 1 120 | 16:10: 1 121 | 16:9: 1 122 | Others: 1 123 | bundleVersion: 0.1 124 | preloadedAssets: [] 125 | metroInputSource: 0 126 | wsaTransparentSwapchain: 0 127 | m_HolographicPauseOnTrackingLoss: 1 128 | xboxOneDisableKinectGpuReservation: 1 129 | xboxOneEnable7thCore: 1 130 | vrSettings: 131 | cardboard: 132 | depthFormat: 0 133 | enableTransitionView: 0 134 | daydream: 135 | depthFormat: 0 136 | useSustainedPerformanceMode: 0 137 | enableVideoLayer: 0 138 | useProtectedVideoMemory: 0 139 | minimumSupportedHeadTracking: 0 140 | maximumSupportedHeadTracking: 1 141 | hololens: 142 | depthFormat: 1 143 | depthBufferSharingEnabled: 1 144 | lumin: 145 | depthFormat: 0 146 | frameTiming: 2 147 | enableGLCache: 0 148 | glCacheMaxBlobSize: 524288 149 | glCacheMaxFileSize: 8388608 150 | oculus: 151 | sharedDepthBuffer: 1 152 | dashSupport: 1 153 | lowOverheadMode: 0 154 | protectedContext: 0 155 | v2Signing: 0 156 | enable360StereoCapture: 0 157 | isWsaHolographicRemotingEnabled: 0 158 | protectGraphicsMemory: 0 159 | enableFrameTimingStats: 0 160 | useHDRDisplay: 0 161 | m_ColorGamuts: 00000000 162 | targetPixelDensity: 30 163 | resolutionScalingMode: 0 164 | androidSupportedAspectRatio: 1 165 | androidMaxAspectRatio: 2.1 166 | applicationIdentifier: {} 167 | buildNumber: {} 168 | AndroidBundleVersionCode: 1 169 | AndroidMinSdkVersion: 16 170 | AndroidTargetSdkVersion: 0 171 | AndroidPreferredInstallLocation: 1 172 | aotOptions: 173 | stripEngineCode: 1 174 | iPhoneStrippingLevel: 0 175 | iPhoneScriptCallOptimization: 0 176 | ForceInternetPermission: 0 177 | ForceSDCardPermission: 0 178 | CreateWallpaper: 0 179 | APKExpansionFiles: 0 180 | keepLoadedShadersAlive: 0 181 | StripUnusedMeshComponents: 1 182 | VertexChannelCompressionMask: 4054 183 | iPhoneSdkVersion: 988 184 | iOSTargetOSVersionString: 9.0 185 | tvOSSdkVersion: 0 186 | tvOSRequireExtendedGameController: 0 187 | tvOSTargetOSVersionString: 9.0 188 | uIPrerenderedIcon: 0 189 | uIRequiresPersistentWiFi: 0 190 | uIRequiresFullScreen: 1 191 | uIStatusBarHidden: 1 192 | uIExitOnSuspend: 0 193 | uIStatusBarStyle: 0 194 | iPhoneSplashScreen: {fileID: 0} 195 | iPhoneHighResSplashScreen: {fileID: 0} 196 | iPhoneTallHighResSplashScreen: {fileID: 0} 197 | iPhone47inSplashScreen: {fileID: 0} 198 | iPhone55inPortraitSplashScreen: {fileID: 0} 199 | iPhone55inLandscapeSplashScreen: {fileID: 0} 200 | iPhone58inPortraitSplashScreen: {fileID: 0} 201 | iPhone58inLandscapeSplashScreen: {fileID: 0} 202 | iPadPortraitSplashScreen: {fileID: 0} 203 | iPadHighResPortraitSplashScreen: {fileID: 0} 204 | iPadLandscapeSplashScreen: {fileID: 0} 205 | iPadHighResLandscapeSplashScreen: {fileID: 0} 206 | iPhone65inPortraitSplashScreen: {fileID: 0} 207 | iPhone65inLandscapeSplashScreen: {fileID: 0} 208 | iPhone61inPortraitSplashScreen: {fileID: 0} 209 | iPhone61inLandscapeSplashScreen: {fileID: 0} 210 | appleTVSplashScreen: {fileID: 0} 211 | appleTVSplashScreen2x: {fileID: 0} 212 | tvOSSmallIconLayers: [] 213 | tvOSSmallIconLayers2x: [] 214 | tvOSLargeIconLayers: [] 215 | tvOSLargeIconLayers2x: [] 216 | tvOSTopShelfImageLayers: [] 217 | tvOSTopShelfImageLayers2x: [] 218 | tvOSTopShelfImageWideLayers: [] 219 | tvOSTopShelfImageWideLayers2x: [] 220 | iOSLaunchScreenType: 0 221 | iOSLaunchScreenPortrait: {fileID: 0} 222 | iOSLaunchScreenLandscape: {fileID: 0} 223 | iOSLaunchScreenBackgroundColor: 224 | serializedVersion: 2 225 | rgba: 0 226 | iOSLaunchScreenFillPct: 100 227 | iOSLaunchScreenSize: 100 228 | iOSLaunchScreenCustomXibPath: 229 | iOSLaunchScreeniPadType: 0 230 | iOSLaunchScreeniPadImage: {fileID: 0} 231 | iOSLaunchScreeniPadBackgroundColor: 232 | serializedVersion: 2 233 | rgba: 0 234 | iOSLaunchScreeniPadFillPct: 100 235 | iOSLaunchScreeniPadSize: 100 236 | iOSLaunchScreeniPadCustomXibPath: 237 | iOSUseLaunchScreenStoryboard: 0 238 | iOSLaunchScreenCustomStoryboardPath: 239 | iOSDeviceRequirements: [] 240 | iOSURLSchemes: [] 241 | iOSBackgroundModes: 0 242 | iOSMetalForceHardShadows: 0 243 | metalEditorSupport: 1 244 | metalAPIValidation: 1 245 | iOSRenderExtraFrameOnPause: 0 246 | appleDeveloperTeamID: 247 | iOSManualSigningProvisioningProfileID: 248 | tvOSManualSigningProvisioningProfileID: 249 | iOSManualSigningProvisioningProfileType: 0 250 | tvOSManualSigningProvisioningProfileType: 0 251 | appleEnableAutomaticSigning: 0 252 | iOSRequireARKit: 0 253 | iOSAutomaticallyDetectAndAddCapabilities: 1 254 | appleEnableProMotion: 0 255 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 256 | templatePackageId: com.unity.template.3d@3.1.2 257 | templateDefaultScene: Assets/Scenes/SampleScene.unity 258 | AndroidTargetArchitectures: 1 259 | AndroidSplashScreenScale: 0 260 | androidSplashScreen: {fileID: 0} 261 | AndroidKeystoreName: '{inproject}: ' 262 | AndroidKeyaliasName: 263 | AndroidBuildApkPerCpuArchitecture: 0 264 | AndroidTVCompatibility: 0 265 | AndroidIsGame: 1 266 | AndroidEnableTango: 0 267 | androidEnableBanner: 1 268 | androidUseLowAccuracyLocation: 0 269 | androidUseCustomKeystore: 0 270 | m_AndroidBanners: 271 | - width: 320 272 | height: 180 273 | banner: {fileID: 0} 274 | androidGamepadSupportLevel: 0 275 | AndroidValidateAppBundleSize: 1 276 | AndroidAppBundleSizeToValidate: 150 277 | resolutionDialogBanner: {fileID: 0} 278 | m_BuildTargetIcons: [] 279 | m_BuildTargetPlatformIcons: [] 280 | m_BuildTargetBatching: 281 | - m_BuildTarget: Standalone 282 | m_StaticBatching: 1 283 | m_DynamicBatching: 0 284 | - m_BuildTarget: tvOS 285 | m_StaticBatching: 1 286 | m_DynamicBatching: 0 287 | - m_BuildTarget: Android 288 | m_StaticBatching: 1 289 | m_DynamicBatching: 0 290 | - m_BuildTarget: iPhone 291 | m_StaticBatching: 1 292 | m_DynamicBatching: 0 293 | - m_BuildTarget: WebGL 294 | m_StaticBatching: 0 295 | m_DynamicBatching: 0 296 | m_BuildTargetGraphicsAPIs: 297 | - m_BuildTarget: AndroidPlayer 298 | m_APIs: 150000000b000000 299 | m_Automatic: 0 300 | - m_BuildTarget: iOSSupport 301 | m_APIs: 10000000 302 | m_Automatic: 1 303 | - m_BuildTarget: AppleTVSupport 304 | m_APIs: 10000000 305 | m_Automatic: 0 306 | - m_BuildTarget: WebGLSupport 307 | m_APIs: 0b000000 308 | m_Automatic: 1 309 | m_BuildTargetVRSettings: 310 | - m_BuildTarget: Standalone 311 | m_Enabled: 0 312 | m_Devices: 313 | - Oculus 314 | - OpenVR 315 | openGLRequireES31: 0 316 | openGLRequireES31AEP: 0 317 | openGLRequireES32: 0 318 | vuforiaEnabled: 0 319 | m_TemplateCustomTags: {} 320 | mobileMTRendering: 321 | Android: 1 322 | iPhone: 1 323 | tvOS: 1 324 | m_BuildTargetGroupLightmapEncodingQuality: [] 325 | m_BuildTargetGroupLightmapSettings: [] 326 | playModeTestRunnerEnabled: 0 327 | runPlayModeTestAsEditModeTest: 0 328 | actionOnDotNetUnhandledException: 1 329 | enableInternalProfiler: 0 330 | logObjCUncaughtExceptions: 1 331 | enableCrashReportAPI: 0 332 | cameraUsageDescription: 333 | locationUsageDescription: 334 | microphoneUsageDescription: 335 | switchNetLibKey: 336 | switchSocketMemoryPoolSize: 6144 337 | switchSocketAllocatorPoolSize: 128 338 | switchSocketConcurrencyLimit: 14 339 | switchScreenResolutionBehavior: 2 340 | switchUseCPUProfiler: 0 341 | switchApplicationID: 0x01004b9000490000 342 | switchNSODependencies: 343 | switchTitleNames_0: 344 | switchTitleNames_1: 345 | switchTitleNames_2: 346 | switchTitleNames_3: 347 | switchTitleNames_4: 348 | switchTitleNames_5: 349 | switchTitleNames_6: 350 | switchTitleNames_7: 351 | switchTitleNames_8: 352 | switchTitleNames_9: 353 | switchTitleNames_10: 354 | switchTitleNames_11: 355 | switchTitleNames_12: 356 | switchTitleNames_13: 357 | switchTitleNames_14: 358 | switchPublisherNames_0: 359 | switchPublisherNames_1: 360 | switchPublisherNames_2: 361 | switchPublisherNames_3: 362 | switchPublisherNames_4: 363 | switchPublisherNames_5: 364 | switchPublisherNames_6: 365 | switchPublisherNames_7: 366 | switchPublisherNames_8: 367 | switchPublisherNames_9: 368 | switchPublisherNames_10: 369 | switchPublisherNames_11: 370 | switchPublisherNames_12: 371 | switchPublisherNames_13: 372 | switchPublisherNames_14: 373 | switchIcons_0: {fileID: 0} 374 | switchIcons_1: {fileID: 0} 375 | switchIcons_2: {fileID: 0} 376 | switchIcons_3: {fileID: 0} 377 | switchIcons_4: {fileID: 0} 378 | switchIcons_5: {fileID: 0} 379 | switchIcons_6: {fileID: 0} 380 | switchIcons_7: {fileID: 0} 381 | switchIcons_8: {fileID: 0} 382 | switchIcons_9: {fileID: 0} 383 | switchIcons_10: {fileID: 0} 384 | switchIcons_11: {fileID: 0} 385 | switchIcons_12: {fileID: 0} 386 | switchIcons_13: {fileID: 0} 387 | switchIcons_14: {fileID: 0} 388 | switchSmallIcons_0: {fileID: 0} 389 | switchSmallIcons_1: {fileID: 0} 390 | switchSmallIcons_2: {fileID: 0} 391 | switchSmallIcons_3: {fileID: 0} 392 | switchSmallIcons_4: {fileID: 0} 393 | switchSmallIcons_5: {fileID: 0} 394 | switchSmallIcons_6: {fileID: 0} 395 | switchSmallIcons_7: {fileID: 0} 396 | switchSmallIcons_8: {fileID: 0} 397 | switchSmallIcons_9: {fileID: 0} 398 | switchSmallIcons_10: {fileID: 0} 399 | switchSmallIcons_11: {fileID: 0} 400 | switchSmallIcons_12: {fileID: 0} 401 | switchSmallIcons_13: {fileID: 0} 402 | switchSmallIcons_14: {fileID: 0} 403 | switchManualHTML: 404 | switchAccessibleURLs: 405 | switchLegalInformation: 406 | switchMainThreadStackSize: 1048576 407 | switchPresenceGroupId: 408 | switchLogoHandling: 0 409 | switchReleaseVersion: 0 410 | switchDisplayVersion: 1.0.0 411 | switchStartupUserAccount: 0 412 | switchTouchScreenUsage: 0 413 | switchSupportedLanguagesMask: 0 414 | switchLogoType: 0 415 | switchApplicationErrorCodeCategory: 416 | switchUserAccountSaveDataSize: 0 417 | switchUserAccountSaveDataJournalSize: 0 418 | switchApplicationAttribute: 0 419 | switchCardSpecSize: -1 420 | switchCardSpecClock: -1 421 | switchRatingsMask: 0 422 | switchRatingsInt_0: 0 423 | switchRatingsInt_1: 0 424 | switchRatingsInt_2: 0 425 | switchRatingsInt_3: 0 426 | switchRatingsInt_4: 0 427 | switchRatingsInt_5: 0 428 | switchRatingsInt_6: 0 429 | switchRatingsInt_7: 0 430 | switchRatingsInt_8: 0 431 | switchRatingsInt_9: 0 432 | switchRatingsInt_10: 0 433 | switchRatingsInt_11: 0 434 | switchLocalCommunicationIds_0: 435 | switchLocalCommunicationIds_1: 436 | switchLocalCommunicationIds_2: 437 | switchLocalCommunicationIds_3: 438 | switchLocalCommunicationIds_4: 439 | switchLocalCommunicationIds_5: 440 | switchLocalCommunicationIds_6: 441 | switchLocalCommunicationIds_7: 442 | switchParentalControl: 0 443 | switchAllowsScreenshot: 1 444 | switchAllowsVideoCapturing: 1 445 | switchAllowsRuntimeAddOnContentInstall: 0 446 | switchDataLossConfirmation: 0 447 | switchUserAccountLockEnabled: 0 448 | switchSystemResourceMemory: 16777216 449 | switchSupportedNpadStyles: 22 450 | switchNativeFsCacheSize: 32 451 | switchIsHoldTypeHorizontal: 0 452 | switchSupportedNpadCount: 8 453 | switchSocketConfigEnabled: 0 454 | switchTcpInitialSendBufferSize: 32 455 | switchTcpInitialReceiveBufferSize: 64 456 | switchTcpAutoSendBufferSizeMax: 256 457 | switchTcpAutoReceiveBufferSizeMax: 256 458 | switchUdpSendBufferSize: 9 459 | switchUdpReceiveBufferSize: 42 460 | switchSocketBufferEfficiency: 4 461 | switchSocketInitializeEnabled: 1 462 | switchNetworkInterfaceManagerInitializeEnabled: 1 463 | switchPlayerConnectionEnabled: 1 464 | ps4NPAgeRating: 12 465 | ps4NPTitleSecret: 466 | ps4NPTrophyPackPath: 467 | ps4ParentalLevel: 11 468 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 469 | ps4Category: 0 470 | ps4MasterVersion: 01.00 471 | ps4AppVersion: 01.00 472 | ps4AppType: 0 473 | ps4ParamSfxPath: 474 | ps4VideoOutPixelFormat: 0 475 | ps4VideoOutInitialWidth: 1920 476 | ps4VideoOutBaseModeInitialWidth: 1920 477 | ps4VideoOutReprojectionRate: 60 478 | ps4PronunciationXMLPath: 479 | ps4PronunciationSIGPath: 480 | ps4BackgroundImagePath: 481 | ps4StartupImagePath: 482 | ps4StartupImagesFolder: 483 | ps4IconImagesFolder: 484 | ps4SaveDataImagePath: 485 | ps4SdkOverride: 486 | ps4BGMPath: 487 | ps4ShareFilePath: 488 | ps4ShareOverlayImagePath: 489 | ps4PrivacyGuardImagePath: 490 | ps4NPtitleDatPath: 491 | ps4RemotePlayKeyAssignment: -1 492 | ps4RemotePlayKeyMappingDir: 493 | ps4PlayTogetherPlayerCount: 0 494 | ps4EnterButtonAssignment: 1 495 | ps4ApplicationParam1: 0 496 | ps4ApplicationParam2: 0 497 | ps4ApplicationParam3: 0 498 | ps4ApplicationParam4: 0 499 | ps4DownloadDataSize: 0 500 | ps4GarlicHeapSize: 2048 501 | ps4ProGarlicHeapSize: 2560 502 | playerPrefsMaxSize: 32768 503 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 504 | ps4pnSessions: 1 505 | ps4pnPresence: 1 506 | ps4pnFriends: 1 507 | ps4pnGameCustomData: 1 508 | playerPrefsSupport: 0 509 | enableApplicationExit: 0 510 | resetTempFolder: 1 511 | restrictedAudioUsageRights: 0 512 | ps4UseResolutionFallback: 0 513 | ps4ReprojectionSupport: 0 514 | ps4UseAudio3dBackend: 0 515 | ps4SocialScreenEnabled: 0 516 | ps4ScriptOptimizationLevel: 0 517 | ps4Audio3dVirtualSpeakerCount: 14 518 | ps4attribCpuUsage: 0 519 | ps4PatchPkgPath: 520 | ps4PatchLatestPkgPath: 521 | ps4PatchChangeinfoPath: 522 | ps4PatchDayOne: 0 523 | ps4attribUserManagement: 0 524 | ps4attribMoveSupport: 0 525 | ps4attrib3DSupport: 0 526 | ps4attribShareSupport: 0 527 | ps4attribExclusiveVR: 0 528 | ps4disableAutoHideSplash: 0 529 | ps4videoRecordingFeaturesUsed: 0 530 | ps4contentSearchFeaturesUsed: 0 531 | ps4attribEyeToEyeDistanceSettingVR: 0 532 | ps4IncludedModules: [] 533 | monoEnv: 534 | splashScreenBackgroundSourceLandscape: {fileID: 0} 535 | splashScreenBackgroundSourcePortrait: {fileID: 0} 536 | blurSplashScreenBackground: 1 537 | spritePackerPolicy: 538 | webGLMemorySize: 16 539 | webGLExceptionSupport: 1 540 | webGLNameFilesAsHashes: 0 541 | webGLDataCaching: 1 542 | webGLDebugSymbols: 0 543 | webGLEmscriptenArgs: 544 | webGLModulesDirectory: 545 | webGLTemplate: APPLICATION:Default 546 | webGLAnalyzeBuildSize: 0 547 | webGLUseEmbeddedResources: 0 548 | webGLCompressionFormat: 1 549 | webGLLinkerTarget: 1 550 | webGLThreadsSupport: 0 551 | webGLWasmStreaming: 0 552 | scriptingDefineSymbols: {} 553 | platformArchitecture: {} 554 | scriptingBackend: {} 555 | il2cppCompilerConfiguration: {} 556 | managedStrippingLevel: {} 557 | incrementalIl2cppBuild: {} 558 | allowUnsafeCode: 0 559 | additionalIl2CppArgs: 560 | scriptingRuntimeVersion: 1 561 | gcIncremental: 0 562 | gcWBarrierValidation: 0 563 | apiCompatibilityLevelPerPlatform: {} 564 | m_RenderingPath: 1 565 | m_MobileRenderingPath: 1 566 | metroPackageName: Template_3D 567 | metroPackageVersion: 568 | metroCertificatePath: 569 | metroCertificatePassword: 570 | metroCertificateSubject: 571 | metroCertificateIssuer: 572 | metroCertificateNotAfter: 0000000000000000 573 | metroApplicationDescription: Template_3D 574 | wsaImages: {} 575 | metroTileShortName: 576 | metroTileShowName: 0 577 | metroMediumTileShowName: 0 578 | metroLargeTileShowName: 0 579 | metroWideTileShowName: 0 580 | metroSupportStreamingInstall: 0 581 | metroLastRequiredScene: 0 582 | metroDefaultTileSize: 1 583 | metroTileForegroundText: 2 584 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 585 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 586 | a: 1} 587 | metroSplashScreenUseBackgroundColor: 0 588 | platformCapabilities: {} 589 | metroTargetDeviceFamilies: {} 590 | metroFTAName: 591 | metroFTAFileTypes: [] 592 | metroProtocolName: 593 | XboxOneProductId: 594 | XboxOneUpdateKey: 595 | XboxOneSandboxId: 596 | XboxOneContentId: 597 | XboxOneTitleId: 598 | XboxOneSCId: 599 | XboxOneGameOsOverridePath: 600 | XboxOnePackagingOverridePath: 601 | XboxOneAppManifestOverridePath: 602 | XboxOneVersion: 1.0.0.0 603 | XboxOnePackageEncryption: 0 604 | XboxOnePackageUpdateGranularity: 2 605 | XboxOneDescription: 606 | XboxOneLanguage: 607 | - enus 608 | XboxOneCapability: [] 609 | XboxOneGameRating: {} 610 | XboxOneIsContentPackage: 0 611 | XboxOneEnableGPUVariability: 1 612 | XboxOneSockets: {} 613 | XboxOneSplashScreen: {fileID: 0} 614 | XboxOneAllowedProductIds: [] 615 | XboxOnePersistentLocalStorageSize: 0 616 | XboxOneXTitleMemory: 8 617 | xboxOneScriptCompiler: 1 618 | XboxOneOverrideIdentityName: 619 | vrEditorSettings: 620 | daydream: 621 | daydreamIconForeground: {fileID: 0} 622 | daydreamIconBackground: {fileID: 0} 623 | cloudServicesEnabled: 624 | UNet: 1 625 | luminIcon: 626 | m_Name: 627 | m_ModelFolderPath: 628 | m_PortalFolderPath: 629 | luminCert: 630 | m_CertPath: 631 | m_SignPackage: 1 632 | luminIsChannelApp: 0 633 | luminVersion: 634 | m_VersionCode: 1 635 | m_VersionName: 636 | facebookSdkVersion: 7.9.4 637 | facebookAppId: 638 | facebookCookies: 1 639 | facebookLogging: 1 640 | facebookStatus: 1 641 | facebookXfbml: 0 642 | facebookFrictionlessRequests: 1 643 | apiCompatibilityLevel: 6 644 | cloudProjectId: 645 | framebufferDepthMemorylessMode: 0 646 | projectName: 647 | organizationId: 648 | cloudEnabled: 0 649 | enableNativePlatformBackendsForNewInputSystem: 0 650 | disableOldInputManagerSupport: 0 651 | legacyClampBlendShapeWeights: 0 652 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.2.3f1 2 | m_EditorVersionWithRevision: 2019.2.3f1 (8e55c27a4621) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Standalone: 5 227 | WebGL: 3 228 | Windows Store Apps: 5 229 | XboxOne: 5 230 | iPhone: 2 231 | tvOS: 2 232 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /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 | serializedVersion: 1 7 | m_Enabled: 1 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 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 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khadzhynov/SwipeController/dbb02824e61719de53c9965573e79e858264b9d9/ProjectSettings/VFXManager.asset -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SwipeController 2 | Input overlay to detect swipe movements 3 | 4 | SwipeController initially utilizes old Unitys InputManager, but can be easely converted to use any input. 5 | 6 | ## Features ## 7 | 8 | - Contains a bunch of presets: two-directions (like left-right), four directions, eight directions, hexagonal swipes. 9 | - Can be easely configured (from code) to act with any number of directions. 10 | - No-Code-Usage: just attach SwipeListener script onto gameobject, then find UnityEvents OnSwipe(string) and OnSwipeCancelled in Inspector. 11 | - Same code for desktop (Mac, PC) and handheld (iOS, Android) versions. 12 | 13 | ## How it works ## 14 | 15 | In Update method, it looks onto Input events. When mouse button pressed (or touch started), it starts to wait, while pointer will be moved far enough to beat the treshold (based on sensetivity parameter). 16 | When it happened, OnSwipe event is invoked with a string parameter. In case when pre-defined preset (like FourDirections) is used, the parameter is one of pre-defined string constants of class DirectionId. 17 | If user releases button (or removed finger) without movement, or the movement is less than sensetivity treshold, OnSwipeCancelled event is fiered. 18 | 19 | For set up the custom set of directions, you should call 20 | SwipeListener.SetDetectionMode(param), 21 | Where is a List. 22 | Direction ID is a simple read-only container for Vector3 direction and string ID. 23 | So, as mentioned above, you can easely build your own coordinate system, based on Vector3/string pairs. 24 | Note, that there is no negative values, and no actual axes - only vector directions, which enables user to build, for example, 3-directions system with directions like UP, RIGHT and DOWN-LEFT. 25 | And even more, there is an ability to implement 3D swipes (for virtual reality) - its not supported because of default Input system utilized, but not a big deal to replace it with unitys XR input (implementation planned for future versions). 26 | 27 | ## Video tutorials ## 28 | 29 | #### Codeless setup #### 30 | https://youtu.be/sMYx8NY8FEs 31 | 32 | #### Scripting setup #### 33 | https://youtu.be/G6imm7pTA1c 34 | 35 | ## WebGL Demo ## 36 | 37 | http://bryarey.zzz.com.ua/SwipeController/index.html 38 | 39 | ## Contact ## 40 | Mail: 41 | bryarey@gmail.com 42 | 43 | Skype: 44 | m.khadzhynov 45 | 46 | Support me on Patreon: 47 | https://www.patreon.com/user?u=26313020&fan_landing=true 48 | 49 | Subscribe on Games Garden channel on YouTube: 50 | https://www.youtube.com/channel/UCH6WybnFgT199Kkd6vm7-Lg 51 | 52 | LinkedIn: 53 | https://www.linkedin.com/in/mykhaylo-khadzhynov-15635915/ 54 | 55 | Games Garden web site: 56 | https://www.gamesgarden.net/ 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-slate --------------------------------------------------------------------------------