├── .gitattributes ├── .gitignore ├── Documentation.meta ├── Documentation ├── Documentation.pdf └── Documentation.pdf.meta ├── Examples.meta ├── Examples ├── Example 1 (Clash of Clans).meta ├── Example 1 (Clash of Clans) │ ├── Scenes.meta │ ├── Scenes │ │ ├── Example 1 (Clash of Clans).unity │ │ └── Example 1 (Clash of Clans).unity.meta │ ├── Sprites.meta │ └── Sprites │ │ ├── Base.png │ │ ├── Base.png.meta │ │ ├── Return Home.png │ │ ├── Return Home.png.meta │ │ ├── chat.png │ │ ├── chat.png.meta │ │ ├── handle.png │ │ ├── handle.png.meta │ │ ├── player.png │ │ └── player.png.meta ├── Example 2 (Google Maps).meta └── Example 2 (Google Maps) │ ├── Scenes.meta │ ├── Scenes │ ├── Example 2 (Google Maps).unity │ └── Example 2 (Google Maps).unity.meta │ ├── Sprites.meta │ └── Sprites │ ├── Hamburger Menu.png │ ├── Hamburger Menu.png.meta │ ├── background.png │ ├── background.png.meta │ ├── settings.png │ └── settings.png.meta ├── LICENSE.md ├── LICENSE.md.meta ├── Materials.meta ├── Materials ├── Blur.mat └── Blur.mat.meta ├── Prefabs.meta ├── Prefabs ├── Side-Menu (Bottom).prefab ├── Side-Menu (Bottom).prefab.meta ├── Side-Menu (Left).prefab ├── Side-Menu (Left).prefab.meta ├── Side-Menu (Right).prefab ├── Side-Menu (Right).prefab.meta ├── Side-Menu (Top).prefab └── Side-Menu (Top).prefab.meta ├── README.md ├── README.md.meta ├── Scripts.meta ├── Scripts ├── Core.meta ├── Core │ ├── Editor.meta │ ├── Editor │ │ ├── SSMCopyrightEditor.cs │ │ ├── SSMCopyrightEditor.cs.meta │ │ ├── SimpleSideMenuEditor.asmdef │ │ ├── SimpleSideMenuEditor.asmdef.meta │ │ ├── SimpleSideMenuEditor.cs │ │ └── SimpleSideMenuEditor.cs.meta │ ├── Runtime.meta │ ├── Runtime │ │ ├── Behaviours.meta │ │ ├── Behaviours │ │ │ ├── SimpleSideMenu.cs │ │ │ └── SimpleSideMenu.cs.meta │ │ ├── Enums.meta │ │ └── Enums │ │ │ ├── Placement.cs │ │ │ ├── Placement.cs.meta │ │ │ ├── State.cs │ │ │ └── State.cs.meta │ ├── SimpleSideMenu.asmdef │ └── SimpleSideMenu.asmdef.meta ├── Plugins.meta └── Plugins │ ├── CopyrightEditor.meta │ ├── CopyrightEditor │ ├── Editor.meta │ └── Editor │ │ ├── CopyrightEditor.asmdef │ │ ├── CopyrightEditor.asmdef.meta │ │ ├── CopyrightEditor.cs │ │ └── CopyrightEditor.cs.meta │ ├── SimpleInspectorAttributes.meta │ ├── SimpleInspectorAttributes │ ├── Editor.meta │ ├── Editor │ │ ├── ButtonDrawer.cs │ │ ├── ButtonDrawer.cs.meta │ │ ├── DontDrawIfDrawer.cs │ │ ├── DontDrawIfDrawer.cs.meta │ │ ├── DrawIfDrawer.cs │ │ ├── DrawIfDrawer.cs.meta │ │ ├── DrawIfDrawerBase.cs │ │ ├── DrawIfDrawerBase.cs.meta │ │ ├── HasFlagDrawer.cs │ │ ├── HasFlagDrawer.cs.meta │ │ ├── IndentDrawer.cs │ │ ├── IndentDrawer.cs.meta │ │ ├── MinMaxDrawer.cs │ │ ├── MinMaxDrawer.cs.meta │ │ ├── ReadOnlyDrawer.cs │ │ ├── ReadOnlyDrawer.cs.meta │ │ ├── RenameDrawer.cs │ │ ├── RenameDrawer.cs.meta │ │ ├── SimpleInspectorAttributesEditor.asmdef │ │ └── SimpleInspectorAttributesEditor.asmdef.meta │ ├── Runtime.meta │ ├── Runtime │ │ ├── ButtonAttribute.cs │ │ ├── ButtonAttribute.cs.meta │ │ ├── DontDrawIfAttribute.cs │ │ ├── DontDrawIfAttribute.cs.meta │ │ ├── DrawIfAttribute.cs │ │ ├── DrawIfAttribute.cs.meta │ │ ├── DrawIfAttributeBase.cs │ │ ├── DrawIfAttributeBase.cs.meta │ │ ├── HasFlagAttribute.cs │ │ ├── HasFlagAttribute.cs.meta │ │ ├── IndentAttribute.cs │ │ ├── IndentAttribute.cs.meta │ │ ├── Margins.cs │ │ ├── Margins.cs.meta │ │ ├── MinMax.cs │ │ ├── MinMax.cs.meta │ │ ├── ReadOnlyAttribute.cs │ │ ├── ReadOnlyAttribute.cs.meta │ │ ├── RenameAttribute.cs │ │ └── RenameAttribute.cs.meta │ ├── SimpleInspectorAttributes.asmdef │ └── SimpleInspectorAttributes.asmdef.meta │ ├── Utilities.meta │ └── Utilities │ ├── Editor.meta │ ├── Editor │ ├── EditorLayoutUtility.cs │ ├── EditorLayoutUtility.cs.meta │ ├── EditorUtilities.asmdef │ └── EditorUtilities.asmdef.meta │ ├── StringUtility.cs │ ├── StringUtility.cs.meta │ ├── UnityEventUtility.cs │ ├── UnityEventUtility.cs.meta │ ├── UnityRemoteUtility.cs │ ├── UnityRemoteUtility.cs.meta │ ├── Utilities.asmdef │ └── Utilities.asmdef.meta ├── Shaders.meta └── Shaders ├── Blur.shader └── Blur.shader.meta /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Never ignore Asset meta data 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a18fc0aeb95f704fbb8da495461545d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Documentation/Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Documentation/Documentation.pdf -------------------------------------------------------------------------------- /Documentation/Documentation.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79c83e089c811954e87703b4d4dbfec3 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df17b03940c36da43a4dffc890273fa0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans).meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 689e9bb5ab2b5934c92bca6c6af885d6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afdf937996cf7db43aa8aa640fcc703f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Scenes/Example 1 (Clash of Clans).unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 0 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_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 4890085278179872738, guid: 801849bab1a78d24d9bfae815cb77ebf, 102 | type: 2} 103 | --- !u!196 &4 104 | NavMeshSettings: 105 | serializedVersion: 2 106 | m_ObjectHideFlags: 0 107 | m_BuildSettings: 108 | serializedVersion: 2 109 | agentTypeID: 0 110 | agentRadius: 0.5 111 | agentHeight: 2 112 | agentSlope: 45 113 | agentClimb: 0.4 114 | ledgeDropHeight: 0 115 | maxJumpAcrossDistance: 0 116 | minRegionArea: 2 117 | manualCellSize: 0 118 | cellSize: 0.16666667 119 | manualTileSize: 0 120 | tileSize: 256 121 | accuratePlacement: 0 122 | maxJobWorkers: 0 123 | preserveTilesOutsideBounds: 0 124 | debug: 125 | m_Flags: 0 126 | m_NavMeshData: {fileID: 0} 127 | --- !u!1 &52065494 128 | GameObject: 129 | m_ObjectHideFlags: 0 130 | m_CorrespondingSourceObject: {fileID: 0} 131 | m_PrefabInstance: {fileID: 0} 132 | m_PrefabAsset: {fileID: 0} 133 | serializedVersion: 6 134 | m_Component: 135 | - component: {fileID: 52065495} 136 | - component: {fileID: 52065497} 137 | - component: {fileID: 52065496} 138 | m_Layer: 5 139 | m_Name: Player 140 | m_TagString: Untagged 141 | m_Icon: {fileID: 0} 142 | m_NavMeshLayer: 0 143 | m_StaticEditorFlags: 0 144 | m_IsActive: 1 145 | --- !u!224 &52065495 146 | RectTransform: 147 | m_ObjectHideFlags: 0 148 | m_CorrespondingSourceObject: {fileID: 0} 149 | m_PrefabInstance: {fileID: 0} 150 | m_PrefabAsset: {fileID: 0} 151 | m_GameObject: {fileID: 52065494} 152 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 153 | m_LocalPosition: {x: 0, y: 0, z: 0} 154 | m_LocalScale: {x: 1, y: 1, z: 1} 155 | m_Children: [] 156 | m_Father: {fileID: 888245242} 157 | m_RootOrder: 1 158 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 159 | m_AnchorMin: {x: 0, y: 1} 160 | m_AnchorMax: {x: 0, y: 1} 161 | m_AnchoredPosition: {x: 50, y: -50} 162 | m_SizeDelta: {x: 456, y: 232} 163 | m_Pivot: {x: 0, y: 1} 164 | --- !u!114 &52065496 165 | MonoBehaviour: 166 | m_ObjectHideFlags: 0 167 | m_CorrespondingSourceObject: {fileID: 0} 168 | m_PrefabInstance: {fileID: 0} 169 | m_PrefabAsset: {fileID: 0} 170 | m_GameObject: {fileID: 52065494} 171 | m_Enabled: 1 172 | m_EditorHideFlags: 0 173 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 174 | m_Name: 175 | m_EditorClassIdentifier: 176 | m_Material: {fileID: 0} 177 | m_Color: {r: 1, g: 1, b: 1, a: 1} 178 | m_RaycastTarget: 1 179 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 180 | m_Maskable: 1 181 | m_OnCullStateChanged: 182 | m_PersistentCalls: 183 | m_Calls: [] 184 | m_Sprite: {fileID: 21300000, guid: 24e86f8db3504d249baeaf3e30111eb9, type: 3} 185 | m_Type: 0 186 | m_PreserveAspect: 0 187 | m_FillCenter: 1 188 | m_FillMethod: 4 189 | m_FillAmount: 1 190 | m_FillClockwise: 1 191 | m_FillOrigin: 0 192 | m_UseSpriteMesh: 0 193 | m_PixelsPerUnitMultiplier: 1 194 | --- !u!222 &52065497 195 | CanvasRenderer: 196 | m_ObjectHideFlags: 0 197 | m_CorrespondingSourceObject: {fileID: 0} 198 | m_PrefabInstance: {fileID: 0} 199 | m_PrefabAsset: {fileID: 0} 200 | m_GameObject: {fileID: 52065494} 201 | m_CullTransparentMesh: 0 202 | --- !u!1 &865726832 203 | GameObject: 204 | m_ObjectHideFlags: 0 205 | m_CorrespondingSourceObject: {fileID: 0} 206 | m_PrefabInstance: {fileID: 0} 207 | m_PrefabAsset: {fileID: 0} 208 | serializedVersion: 6 209 | m_Component: 210 | - component: {fileID: 865726835} 211 | - component: {fileID: 865726834} 212 | - component: {fileID: 865726833} 213 | m_Layer: 0 214 | m_Name: EventSystem 215 | m_TagString: Untagged 216 | m_Icon: {fileID: 0} 217 | m_NavMeshLayer: 0 218 | m_StaticEditorFlags: 0 219 | m_IsActive: 1 220 | --- !u!114 &865726833 221 | MonoBehaviour: 222 | m_ObjectHideFlags: 0 223 | m_CorrespondingSourceObject: {fileID: 0} 224 | m_PrefabInstance: {fileID: 0} 225 | m_PrefabAsset: {fileID: 0} 226 | m_GameObject: {fileID: 865726832} 227 | m_Enabled: 1 228 | m_EditorHideFlags: 0 229 | m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} 230 | m_Name: 231 | m_EditorClassIdentifier: 232 | m_HorizontalAxis: Horizontal 233 | m_VerticalAxis: Vertical 234 | m_SubmitButton: Submit 235 | m_CancelButton: Cancel 236 | m_InputActionsPerSecond: 10 237 | m_RepeatDelay: 0.5 238 | m_ForceModuleActive: 0 239 | --- !u!114 &865726834 240 | MonoBehaviour: 241 | m_ObjectHideFlags: 0 242 | m_CorrespondingSourceObject: {fileID: 0} 243 | m_PrefabInstance: {fileID: 0} 244 | m_PrefabAsset: {fileID: 0} 245 | m_GameObject: {fileID: 865726832} 246 | m_Enabled: 1 247 | m_EditorHideFlags: 0 248 | m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} 249 | m_Name: 250 | m_EditorClassIdentifier: 251 | m_FirstSelected: {fileID: 0} 252 | m_sendNavigationEvents: 1 253 | m_DragThreshold: 10 254 | --- !u!4 &865726835 255 | Transform: 256 | m_ObjectHideFlags: 0 257 | m_CorrespondingSourceObject: {fileID: 0} 258 | m_PrefabInstance: {fileID: 0} 259 | m_PrefabAsset: {fileID: 0} 260 | m_GameObject: {fileID: 865726832} 261 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 262 | m_LocalPosition: {x: 0, y: 0, z: 0} 263 | m_LocalScale: {x: 1, y: 1, z: 1} 264 | m_Children: [] 265 | m_Father: {fileID: 0} 266 | m_RootOrder: 1 267 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 268 | --- !u!1 &888245241 269 | GameObject: 270 | m_ObjectHideFlags: 0 271 | m_CorrespondingSourceObject: {fileID: 0} 272 | m_PrefabInstance: {fileID: 0} 273 | m_PrefabAsset: {fileID: 0} 274 | serializedVersion: 6 275 | m_Component: 276 | - component: {fileID: 888245242} 277 | - component: {fileID: 888245244} 278 | - component: {fileID: 888245243} 279 | m_Layer: 5 280 | m_Name: Village 281 | m_TagString: Untagged 282 | m_Icon: {fileID: 0} 283 | m_NavMeshLayer: 0 284 | m_StaticEditorFlags: 0 285 | m_IsActive: 1 286 | --- !u!224 &888245242 287 | RectTransform: 288 | m_ObjectHideFlags: 0 289 | m_CorrespondingSourceObject: {fileID: 0} 290 | m_PrefabInstance: {fileID: 0} 291 | m_PrefabAsset: {fileID: 0} 292 | m_GameObject: {fileID: 888245241} 293 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 294 | m_LocalPosition: {x: 0, y: 0, z: 0} 295 | m_LocalScale: {x: 1, y: 1, z: 1} 296 | m_Children: 297 | - {fileID: 916210708} 298 | - {fileID: 52065495} 299 | - {fileID: 1100615951} 300 | m_Father: {fileID: 1991290169} 301 | m_RootOrder: 0 302 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 303 | m_AnchorMin: {x: 0.5, y: 0.5} 304 | m_AnchorMax: {x: 0.5, y: 0.5} 305 | m_AnchoredPosition: {x: 0, y: 0} 306 | m_SizeDelta: {x: 2048, y: 1536} 307 | m_Pivot: {x: 0.5, y: 0.5} 308 | --- !u!114 &888245243 309 | MonoBehaviour: 310 | m_ObjectHideFlags: 0 311 | m_CorrespondingSourceObject: {fileID: 0} 312 | m_PrefabInstance: {fileID: 0} 313 | m_PrefabAsset: {fileID: 0} 314 | m_GameObject: {fileID: 888245241} 315 | m_Enabled: 1 316 | m_EditorHideFlags: 0 317 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 318 | m_Name: 319 | m_EditorClassIdentifier: 320 | m_Material: {fileID: 0} 321 | m_Color: {r: 1, g: 1, b: 1, a: 1} 322 | m_RaycastTarget: 1 323 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 324 | m_Maskable: 1 325 | m_OnCullStateChanged: 326 | m_PersistentCalls: 327 | m_Calls: [] 328 | m_Sprite: {fileID: 21300000, guid: 8d94955baca4dcb408e3174cd518cb50, type: 3} 329 | m_Type: 0 330 | m_PreserveAspect: 0 331 | m_FillCenter: 1 332 | m_FillMethod: 4 333 | m_FillAmount: 1 334 | m_FillClockwise: 1 335 | m_FillOrigin: 0 336 | m_UseSpriteMesh: 0 337 | m_PixelsPerUnitMultiplier: 1 338 | --- !u!222 &888245244 339 | CanvasRenderer: 340 | m_ObjectHideFlags: 0 341 | m_CorrespondingSourceObject: {fileID: 0} 342 | m_PrefabInstance: {fileID: 0} 343 | m_PrefabAsset: {fileID: 0} 344 | m_GameObject: {fileID: 888245241} 345 | m_CullTransparentMesh: 1 346 | --- !u!1 &916210707 347 | GameObject: 348 | m_ObjectHideFlags: 0 349 | m_CorrespondingSourceObject: {fileID: 0} 350 | m_PrefabInstance: {fileID: 0} 351 | m_PrefabAsset: {fileID: 0} 352 | serializedVersion: 6 353 | m_Component: 354 | - component: {fileID: 916210708} 355 | - component: {fileID: 916210710} 356 | - component: {fileID: 916210709} 357 | m_Layer: 5 358 | m_Name: Return Home 359 | m_TagString: Untagged 360 | m_Icon: {fileID: 0} 361 | m_NavMeshLayer: 0 362 | m_StaticEditorFlags: 0 363 | m_IsActive: 1 364 | --- !u!224 &916210708 365 | RectTransform: 366 | m_ObjectHideFlags: 0 367 | m_CorrespondingSourceObject: {fileID: 0} 368 | m_PrefabInstance: {fileID: 0} 369 | m_PrefabAsset: {fileID: 0} 370 | m_GameObject: {fileID: 916210707} 371 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 372 | m_LocalPosition: {x: 0, y: 0, z: 0} 373 | m_LocalScale: {x: 1, y: 1, z: 1} 374 | m_Children: [] 375 | m_Father: {fileID: 888245242} 376 | m_RootOrder: 0 377 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 378 | m_AnchorMin: {x: 0, y: 0} 379 | m_AnchorMax: {x: 0, y: 0} 380 | m_AnchoredPosition: {x: 50, y: 50} 381 | m_SizeDelta: {x: 238, y: 232} 382 | m_Pivot: {x: 0, y: 0} 383 | --- !u!114 &916210709 384 | MonoBehaviour: 385 | m_ObjectHideFlags: 0 386 | m_CorrespondingSourceObject: {fileID: 0} 387 | m_PrefabInstance: {fileID: 0} 388 | m_PrefabAsset: {fileID: 0} 389 | m_GameObject: {fileID: 916210707} 390 | m_Enabled: 1 391 | m_EditorHideFlags: 0 392 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 393 | m_Name: 394 | m_EditorClassIdentifier: 395 | m_Material: {fileID: 0} 396 | m_Color: {r: 1, g: 1, b: 1, a: 1} 397 | m_RaycastTarget: 1 398 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 399 | m_Maskable: 1 400 | m_OnCullStateChanged: 401 | m_PersistentCalls: 402 | m_Calls: [] 403 | m_Sprite: {fileID: 21300000, guid: 7555a7a8b7b7a8240a3899b7eeb3aef3, type: 3} 404 | m_Type: 0 405 | m_PreserveAspect: 0 406 | m_FillCenter: 1 407 | m_FillMethod: 4 408 | m_FillAmount: 1 409 | m_FillClockwise: 1 410 | m_FillOrigin: 0 411 | m_UseSpriteMesh: 0 412 | m_PixelsPerUnitMultiplier: 1 413 | --- !u!222 &916210710 414 | CanvasRenderer: 415 | m_ObjectHideFlags: 0 416 | m_CorrespondingSourceObject: {fileID: 0} 417 | m_PrefabInstance: {fileID: 0} 418 | m_PrefabAsset: {fileID: 0} 419 | m_GameObject: {fileID: 916210707} 420 | m_CullTransparentMesh: 0 421 | --- !u!1 &1100615950 422 | GameObject: 423 | m_ObjectHideFlags: 0 424 | m_CorrespondingSourceObject: {fileID: 0} 425 | m_PrefabInstance: {fileID: 0} 426 | m_PrefabAsset: {fileID: 0} 427 | serializedVersion: 6 428 | m_Component: 429 | - component: {fileID: 1100615951} 430 | - component: {fileID: 1100615954} 431 | - component: {fileID: 1100615953} 432 | - component: {fileID: 1100615952} 433 | m_Layer: 5 434 | m_Name: Side-Menu 435 | m_TagString: Untagged 436 | m_Icon: {fileID: 0} 437 | m_NavMeshLayer: 0 438 | m_StaticEditorFlags: 0 439 | m_IsActive: 1 440 | --- !u!224 &1100615951 441 | RectTransform: 442 | m_ObjectHideFlags: 0 443 | m_CorrespondingSourceObject: {fileID: 0} 444 | m_PrefabInstance: {fileID: 0} 445 | m_PrefabAsset: {fileID: 0} 446 | m_GameObject: {fileID: 1100615950} 447 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 448 | m_LocalPosition: {x: 0, y: 0, z: 0} 449 | m_LocalScale: {x: 1, y: 1, z: 1} 450 | m_Children: 451 | - {fileID: 1206747645} 452 | m_Father: {fileID: 888245242} 453 | m_RootOrder: 2 454 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 455 | m_AnchorMin: {x: 0, y: 0.5} 456 | m_AnchorMax: {x: 0, y: 0.5} 457 | m_AnchoredPosition: {x: 0, y: 0} 458 | m_SizeDelta: {x: 750, y: 1536} 459 | m_Pivot: {x: 1, y: 0.5} 460 | --- !u!114 &1100615952 461 | MonoBehaviour: 462 | m_ObjectHideFlags: 0 463 | m_CorrespondingSourceObject: {fileID: 0} 464 | m_PrefabInstance: {fileID: 0} 465 | m_PrefabAsset: {fileID: 0} 466 | m_GameObject: {fileID: 1100615950} 467 | m_Enabled: 1 468 | m_EditorHideFlags: 0 469 | m_Script: {fileID: 11500000, guid: 190b06ff4a9418848ae9320a01c38075, type: 3} 470 | m_Name: 471 | m_EditorClassIdentifier: 472 | placement: 0 473 | defaultState: 0 474 | transitionSpeed: 10 475 | thresholdDragSpeed: 0 476 | thresholdDraggedFraction: 0.5 477 | handle: {fileID: 1206747644} 478 | isHandleDraggable: 1 479 | isMenuDraggable: 0 480 | handleToggleStateOnPressed: 1 481 | useOverlay: 0 482 | overlayColour: {r: 0, g: 0, b: 0, a: 0.25} 483 | useBlur: 1 484 | blurMaterial: {fileID: 2100000, guid: f48665d7ace7af542aaf0b27f333cc82, type: 2} 485 | blurRadius: 5 486 | overlayCloseOnPressed: 0 487 | onStateSelecting: 488 | m_PersistentCalls: 489 | m_Calls: [] 490 | onStateSelected: 491 | m_PersistentCalls: 492 | m_Calls: [] 493 | onStateChanging: 494 | m_PersistentCalls: 495 | m_Calls: [] 496 | onStateChanged: 497 | m_PersistentCalls: 498 | m_Calls: [] 499 | --- !u!114 &1100615953 500 | MonoBehaviour: 501 | m_ObjectHideFlags: 0 502 | m_CorrespondingSourceObject: {fileID: 0} 503 | m_PrefabInstance: {fileID: 0} 504 | m_PrefabAsset: {fileID: 0} 505 | m_GameObject: {fileID: 1100615950} 506 | m_Enabled: 1 507 | m_EditorHideFlags: 0 508 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 509 | m_Name: 510 | m_EditorClassIdentifier: 511 | m_Material: {fileID: 0} 512 | m_Color: {r: 1, g: 1, b: 1, a: 1} 513 | m_RaycastTarget: 1 514 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 515 | m_Maskable: 1 516 | m_OnCullStateChanged: 517 | m_PersistentCalls: 518 | m_Calls: [] 519 | m_Sprite: {fileID: 21300000, guid: f768fdf602642d34eaf5395f5b471f8c, type: 3} 520 | m_Type: 0 521 | m_PreserveAspect: 0 522 | m_FillCenter: 1 523 | m_FillMethod: 4 524 | m_FillAmount: 1 525 | m_FillClockwise: 1 526 | m_FillOrigin: 0 527 | m_UseSpriteMesh: 0 528 | m_PixelsPerUnitMultiplier: 1 529 | --- !u!222 &1100615954 530 | CanvasRenderer: 531 | m_ObjectHideFlags: 0 532 | m_CorrespondingSourceObject: {fileID: 0} 533 | m_PrefabInstance: {fileID: 0} 534 | m_PrefabAsset: {fileID: 0} 535 | m_GameObject: {fileID: 1100615950} 536 | m_CullTransparentMesh: 0 537 | --- !u!1 &1109533435 538 | GameObject: 539 | m_ObjectHideFlags: 0 540 | m_CorrespondingSourceObject: {fileID: 0} 541 | m_PrefabInstance: {fileID: 0} 542 | m_PrefabAsset: {fileID: 0} 543 | serializedVersion: 6 544 | m_Component: 545 | - component: {fileID: 1109533438} 546 | - component: {fileID: 1109533437} 547 | - component: {fileID: 1109533436} 548 | m_Layer: 0 549 | m_Name: Camera 550 | m_TagString: MainCamera 551 | m_Icon: {fileID: 0} 552 | m_NavMeshLayer: 0 553 | m_StaticEditorFlags: 0 554 | m_IsActive: 1 555 | --- !u!81 &1109533436 556 | AudioListener: 557 | m_ObjectHideFlags: 0 558 | m_CorrespondingSourceObject: {fileID: 0} 559 | m_PrefabInstance: {fileID: 0} 560 | m_PrefabAsset: {fileID: 0} 561 | m_GameObject: {fileID: 1109533435} 562 | m_Enabled: 1 563 | --- !u!20 &1109533437 564 | Camera: 565 | m_ObjectHideFlags: 0 566 | m_CorrespondingSourceObject: {fileID: 0} 567 | m_PrefabInstance: {fileID: 0} 568 | m_PrefabAsset: {fileID: 0} 569 | m_GameObject: {fileID: 1109533435} 570 | m_Enabled: 1 571 | serializedVersion: 2 572 | m_ClearFlags: 1 573 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 574 | m_projectionMatrixMode: 1 575 | m_GateFitMode: 2 576 | m_FOVAxisMode: 0 577 | m_SensorSize: {x: 36, y: 24} 578 | m_LensShift: {x: 0, y: 0} 579 | m_FocalLength: 50 580 | m_NormalizedViewPortRect: 581 | serializedVersion: 2 582 | x: 0 583 | y: 0 584 | width: 1 585 | height: 1 586 | near clip plane: 0.3 587 | far clip plane: 1000 588 | field of view: 60 589 | orthographic: 0 590 | orthographic size: 5 591 | m_Depth: -1 592 | m_CullingMask: 593 | serializedVersion: 2 594 | m_Bits: 4294967295 595 | m_RenderingPath: -1 596 | m_TargetTexture: {fileID: 0} 597 | m_TargetDisplay: 0 598 | m_TargetEye: 3 599 | m_HDR: 1 600 | m_AllowMSAA: 1 601 | m_AllowDynamicResolution: 0 602 | m_ForceIntoRT: 0 603 | m_OcclusionCulling: 1 604 | m_StereoConvergence: 10 605 | m_StereoSeparation: 0.022 606 | --- !u!4 &1109533438 607 | Transform: 608 | m_ObjectHideFlags: 0 609 | m_CorrespondingSourceObject: {fileID: 0} 610 | m_PrefabInstance: {fileID: 0} 611 | m_PrefabAsset: {fileID: 0} 612 | m_GameObject: {fileID: 1109533435} 613 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 614 | m_LocalPosition: {x: 0, y: 0, z: 0} 615 | m_LocalScale: {x: 1, y: 1, z: 1} 616 | m_Children: [] 617 | m_Father: {fileID: 0} 618 | m_RootOrder: 2 619 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 620 | --- !u!1 &1206747644 621 | GameObject: 622 | m_ObjectHideFlags: 0 623 | m_CorrespondingSourceObject: {fileID: 0} 624 | m_PrefabInstance: {fileID: 0} 625 | m_PrefabAsset: {fileID: 0} 626 | serializedVersion: 6 627 | m_Component: 628 | - component: {fileID: 1206747645} 629 | - component: {fileID: 1206747648} 630 | - component: {fileID: 1206747647} 631 | - component: {fileID: 1206747646} 632 | m_Layer: 5 633 | m_Name: Handle 634 | m_TagString: Untagged 635 | m_Icon: {fileID: 0} 636 | m_NavMeshLayer: 0 637 | m_StaticEditorFlags: 0 638 | m_IsActive: 1 639 | --- !u!224 &1206747645 640 | RectTransform: 641 | m_ObjectHideFlags: 0 642 | m_CorrespondingSourceObject: {fileID: 0} 643 | m_PrefabInstance: {fileID: 0} 644 | m_PrefabAsset: {fileID: 0} 645 | m_GameObject: {fileID: 1206747644} 646 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 647 | m_LocalPosition: {x: 0, y: 0, z: 0} 648 | m_LocalScale: {x: 1, y: 1, z: 1} 649 | m_Children: [] 650 | m_Father: {fileID: 1100615951} 651 | m_RootOrder: 0 652 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 653 | m_AnchorMin: {x: 1, y: 0.5} 654 | m_AnchorMax: {x: 1, y: 0.5} 655 | m_AnchoredPosition: {x: 0, y: -34.2} 656 | m_SizeDelta: {x: 92, y: 280} 657 | m_Pivot: {x: 0, y: 0.5} 658 | --- !u!114 &1206747646 659 | MonoBehaviour: 660 | m_ObjectHideFlags: 0 661 | m_CorrespondingSourceObject: {fileID: 0} 662 | m_PrefabInstance: {fileID: 0} 663 | m_PrefabAsset: {fileID: 0} 664 | m_GameObject: {fileID: 1206747644} 665 | m_Enabled: 1 666 | m_EditorHideFlags: 0 667 | m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} 668 | m_Name: 669 | m_EditorClassIdentifier: 670 | m_Navigation: 671 | m_Mode: 3 672 | m_WrapAround: 0 673 | m_SelectOnUp: {fileID: 0} 674 | m_SelectOnDown: {fileID: 0} 675 | m_SelectOnLeft: {fileID: 0} 676 | m_SelectOnRight: {fileID: 0} 677 | m_Transition: 1 678 | m_Colors: 679 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 680 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 681 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 682 | m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 683 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 684 | m_ColorMultiplier: 1 685 | m_FadeDuration: 0.1 686 | m_SpriteState: 687 | m_HighlightedSprite: {fileID: 0} 688 | m_PressedSprite: {fileID: 0} 689 | m_SelectedSprite: {fileID: 0} 690 | m_DisabledSprite: {fileID: 0} 691 | m_AnimationTriggers: 692 | m_NormalTrigger: Normal 693 | m_HighlightedTrigger: Highlighted 694 | m_PressedTrigger: Pressed 695 | m_SelectedTrigger: Highlighted 696 | m_DisabledTrigger: Disabled 697 | m_Interactable: 1 698 | m_TargetGraphic: {fileID: 1206747647} 699 | m_OnClick: 700 | m_PersistentCalls: 701 | m_Calls: [] 702 | --- !u!114 &1206747647 703 | MonoBehaviour: 704 | m_ObjectHideFlags: 0 705 | m_CorrespondingSourceObject: {fileID: 0} 706 | m_PrefabInstance: {fileID: 0} 707 | m_PrefabAsset: {fileID: 0} 708 | m_GameObject: {fileID: 1206747644} 709 | m_Enabled: 1 710 | m_EditorHideFlags: 0 711 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 712 | m_Name: 713 | m_EditorClassIdentifier: 714 | m_Material: {fileID: 0} 715 | m_Color: {r: 1, g: 1, b: 1, a: 1} 716 | m_RaycastTarget: 1 717 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 718 | m_Maskable: 1 719 | m_OnCullStateChanged: 720 | m_PersistentCalls: 721 | m_Calls: [] 722 | m_Sprite: {fileID: 21300000, guid: 0a176fa7bd0c17c4b8dd365b9566eda1, type: 3} 723 | m_Type: 0 724 | m_PreserveAspect: 0 725 | m_FillCenter: 1 726 | m_FillMethod: 4 727 | m_FillAmount: 1 728 | m_FillClockwise: 1 729 | m_FillOrigin: 0 730 | m_UseSpriteMesh: 0 731 | m_PixelsPerUnitMultiplier: 1 732 | --- !u!222 &1206747648 733 | CanvasRenderer: 734 | m_ObjectHideFlags: 0 735 | m_CorrespondingSourceObject: {fileID: 0} 736 | m_PrefabInstance: {fileID: 0} 737 | m_PrefabAsset: {fileID: 0} 738 | m_GameObject: {fileID: 1206747644} 739 | m_CullTransparentMesh: 0 740 | --- !u!1 &1991290165 741 | GameObject: 742 | m_ObjectHideFlags: 0 743 | m_CorrespondingSourceObject: {fileID: 0} 744 | m_PrefabInstance: {fileID: 0} 745 | m_PrefabAsset: {fileID: 0} 746 | serializedVersion: 6 747 | m_Component: 748 | - component: {fileID: 1991290169} 749 | - component: {fileID: 1991290168} 750 | - component: {fileID: 1991290166} 751 | - component: {fileID: 1991290170} 752 | - component: {fileID: 1991290167} 753 | m_Layer: 5 754 | m_Name: Canvas 755 | m_TagString: Untagged 756 | m_Icon: {fileID: 0} 757 | m_NavMeshLayer: 0 758 | m_StaticEditorFlags: 0 759 | m_IsActive: 1 760 | --- !u!114 &1991290166 761 | MonoBehaviour: 762 | m_ObjectHideFlags: 0 763 | m_CorrespondingSourceObject: {fileID: 0} 764 | m_PrefabInstance: {fileID: 0} 765 | m_PrefabAsset: {fileID: 0} 766 | m_GameObject: {fileID: 1991290165} 767 | m_Enabled: 1 768 | m_EditorHideFlags: 0 769 | m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} 770 | m_Name: 771 | m_EditorClassIdentifier: 772 | m_IgnoreReversedGraphics: 1 773 | m_BlockingObjects: 0 774 | m_BlockingMask: 775 | serializedVersion: 2 776 | m_Bits: 4294967295 777 | --- !u!114 &1991290167 778 | MonoBehaviour: 779 | m_ObjectHideFlags: 0 780 | m_CorrespondingSourceObject: {fileID: 0} 781 | m_PrefabInstance: {fileID: 0} 782 | m_PrefabAsset: {fileID: 0} 783 | m_GameObject: {fileID: 1991290165} 784 | m_Enabled: 1 785 | m_EditorHideFlags: 0 786 | m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} 787 | m_Name: 788 | m_EditorClassIdentifier: 789 | m_UiScaleMode: 1 790 | m_ReferencePixelsPerUnit: 100 791 | m_ScaleFactor: 1 792 | m_ReferenceResolution: {x: 2048, y: 1536} 793 | m_ScreenMatchMode: 0 794 | m_MatchWidthOrHeight: 0 795 | m_PhysicalUnit: 3 796 | m_FallbackScreenDPI: 96 797 | m_DefaultSpriteDPI: 96 798 | m_DynamicPixelsPerUnit: 1 799 | m_PresetInfoIsWorld: 0 800 | --- !u!223 &1991290168 801 | Canvas: 802 | m_ObjectHideFlags: 0 803 | m_CorrespondingSourceObject: {fileID: 0} 804 | m_PrefabInstance: {fileID: 0} 805 | m_PrefabAsset: {fileID: 0} 806 | m_GameObject: {fileID: 1991290165} 807 | m_Enabled: 1 808 | serializedVersion: 3 809 | m_RenderMode: 0 810 | m_Camera: {fileID: 1109533437} 811 | m_PlaneDistance: 100 812 | m_PixelPerfect: 0 813 | m_ReceivesEvents: 1 814 | m_OverrideSorting: 0 815 | m_OverridePixelPerfect: 0 816 | m_SortingBucketNormalizedSize: 0 817 | m_AdditionalShaderChannelsFlag: 0 818 | m_SortingLayerID: 0 819 | m_SortingOrder: 0 820 | m_TargetDisplay: 0 821 | --- !u!224 &1991290169 822 | RectTransform: 823 | m_ObjectHideFlags: 0 824 | m_CorrespondingSourceObject: {fileID: 0} 825 | m_PrefabInstance: {fileID: 0} 826 | m_PrefabAsset: {fileID: 0} 827 | m_GameObject: {fileID: 1991290165} 828 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 829 | m_LocalPosition: {x: 0, y: 0, z: 0} 830 | m_LocalScale: {x: 0, y: 0, z: 0} 831 | m_Children: 832 | - {fileID: 888245242} 833 | m_Father: {fileID: 0} 834 | m_RootOrder: 0 835 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 836 | m_AnchorMin: {x: 0, y: 0} 837 | m_AnchorMax: {x: 0, y: 0} 838 | m_AnchoredPosition: {x: 0, y: 0} 839 | m_SizeDelta: {x: 0, y: 0} 840 | m_Pivot: {x: 0, y: 0} 841 | --- !u!114 &1991290170 842 | MonoBehaviour: 843 | m_ObjectHideFlags: 0 844 | m_CorrespondingSourceObject: {fileID: 0} 845 | m_PrefabInstance: {fileID: 0} 846 | m_PrefabAsset: {fileID: 0} 847 | m_GameObject: {fileID: 1991290165} 848 | m_Enabled: 1 849 | m_EditorHideFlags: 0 850 | m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3} 851 | m_Name: 852 | m_EditorClassIdentifier: 853 | m_Padding: {x: 0, y: 0, z: 0, w: 0} 854 | m_Softness: {x: 0, y: 0} 855 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Scenes/Example 1 (Clash of Clans).unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbd116ff5e0a6944fb35461ab2563efc 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc51f9045928b4446be4202952d3d815 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/Base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Examples/Example 1 (Clash of Clans)/Sprites/Base.png -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/Base.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d94955baca4dcb408e3174cd518cb50 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 8192 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: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 8192 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 8192 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 8192 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/Return Home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Examples/Example 1 (Clash of Clans)/Sprites/Return Home.png -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/Return Home.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7555a7a8b7b7a8240a3899b7eeb3aef3 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Examples/Example 1 (Clash of Clans)/Sprites/chat.png -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/chat.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f768fdf602642d34eaf5395f5b471f8c 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 8192 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: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 8192 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 8192 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 8192 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Examples/Example 1 (Clash of Clans)/Sprites/handle.png -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/handle.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a176fa7bd0c17c4b8dd365b9566eda1 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Examples/Example 1 (Clash of Clans)/Sprites/player.png -------------------------------------------------------------------------------- /Examples/Example 1 (Clash of Clans)/Sprites/player.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24e86f8db3504d249baeaf3e30111eb9 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps).meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2e7d3265ab7d4f4a838daa3779ad79d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b00eeb7ed5a65043a2c4ead092efece 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Scenes/Example 2 (Google Maps).unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 0 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_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 4890085278179872738, guid: c6aba457dbf5b374c95bd1d4ac5e0dc1, 102 | type: 2} 103 | --- !u!196 &4 104 | NavMeshSettings: 105 | serializedVersion: 2 106 | m_ObjectHideFlags: 0 107 | m_BuildSettings: 108 | serializedVersion: 2 109 | agentTypeID: 0 110 | agentRadius: 0.5 111 | agentHeight: 2 112 | agentSlope: 45 113 | agentClimb: 0.4 114 | ledgeDropHeight: 0 115 | maxJumpAcrossDistance: 0 116 | minRegionArea: 2 117 | manualCellSize: 0 118 | cellSize: 0.16666667 119 | manualTileSize: 0 120 | tileSize: 256 121 | accuratePlacement: 0 122 | maxJobWorkers: 0 123 | preserveTilesOutsideBounds: 0 124 | debug: 125 | m_Flags: 0 126 | m_NavMeshData: {fileID: 0} 127 | --- !u!1 &124715431 128 | GameObject: 129 | m_ObjectHideFlags: 0 130 | m_CorrespondingSourceObject: {fileID: 0} 131 | m_PrefabInstance: {fileID: 0} 132 | m_PrefabAsset: {fileID: 0} 133 | serializedVersion: 6 134 | m_Component: 135 | - component: {fileID: 124715432} 136 | - component: {fileID: 124715435} 137 | - component: {fileID: 124715434} 138 | m_Layer: 0 139 | m_Name: Handle 140 | m_TagString: Untagged 141 | m_Icon: {fileID: 0} 142 | m_NavMeshLayer: 0 143 | m_StaticEditorFlags: 0 144 | m_IsActive: 1 145 | --- !u!224 &124715432 146 | RectTransform: 147 | m_ObjectHideFlags: 0 148 | m_CorrespondingSourceObject: {fileID: 0} 149 | m_PrefabInstance: {fileID: 0} 150 | m_PrefabAsset: {fileID: 0} 151 | m_GameObject: {fileID: 124715431} 152 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 153 | m_LocalPosition: {x: 0, y: 0, z: 0} 154 | m_LocalScale: {x: 1, y: 1, z: 1} 155 | m_Children: [] 156 | m_Father: {fileID: 772198396} 157 | m_RootOrder: 0 158 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 159 | m_AnchorMin: {x: 1, y: 0} 160 | m_AnchorMax: {x: 1, y: 1} 161 | m_AnchoredPosition: {x: 25, y: 0} 162 | m_SizeDelta: {x: 25, y: 0} 163 | m_Pivot: {x: 1, y: 0.5} 164 | --- !u!114 &124715434 165 | MonoBehaviour: 166 | m_ObjectHideFlags: 0 167 | m_CorrespondingSourceObject: {fileID: 0} 168 | m_PrefabInstance: {fileID: 0} 169 | m_PrefabAsset: {fileID: 0} 170 | m_GameObject: {fileID: 124715431} 171 | m_Enabled: 1 172 | m_EditorHideFlags: 0 173 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 174 | m_Name: 175 | m_EditorClassIdentifier: 176 | m_Material: {fileID: 0} 177 | m_Color: {r: 1, g: 1, b: 1, a: 0} 178 | m_RaycastTarget: 1 179 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 180 | m_Maskable: 1 181 | m_OnCullStateChanged: 182 | m_PersistentCalls: 183 | m_Calls: [] 184 | m_Sprite: {fileID: 0} 185 | m_Type: 0 186 | m_PreserveAspect: 0 187 | m_FillCenter: 1 188 | m_FillMethod: 4 189 | m_FillAmount: 1 190 | m_FillClockwise: 1 191 | m_FillOrigin: 0 192 | m_UseSpriteMesh: 0 193 | m_PixelsPerUnitMultiplier: 1 194 | --- !u!222 &124715435 195 | CanvasRenderer: 196 | m_ObjectHideFlags: 0 197 | m_CorrespondingSourceObject: {fileID: 0} 198 | m_PrefabInstance: {fileID: 0} 199 | m_PrefabAsset: {fileID: 0} 200 | m_GameObject: {fileID: 124715431} 201 | m_CullTransparentMesh: 0 202 | --- !u!1 &330087024 203 | GameObject: 204 | m_ObjectHideFlags: 0 205 | m_CorrespondingSourceObject: {fileID: 0} 206 | m_PrefabInstance: {fileID: 0} 207 | m_PrefabAsset: {fileID: 0} 208 | serializedVersion: 6 209 | m_Component: 210 | - component: {fileID: 330087025} 211 | - component: {fileID: 330087027} 212 | - component: {fileID: 330087026} 213 | - component: {fileID: 330087028} 214 | m_Layer: 0 215 | m_Name: Google Maps 216 | m_TagString: Untagged 217 | m_Icon: {fileID: 0} 218 | m_NavMeshLayer: 0 219 | m_StaticEditorFlags: 0 220 | m_IsActive: 1 221 | --- !u!224 &330087025 222 | RectTransform: 223 | m_ObjectHideFlags: 0 224 | m_CorrespondingSourceObject: {fileID: 0} 225 | m_PrefabInstance: {fileID: 0} 226 | m_PrefabAsset: {fileID: 0} 227 | m_GameObject: {fileID: 330087024} 228 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 229 | m_LocalPosition: {x: 0, y: 0, z: 0} 230 | m_LocalScale: {x: 1, y: 1, z: 1} 231 | m_Children: 232 | - {fileID: 2073609428} 233 | - {fileID: 772198396} 234 | m_Father: {fileID: 1725552206} 235 | m_RootOrder: 0 236 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 237 | m_AnchorMin: {x: 0.5, y: 0.5} 238 | m_AnchorMax: {x: 0.5, y: 0.5} 239 | m_AnchoredPosition: {x: 0, y: 0} 240 | m_SizeDelta: {x: 921, y: 1536} 241 | m_Pivot: {x: 0.5, y: 0.5} 242 | --- !u!114 &330087026 243 | MonoBehaviour: 244 | m_ObjectHideFlags: 0 245 | m_CorrespondingSourceObject: {fileID: 0} 246 | m_PrefabInstance: {fileID: 0} 247 | m_PrefabAsset: {fileID: 0} 248 | m_GameObject: {fileID: 330087024} 249 | m_Enabled: 1 250 | m_EditorHideFlags: 0 251 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 252 | m_Name: 253 | m_EditorClassIdentifier: 254 | m_Material: {fileID: 0} 255 | m_Color: {r: 1, g: 1, b: 1, a: 1} 256 | m_RaycastTarget: 1 257 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 258 | m_Maskable: 1 259 | m_OnCullStateChanged: 260 | m_PersistentCalls: 261 | m_Calls: [] 262 | m_Sprite: {fileID: 21300000, guid: c1d2db5f806be834c8da8dbc8fd374e3, type: 3} 263 | m_Type: 0 264 | m_PreserveAspect: 0 265 | m_FillCenter: 1 266 | m_FillMethod: 4 267 | m_FillAmount: 1 268 | m_FillClockwise: 1 269 | m_FillOrigin: 0 270 | m_UseSpriteMesh: 0 271 | m_PixelsPerUnitMultiplier: 1 272 | --- !u!222 &330087027 273 | CanvasRenderer: 274 | m_ObjectHideFlags: 0 275 | m_CorrespondingSourceObject: {fileID: 0} 276 | m_PrefabInstance: {fileID: 0} 277 | m_PrefabAsset: {fileID: 0} 278 | m_GameObject: {fileID: 330087024} 279 | m_CullTransparentMesh: 0 280 | --- !u!114 &330087028 281 | MonoBehaviour: 282 | m_ObjectHideFlags: 0 283 | m_CorrespondingSourceObject: {fileID: 0} 284 | m_PrefabInstance: {fileID: 0} 285 | m_PrefabAsset: {fileID: 0} 286 | m_GameObject: {fileID: 330087024} 287 | m_Enabled: 1 288 | m_EditorHideFlags: 0 289 | m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3} 290 | m_Name: 291 | m_EditorClassIdentifier: 292 | m_Padding: {x: 0, y: 0, z: 0, w: 0} 293 | m_Softness: {x: 0, y: 0} 294 | --- !u!1 &772198395 295 | GameObject: 296 | m_ObjectHideFlags: 0 297 | m_CorrespondingSourceObject: {fileID: 0} 298 | m_PrefabInstance: {fileID: 0} 299 | m_PrefabAsset: {fileID: 0} 300 | serializedVersion: 6 301 | m_Component: 302 | - component: {fileID: 772198396} 303 | - component: {fileID: 772198399} 304 | - component: {fileID: 772198398} 305 | - component: {fileID: 772198397} 306 | m_Layer: 0 307 | m_Name: Side-Menu 308 | m_TagString: Untagged 309 | m_Icon: {fileID: 0} 310 | m_NavMeshLayer: 0 311 | m_StaticEditorFlags: 0 312 | m_IsActive: 1 313 | --- !u!224 &772198396 314 | RectTransform: 315 | m_ObjectHideFlags: 0 316 | m_CorrespondingSourceObject: {fileID: 0} 317 | m_PrefabInstance: {fileID: 0} 318 | m_PrefabAsset: {fileID: 0} 319 | m_GameObject: {fileID: 772198395} 320 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 321 | m_LocalPosition: {x: 0, y: 0, z: 0} 322 | m_LocalScale: {x: 1, y: 1, z: 1} 323 | m_Children: 324 | - {fileID: 124715432} 325 | m_Father: {fileID: 330087025} 326 | m_RootOrder: 1 327 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 328 | m_AnchorMin: {x: 0, y: 0.5} 329 | m_AnchorMax: {x: 0, y: 0.5} 330 | m_AnchoredPosition: {x: 0, y: 0} 331 | m_SizeDelta: {x: 511, y: 1536} 332 | m_Pivot: {x: 1, y: 0.5} 333 | --- !u!114 &772198397 334 | MonoBehaviour: 335 | m_ObjectHideFlags: 0 336 | m_CorrespondingSourceObject: {fileID: 0} 337 | m_PrefabInstance: {fileID: 0} 338 | m_PrefabAsset: {fileID: 0} 339 | m_GameObject: {fileID: 772198395} 340 | m_Enabled: 1 341 | m_EditorHideFlags: 0 342 | m_Script: {fileID: 11500000, guid: 190b06ff4a9418848ae9320a01c38075, type: 3} 343 | m_Name: 344 | m_EditorClassIdentifier: 345 | placement: 0 346 | defaultState: 0 347 | transitionSpeed: 10 348 | thresholdDragSpeed: 0 349 | thresholdDraggedFraction: 0.25 350 | handle: {fileID: 124715431} 351 | isHandleDraggable: 1 352 | isMenuDraggable: 1 353 | handleToggleStateOnPressed: 0 354 | useOverlay: 1 355 | overlayColour: {r: 0, g: 0, b: 0, a: 0.2509804} 356 | useBlur: 1 357 | blurMaterial: {fileID: 2100000, guid: f48665d7ace7af542aaf0b27f333cc82, type: 2} 358 | blurRadius: 5 359 | overlayCloseOnPressed: 1 360 | onStateSelecting: 361 | m_PersistentCalls: 362 | m_Calls: [] 363 | onStateSelected: 364 | m_PersistentCalls: 365 | m_Calls: [] 366 | onStateChanging: 367 | m_PersistentCalls: 368 | m_Calls: [] 369 | onStateChanged: 370 | m_PersistentCalls: 371 | m_Calls: [] 372 | --- !u!114 &772198398 373 | MonoBehaviour: 374 | m_ObjectHideFlags: 0 375 | m_CorrespondingSourceObject: {fileID: 0} 376 | m_PrefabInstance: {fileID: 0} 377 | m_PrefabAsset: {fileID: 0} 378 | m_GameObject: {fileID: 772198395} 379 | m_Enabled: 1 380 | m_EditorHideFlags: 0 381 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 382 | m_Name: 383 | m_EditorClassIdentifier: 384 | m_Material: {fileID: 0} 385 | m_Color: {r: 1, g: 1, b: 1, a: 1} 386 | m_RaycastTarget: 1 387 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 388 | m_Maskable: 1 389 | m_OnCullStateChanged: 390 | m_PersistentCalls: 391 | m_Calls: [] 392 | m_Sprite: {fileID: 21300000, guid: 40a4e95dc8f3e234883d45c1d616aa90, type: 3} 393 | m_Type: 0 394 | m_PreserveAspect: 0 395 | m_FillCenter: 1 396 | m_FillMethod: 4 397 | m_FillAmount: 1 398 | m_FillClockwise: 1 399 | m_FillOrigin: 0 400 | m_UseSpriteMesh: 0 401 | m_PixelsPerUnitMultiplier: 1 402 | --- !u!222 &772198399 403 | CanvasRenderer: 404 | m_ObjectHideFlags: 0 405 | m_CorrespondingSourceObject: {fileID: 0} 406 | m_PrefabInstance: {fileID: 0} 407 | m_PrefabAsset: {fileID: 0} 408 | m_GameObject: {fileID: 772198395} 409 | m_CullTransparentMesh: 0 410 | --- !u!1 &1100507843 411 | GameObject: 412 | m_ObjectHideFlags: 0 413 | m_CorrespondingSourceObject: {fileID: 0} 414 | m_PrefabInstance: {fileID: 0} 415 | m_PrefabAsset: {fileID: 0} 416 | serializedVersion: 6 417 | m_Component: 418 | - component: {fileID: 1100507846} 419 | - component: {fileID: 1100507845} 420 | - component: {fileID: 1100507844} 421 | m_Layer: 0 422 | m_Name: Camera 423 | m_TagString: MainCamera 424 | m_Icon: {fileID: 0} 425 | m_NavMeshLayer: 0 426 | m_StaticEditorFlags: 0 427 | m_IsActive: 1 428 | --- !u!81 &1100507844 429 | AudioListener: 430 | m_ObjectHideFlags: 0 431 | m_CorrespondingSourceObject: {fileID: 0} 432 | m_PrefabInstance: {fileID: 0} 433 | m_PrefabAsset: {fileID: 0} 434 | m_GameObject: {fileID: 1100507843} 435 | m_Enabled: 1 436 | --- !u!20 &1100507845 437 | Camera: 438 | m_ObjectHideFlags: 0 439 | m_CorrespondingSourceObject: {fileID: 0} 440 | m_PrefabInstance: {fileID: 0} 441 | m_PrefabAsset: {fileID: 0} 442 | m_GameObject: {fileID: 1100507843} 443 | m_Enabled: 1 444 | serializedVersion: 2 445 | m_ClearFlags: 1 446 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 447 | m_projectionMatrixMode: 1 448 | m_GateFitMode: 2 449 | m_FOVAxisMode: 0 450 | m_SensorSize: {x: 36, y: 24} 451 | m_LensShift: {x: 0, y: 0} 452 | m_FocalLength: 50 453 | m_NormalizedViewPortRect: 454 | serializedVersion: 2 455 | x: 0 456 | y: 0 457 | width: 1 458 | height: 1 459 | near clip plane: 0.3 460 | far clip plane: 1000 461 | field of view: 60 462 | orthographic: 0 463 | orthographic size: 5 464 | m_Depth: -1 465 | m_CullingMask: 466 | serializedVersion: 2 467 | m_Bits: 4294967295 468 | m_RenderingPath: -1 469 | m_TargetTexture: {fileID: 0} 470 | m_TargetDisplay: 0 471 | m_TargetEye: 3 472 | m_HDR: 1 473 | m_AllowMSAA: 1 474 | m_AllowDynamicResolution: 0 475 | m_ForceIntoRT: 0 476 | m_OcclusionCulling: 1 477 | m_StereoConvergence: 10 478 | m_StereoSeparation: 0.022 479 | --- !u!4 &1100507846 480 | Transform: 481 | m_ObjectHideFlags: 0 482 | m_CorrespondingSourceObject: {fileID: 0} 483 | m_PrefabInstance: {fileID: 0} 484 | m_PrefabAsset: {fileID: 0} 485 | m_GameObject: {fileID: 1100507843} 486 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 487 | m_LocalPosition: {x: 0, y: 1, z: 0} 488 | m_LocalScale: {x: 1, y: 1, z: 1} 489 | m_Children: [] 490 | m_Father: {fileID: 0} 491 | m_RootOrder: 2 492 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 493 | --- !u!1 &1725552203 494 | GameObject: 495 | m_ObjectHideFlags: 0 496 | m_CorrespondingSourceObject: {fileID: 0} 497 | m_PrefabInstance: {fileID: 0} 498 | m_PrefabAsset: {fileID: 0} 499 | serializedVersion: 6 500 | m_Component: 501 | - component: {fileID: 1725552206} 502 | - component: {fileID: 1725552205} 503 | - component: {fileID: 1725552204} 504 | - component: {fileID: 1725552207} 505 | - component: {fileID: 1725552209} 506 | - component: {fileID: 1725552208} 507 | m_Layer: 0 508 | m_Name: Canvas 509 | m_TagString: Untagged 510 | m_Icon: {fileID: 0} 511 | m_NavMeshLayer: 0 512 | m_StaticEditorFlags: 0 513 | m_IsActive: 1 514 | --- !u!114 &1725552204 515 | MonoBehaviour: 516 | m_ObjectHideFlags: 0 517 | m_CorrespondingSourceObject: {fileID: 0} 518 | m_PrefabInstance: {fileID: 0} 519 | m_PrefabAsset: {fileID: 0} 520 | m_GameObject: {fileID: 1725552203} 521 | m_Enabled: 1 522 | m_EditorHideFlags: 0 523 | m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} 524 | m_Name: 525 | m_EditorClassIdentifier: 526 | m_IgnoreReversedGraphics: 1 527 | m_BlockingObjects: 0 528 | m_BlockingMask: 529 | serializedVersion: 2 530 | m_Bits: 4294967295 531 | --- !u!223 &1725552205 532 | Canvas: 533 | m_ObjectHideFlags: 0 534 | m_CorrespondingSourceObject: {fileID: 0} 535 | m_PrefabInstance: {fileID: 0} 536 | m_PrefabAsset: {fileID: 0} 537 | m_GameObject: {fileID: 1725552203} 538 | m_Enabled: 1 539 | serializedVersion: 3 540 | m_RenderMode: 0 541 | m_Camera: {fileID: 0} 542 | m_PlaneDistance: 100 543 | m_PixelPerfect: 0 544 | m_ReceivesEvents: 1 545 | m_OverrideSorting: 0 546 | m_OverridePixelPerfect: 0 547 | m_SortingBucketNormalizedSize: 0 548 | m_AdditionalShaderChannelsFlag: 0 549 | m_SortingLayerID: 0 550 | m_SortingOrder: 0 551 | m_TargetDisplay: 0 552 | --- !u!224 &1725552206 553 | RectTransform: 554 | m_ObjectHideFlags: 0 555 | m_CorrespondingSourceObject: {fileID: 0} 556 | m_PrefabInstance: {fileID: 0} 557 | m_PrefabAsset: {fileID: 0} 558 | m_GameObject: {fileID: 1725552203} 559 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 560 | m_LocalPosition: {x: 0, y: 0, z: 0} 561 | m_LocalScale: {x: 0, y: 0, z: 0} 562 | m_Children: 563 | - {fileID: 330087025} 564 | m_Father: {fileID: 0} 565 | m_RootOrder: 0 566 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 567 | m_AnchorMin: {x: 0, y: 0} 568 | m_AnchorMax: {x: 0, y: 0} 569 | m_AnchoredPosition: {x: 0, y: 0} 570 | m_SizeDelta: {x: 0, y: 0} 571 | m_Pivot: {x: 0, y: 0} 572 | --- !u!114 &1725552207 573 | MonoBehaviour: 574 | m_ObjectHideFlags: 0 575 | m_CorrespondingSourceObject: {fileID: 0} 576 | m_PrefabInstance: {fileID: 0} 577 | m_PrefabAsset: {fileID: 0} 578 | m_GameObject: {fileID: 1725552203} 579 | m_Enabled: 1 580 | m_EditorHideFlags: 0 581 | m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} 582 | m_Name: 583 | m_EditorClassIdentifier: 584 | m_UiScaleMode: 1 585 | m_ReferencePixelsPerUnit: 100 586 | m_ScaleFactor: 1 587 | m_ReferenceResolution: {x: 2048, y: 1536} 588 | m_ScreenMatchMode: 0 589 | m_MatchWidthOrHeight: 0 590 | m_PhysicalUnit: 3 591 | m_FallbackScreenDPI: 96 592 | m_DefaultSpriteDPI: 96 593 | m_DynamicPixelsPerUnit: 1 594 | m_PresetInfoIsWorld: 0 595 | --- !u!114 &1725552208 596 | MonoBehaviour: 597 | m_ObjectHideFlags: 0 598 | m_CorrespondingSourceObject: {fileID: 0} 599 | m_PrefabInstance: {fileID: 0} 600 | m_PrefabAsset: {fileID: 0} 601 | m_GameObject: {fileID: 1725552203} 602 | m_Enabled: 1 603 | m_EditorHideFlags: 0 604 | m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} 605 | m_Name: 606 | m_EditorClassIdentifier: 607 | m_Material: {fileID: 0} 608 | m_Color: {r: 0.05, g: 0.05, b: 0.05, a: 1} 609 | m_RaycastTarget: 1 610 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 611 | m_Maskable: 1 612 | m_OnCullStateChanged: 613 | m_PersistentCalls: 614 | m_Calls: [] 615 | m_Texture: {fileID: 0} 616 | m_UVRect: 617 | serializedVersion: 2 618 | x: 0 619 | y: 0 620 | width: 1 621 | height: 1 622 | --- !u!222 &1725552209 623 | CanvasRenderer: 624 | m_ObjectHideFlags: 0 625 | m_CorrespondingSourceObject: {fileID: 0} 626 | m_PrefabInstance: {fileID: 0} 627 | m_PrefabAsset: {fileID: 0} 628 | m_GameObject: {fileID: 1725552203} 629 | m_CullTransparentMesh: 1 630 | --- !u!1 &1915964910 631 | GameObject: 632 | m_ObjectHideFlags: 0 633 | m_CorrespondingSourceObject: {fileID: 0} 634 | m_PrefabInstance: {fileID: 0} 635 | m_PrefabAsset: {fileID: 0} 636 | serializedVersion: 6 637 | m_Component: 638 | - component: {fileID: 1915964913} 639 | - component: {fileID: 1915964912} 640 | - component: {fileID: 1915964911} 641 | m_Layer: 0 642 | m_Name: EventSystem 643 | m_TagString: Untagged 644 | m_Icon: {fileID: 0} 645 | m_NavMeshLayer: 0 646 | m_StaticEditorFlags: 0 647 | m_IsActive: 1 648 | --- !u!114 &1915964911 649 | MonoBehaviour: 650 | m_ObjectHideFlags: 0 651 | m_CorrespondingSourceObject: {fileID: 0} 652 | m_PrefabInstance: {fileID: 0} 653 | m_PrefabAsset: {fileID: 0} 654 | m_GameObject: {fileID: 1915964910} 655 | m_Enabled: 1 656 | m_EditorHideFlags: 0 657 | m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} 658 | m_Name: 659 | m_EditorClassIdentifier: 660 | m_HorizontalAxis: Horizontal 661 | m_VerticalAxis: Vertical 662 | m_SubmitButton: Submit 663 | m_CancelButton: Cancel 664 | m_InputActionsPerSecond: 10 665 | m_RepeatDelay: 0.5 666 | m_ForceModuleActive: 0 667 | --- !u!114 &1915964912 668 | MonoBehaviour: 669 | m_ObjectHideFlags: 0 670 | m_CorrespondingSourceObject: {fileID: 0} 671 | m_PrefabInstance: {fileID: 0} 672 | m_PrefabAsset: {fileID: 0} 673 | m_GameObject: {fileID: 1915964910} 674 | m_Enabled: 1 675 | m_EditorHideFlags: 0 676 | m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} 677 | m_Name: 678 | m_EditorClassIdentifier: 679 | m_FirstSelected: {fileID: 0} 680 | m_sendNavigationEvents: 1 681 | m_DragThreshold: 10 682 | --- !u!4 &1915964913 683 | Transform: 684 | m_ObjectHideFlags: 0 685 | m_CorrespondingSourceObject: {fileID: 0} 686 | m_PrefabInstance: {fileID: 0} 687 | m_PrefabAsset: {fileID: 0} 688 | m_GameObject: {fileID: 1915964910} 689 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 690 | m_LocalPosition: {x: 0, y: 0, z: 0} 691 | m_LocalScale: {x: 1, y: 1, z: 1} 692 | m_Children: [] 693 | m_Father: {fileID: 0} 694 | m_RootOrder: 1 695 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 696 | --- !u!1 &2073609424 697 | GameObject: 698 | m_ObjectHideFlags: 0 699 | m_CorrespondingSourceObject: {fileID: 0} 700 | m_PrefabInstance: {fileID: 0} 701 | m_PrefabAsset: {fileID: 0} 702 | serializedVersion: 6 703 | m_Component: 704 | - component: {fileID: 2073609428} 705 | - component: {fileID: 2073609427} 706 | - component: {fileID: 2073609426} 707 | - component: {fileID: 2073609425} 708 | m_Layer: 0 709 | m_Name: Hamburger Menu 710 | m_TagString: Untagged 711 | m_Icon: {fileID: 0} 712 | m_NavMeshLayer: 0 713 | m_StaticEditorFlags: 0 714 | m_IsActive: 1 715 | --- !u!114 &2073609425 716 | MonoBehaviour: 717 | m_ObjectHideFlags: 0 718 | m_CorrespondingSourceObject: {fileID: 0} 719 | m_PrefabInstance: {fileID: 0} 720 | m_PrefabAsset: {fileID: 0} 721 | m_GameObject: {fileID: 2073609424} 722 | m_Enabled: 1 723 | m_EditorHideFlags: 0 724 | m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} 725 | m_Name: 726 | m_EditorClassIdentifier: 727 | m_Navigation: 728 | m_Mode: 3 729 | m_WrapAround: 0 730 | m_SelectOnUp: {fileID: 0} 731 | m_SelectOnDown: {fileID: 0} 732 | m_SelectOnLeft: {fileID: 0} 733 | m_SelectOnRight: {fileID: 0} 734 | m_Transition: 1 735 | m_Colors: 736 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 737 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 738 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 739 | m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 740 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 741 | m_ColorMultiplier: 1 742 | m_FadeDuration: 0.1 743 | m_SpriteState: 744 | m_HighlightedSprite: {fileID: 0} 745 | m_PressedSprite: {fileID: 0} 746 | m_SelectedSprite: {fileID: 0} 747 | m_DisabledSprite: {fileID: 0} 748 | m_AnimationTriggers: 749 | m_NormalTrigger: Normal 750 | m_HighlightedTrigger: Highlighted 751 | m_PressedTrigger: Pressed 752 | m_SelectedTrigger: Highlighted 753 | m_DisabledTrigger: Disabled 754 | m_Interactable: 1 755 | m_TargetGraphic: {fileID: 2073609426} 756 | m_OnClick: 757 | m_PersistentCalls: 758 | m_Calls: 759 | - m_Target: {fileID: 772198397} 760 | m_TargetAssemblyTypeName: 761 | m_MethodName: Open 762 | m_Mode: 1 763 | m_Arguments: 764 | m_ObjectArgument: {fileID: 0} 765 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 766 | m_IntArgument: 0 767 | m_FloatArgument: 0 768 | m_StringArgument: 769 | m_BoolArgument: 0 770 | m_CallState: 2 771 | --- !u!114 &2073609426 772 | MonoBehaviour: 773 | m_ObjectHideFlags: 0 774 | m_CorrespondingSourceObject: {fileID: 0} 775 | m_PrefabInstance: {fileID: 0} 776 | m_PrefabAsset: {fileID: 0} 777 | m_GameObject: {fileID: 2073609424} 778 | m_Enabled: 1 779 | m_EditorHideFlags: 0 780 | m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} 781 | m_Name: 782 | m_EditorClassIdentifier: 783 | m_Material: {fileID: 0} 784 | m_Color: {r: 0.41509432, g: 0.41509432, b: 0.41509432, a: 1} 785 | m_RaycastTarget: 1 786 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 787 | m_Maskable: 1 788 | m_OnCullStateChanged: 789 | m_PersistentCalls: 790 | m_Calls: [] 791 | m_Sprite: {fileID: 21300000, guid: 7b03651b3cb03f745ac3a4de0c0e8aa6, type: 3} 792 | m_Type: 0 793 | m_PreserveAspect: 0 794 | m_FillCenter: 1 795 | m_FillMethod: 4 796 | m_FillAmount: 1 797 | m_FillClockwise: 1 798 | m_FillOrigin: 0 799 | m_UseSpriteMesh: 0 800 | m_PixelsPerUnitMultiplier: 1 801 | --- !u!222 &2073609427 802 | CanvasRenderer: 803 | m_ObjectHideFlags: 0 804 | m_CorrespondingSourceObject: {fileID: 0} 805 | m_PrefabInstance: {fileID: 0} 806 | m_PrefabAsset: {fileID: 0} 807 | m_GameObject: {fileID: 2073609424} 808 | m_CullTransparentMesh: 0 809 | --- !u!224 &2073609428 810 | RectTransform: 811 | m_ObjectHideFlags: 0 812 | m_CorrespondingSourceObject: {fileID: 0} 813 | m_PrefabInstance: {fileID: 0} 814 | m_PrefabAsset: {fileID: 0} 815 | m_GameObject: {fileID: 2073609424} 816 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 817 | m_LocalPosition: {x: 0, y: 0, z: 0} 818 | m_LocalScale: {x: 1, y: 1, z: 1} 819 | m_Children: [] 820 | m_Father: {fileID: 330087025} 821 | m_RootOrder: 0 822 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 823 | m_AnchorMin: {x: 0, y: 1} 824 | m_AnchorMax: {x: 0, y: 1} 825 | m_AnchoredPosition: {x: 75, y: -103} 826 | m_SizeDelta: {x: 30, y: 30} 827 | m_Pivot: {x: 0.5, y: 0.5} 828 | -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Scenes/Example 2 (Google Maps).unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9e4ac15aa8e18246b4ee73a62403723 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d03f5ffebf825c4899ab35765cc9ee4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Sprites/Hamburger Menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Examples/Example 2 (Google Maps)/Sprites/Hamburger Menu.png -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Sprites/Hamburger Menu.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b03651b3cb03f745ac3a4de0c0e8aa6 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Sprites/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Examples/Example 2 (Google Maps)/Sprites/background.png -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Sprites/background.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1d2db5f806be834c8da8dbc8fd374e3 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 4096 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: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 4096 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 4096 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 4096 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Sprites/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daniellochner/simple-side-menu/bc5ea844812d7323a5f7a5a64642a18e30e4d041/Examples/Example 2 (Google Maps)/Sprites/settings.png -------------------------------------------------------------------------------- /Examples/Example 2 (Google Maps)/Sprites/settings.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40a4e95dc8f3e234883d45c1d616aa90 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 4096 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: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 4096 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 4096 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 4096 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Daniel Lochner 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. -------------------------------------------------------------------------------- /LICENSE.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7487ed4cbfbeb14ea62f2f6167122eb 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6762a04cb4873ff4592e60e524c7286f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Materials/Blur.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: Blur 11 | m_Shader: {fileID: 4800000, guid: 2bb7a529c57df084fb5da0a66c2820e5, type: 3} 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: 0} 44 | m_Scale: {x: 1, y: 1} 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 | - _Radius: 9 71 | - _SmoothnessTextureChannel: 0 72 | - _SpecularHighlights: 1 73 | - _SrcBlend: 1 74 | - _UVSec: 0 75 | - _ZWrite: 1 76 | m_Colors: 77 | - _Color: {r: 1, g: 1, b: 1, a: 1} 78 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 79 | -------------------------------------------------------------------------------- /Materials/Blur.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f48665d7ace7af542aaf0b27f333cc82 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b487b7e8bb3ec62448f86b6d75f11874 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Prefabs/Side-Menu (Bottom).prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_SourcePrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1731849047933434} 13 | m_IsPrefabAsset: 1 14 | --- !u!1 &1731849047933434 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_CorrespondingSourceObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 6 20 | m_Component: 21 | - component: {fileID: 224432371709137870} 22 | - component: {fileID: 222777200655504902} 23 | - component: {fileID: 114356804569231592} 24 | - component: {fileID: 114353343636914860} 25 | m_Layer: 0 26 | m_Name: Bottom Side-Menu 27 | m_TagString: Untagged 28 | m_Icon: {fileID: 0} 29 | m_NavMeshLayer: 0 30 | m_StaticEditorFlags: 0 31 | m_IsActive: 1 32 | --- !u!1 &1918374882030082 33 | GameObject: 34 | m_ObjectHideFlags: 0 35 | m_CorrespondingSourceObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | serializedVersion: 6 38 | m_Component: 39 | - component: {fileID: 224641281635539514} 40 | - component: {fileID: 222216116279817010} 41 | - component: {fileID: 114478560733620886} 42 | - component: {fileID: 114065145981050454} 43 | m_Layer: 0 44 | m_Name: Handle 45 | m_TagString: Untagged 46 | m_Icon: {fileID: 0} 47 | m_NavMeshLayer: 0 48 | m_StaticEditorFlags: 0 49 | m_IsActive: 1 50 | --- !u!114 &114065145981050454 51 | MonoBehaviour: 52 | m_ObjectHideFlags: 1 53 | m_CorrespondingSourceObject: {fileID: 0} 54 | m_PrefabInternal: {fileID: 100100000} 55 | m_GameObject: {fileID: 1918374882030082} 56 | m_Enabled: 1 57 | m_EditorHideFlags: 0 58 | m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} 59 | m_Name: 60 | m_EditorClassIdentifier: 61 | m_Navigation: 62 | m_Mode: 3 63 | m_SelectOnUp: {fileID: 0} 64 | m_SelectOnDown: {fileID: 0} 65 | m_SelectOnLeft: {fileID: 0} 66 | m_SelectOnRight: {fileID: 0} 67 | m_Transition: 1 68 | m_Colors: 69 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 70 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 71 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 72 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 73 | m_ColorMultiplier: 1 74 | m_FadeDuration: 0.1 75 | m_SpriteState: 76 | m_HighlightedSprite: {fileID: 0} 77 | m_PressedSprite: {fileID: 0} 78 | m_DisabledSprite: {fileID: 0} 79 | m_AnimationTriggers: 80 | m_NormalTrigger: Normal 81 | m_HighlightedTrigger: Highlighted 82 | m_PressedTrigger: Pressed 83 | m_DisabledTrigger: Disabled 84 | m_Interactable: 1 85 | m_TargetGraphic: {fileID: 114478560733620886} 86 | m_OnClick: 87 | m_PersistentCalls: 88 | m_Calls: [] 89 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 90 | Culture=neutral, PublicKeyToken=null 91 | --- !u!114 &114353343636914860 92 | MonoBehaviour: 93 | m_ObjectHideFlags: 1 94 | m_CorrespondingSourceObject: {fileID: 0} 95 | m_PrefabInternal: {fileID: 100100000} 96 | m_GameObject: {fileID: 1731849047933434} 97 | m_Enabled: 1 98 | m_EditorHideFlags: 0 99 | m_Script: {fileID: 11500000, guid: 190b06ff4a9418848ae9320a01c38075, type: 3} 100 | m_Name: 101 | m_EditorClassIdentifier: 102 | placement: 3 103 | defaultState: 0 104 | transitionSpeed: 10 105 | thresholdDragSpeed: 0 106 | thresholdDraggedFraction: 0.5 107 | handle: {fileID: 1918374882030082} 108 | handleDraggable: 1 109 | menuDraggable: 0 110 | handleToggleStateOnPressed: 1 111 | useOverlay: 1 112 | overlayColour: {r: 0, g: 0, b: 0, a: 0.25} 113 | overlayCloseOnPressed: 1 114 | --- !u!114 &114356804569231592 115 | MonoBehaviour: 116 | m_ObjectHideFlags: 1 117 | m_CorrespondingSourceObject: {fileID: 0} 118 | m_PrefabInternal: {fileID: 100100000} 119 | m_GameObject: {fileID: 1731849047933434} 120 | m_Enabled: 1 121 | m_EditorHideFlags: 0 122 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 123 | m_Name: 124 | m_EditorClassIdentifier: 125 | m_Material: {fileID: 0} 126 | m_Color: {r: 1, g: 1, b: 1, a: 1} 127 | m_RaycastTarget: 1 128 | m_OnCullStateChanged: 129 | m_PersistentCalls: 130 | m_Calls: [] 131 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 132 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 133 | m_Sprite: {fileID: 0} 134 | m_Type: 0 135 | m_PreserveAspect: 0 136 | m_FillCenter: 1 137 | m_FillMethod: 4 138 | m_FillAmount: 1 139 | m_FillClockwise: 1 140 | m_FillOrigin: 0 141 | --- !u!114 &114478560733620886 142 | MonoBehaviour: 143 | m_ObjectHideFlags: 1 144 | m_CorrespondingSourceObject: {fileID: 0} 145 | m_PrefabInternal: {fileID: 100100000} 146 | m_GameObject: {fileID: 1918374882030082} 147 | m_Enabled: 1 148 | m_EditorHideFlags: 0 149 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 150 | m_Name: 151 | m_EditorClassIdentifier: 152 | m_Material: {fileID: 0} 153 | m_Color: {r: 1, g: 1, b: 1, a: 1} 154 | m_RaycastTarget: 1 155 | m_OnCullStateChanged: 156 | m_PersistentCalls: 157 | m_Calls: [] 158 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 159 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 160 | m_Sprite: {fileID: 0} 161 | m_Type: 0 162 | m_PreserveAspect: 0 163 | m_FillCenter: 1 164 | m_FillMethod: 4 165 | m_FillAmount: 1 166 | m_FillClockwise: 1 167 | m_FillOrigin: 0 168 | --- !u!222 &222216116279817010 169 | CanvasRenderer: 170 | m_ObjectHideFlags: 1 171 | m_CorrespondingSourceObject: {fileID: 0} 172 | m_PrefabInternal: {fileID: 100100000} 173 | m_GameObject: {fileID: 1918374882030082} 174 | m_CullTransparentMesh: 0 175 | --- !u!222 &222777200655504902 176 | CanvasRenderer: 177 | m_ObjectHideFlags: 1 178 | m_CorrespondingSourceObject: {fileID: 0} 179 | m_PrefabInternal: {fileID: 100100000} 180 | m_GameObject: {fileID: 1731849047933434} 181 | m_CullTransparentMesh: 0 182 | --- !u!224 &224432371709137870 183 | RectTransform: 184 | m_ObjectHideFlags: 1 185 | m_CorrespondingSourceObject: {fileID: 0} 186 | m_PrefabInternal: {fileID: 100100000} 187 | m_GameObject: {fileID: 1731849047933434} 188 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 189 | m_LocalPosition: {x: 0, y: 0, z: 0} 190 | m_LocalScale: {x: 1, y: 1, z: 1} 191 | m_Children: 192 | - {fileID: 224641281635539514} 193 | m_Father: {fileID: 0} 194 | m_RootOrder: 0 195 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 196 | m_AnchorMin: {x: 0, y: 0} 197 | m_AnchorMax: {x: 1, y: 0} 198 | m_AnchoredPosition: {x: 0, y: 0} 199 | m_SizeDelta: {x: 0, y: 500} 200 | m_Pivot: {x: 0.5, y: 1} 201 | --- !u!224 &224641281635539514 202 | RectTransform: 203 | m_ObjectHideFlags: 1 204 | m_CorrespondingSourceObject: {fileID: 0} 205 | m_PrefabInternal: {fileID: 100100000} 206 | m_GameObject: {fileID: 1918374882030082} 207 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 208 | m_LocalPosition: {x: 0, y: 0, z: 0} 209 | m_LocalScale: {x: 1, y: 1, z: 1} 210 | m_Children: [] 211 | m_Father: {fileID: 224432371709137870} 212 | m_RootOrder: 0 213 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 214 | m_AnchorMin: {x: 0.5, y: 1} 215 | m_AnchorMax: {x: 0.5, y: 1} 216 | m_AnchoredPosition: {x: 0, y: 0} 217 | m_SizeDelta: {x: 200, y: 75} 218 | m_Pivot: {x: 0.5, y: 0} 219 | -------------------------------------------------------------------------------- /Prefabs/Side-Menu (Bottom).prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f849deee3a88b449ae981c0346be184 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Prefabs/Side-Menu (Left).prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_SourcePrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1703303561323484} 13 | m_IsPrefabAsset: 1 14 | --- !u!1 &1617492754795502 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_CorrespondingSourceObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 6 20 | m_Component: 21 | - component: {fileID: 224269059662225402} 22 | - component: {fileID: 222362739510761322} 23 | - component: {fileID: 114013540289989012} 24 | - component: {fileID: 114879225426356392} 25 | m_Layer: 0 26 | m_Name: Handle 27 | m_TagString: Untagged 28 | m_Icon: {fileID: 0} 29 | m_NavMeshLayer: 0 30 | m_StaticEditorFlags: 0 31 | m_IsActive: 1 32 | --- !u!1 &1703303561323484 33 | GameObject: 34 | m_ObjectHideFlags: 0 35 | m_CorrespondingSourceObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | serializedVersion: 6 38 | m_Component: 39 | - component: {fileID: 224739566112570662} 40 | - component: {fileID: 222281675178813080} 41 | - component: {fileID: 114633066682822660} 42 | - component: {fileID: 114334055161034980} 43 | m_Layer: 0 44 | m_Name: Left Side-Menu 45 | m_TagString: Untagged 46 | m_Icon: {fileID: 0} 47 | m_NavMeshLayer: 0 48 | m_StaticEditorFlags: 0 49 | m_IsActive: 1 50 | --- !u!114 &114013540289989012 51 | MonoBehaviour: 52 | m_ObjectHideFlags: 1 53 | m_CorrespondingSourceObject: {fileID: 0} 54 | m_PrefabInternal: {fileID: 100100000} 55 | m_GameObject: {fileID: 1617492754795502} 56 | m_Enabled: 1 57 | m_EditorHideFlags: 0 58 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 59 | m_Name: 60 | m_EditorClassIdentifier: 61 | m_Material: {fileID: 0} 62 | m_Color: {r: 1, g: 1, b: 1, a: 1} 63 | m_RaycastTarget: 1 64 | m_OnCullStateChanged: 65 | m_PersistentCalls: 66 | m_Calls: [] 67 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 68 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 69 | m_Sprite: {fileID: 0} 70 | m_Type: 0 71 | m_PreserveAspect: 0 72 | m_FillCenter: 1 73 | m_FillMethod: 4 74 | m_FillAmount: 1 75 | m_FillClockwise: 1 76 | m_FillOrigin: 0 77 | --- !u!114 &114334055161034980 78 | MonoBehaviour: 79 | m_ObjectHideFlags: 1 80 | m_CorrespondingSourceObject: {fileID: 0} 81 | m_PrefabInternal: {fileID: 100100000} 82 | m_GameObject: {fileID: 1703303561323484} 83 | m_Enabled: 1 84 | m_EditorHideFlags: 0 85 | m_Script: {fileID: 11500000, guid: 190b06ff4a9418848ae9320a01c38075, type: 3} 86 | m_Name: 87 | m_EditorClassIdentifier: 88 | placement: 0 89 | defaultState: 0 90 | transitionSpeed: 10 91 | thresholdDragSpeed: 0 92 | thresholdDraggedFraction: 0.5 93 | handle: {fileID: 1617492754795502} 94 | handleDraggable: 1 95 | menuDraggable: 0 96 | handleToggleStateOnPressed: 1 97 | useOverlay: 1 98 | overlayColour: {r: 0, g: 0, b: 0, a: 0.25} 99 | overlayCloseOnPressed: 1 100 | --- !u!114 &114633066682822660 101 | MonoBehaviour: 102 | m_ObjectHideFlags: 1 103 | m_CorrespondingSourceObject: {fileID: 0} 104 | m_PrefabInternal: {fileID: 100100000} 105 | m_GameObject: {fileID: 1703303561323484} 106 | m_Enabled: 1 107 | m_EditorHideFlags: 0 108 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 109 | m_Name: 110 | m_EditorClassIdentifier: 111 | m_Material: {fileID: 0} 112 | m_Color: {r: 1, g: 1, b: 1, a: 1} 113 | m_RaycastTarget: 1 114 | m_OnCullStateChanged: 115 | m_PersistentCalls: 116 | m_Calls: [] 117 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 118 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 119 | m_Sprite: {fileID: 0} 120 | m_Type: 0 121 | m_PreserveAspect: 0 122 | m_FillCenter: 1 123 | m_FillMethod: 4 124 | m_FillAmount: 1 125 | m_FillClockwise: 1 126 | m_FillOrigin: 0 127 | --- !u!114 &114879225426356392 128 | MonoBehaviour: 129 | m_ObjectHideFlags: 1 130 | m_CorrespondingSourceObject: {fileID: 0} 131 | m_PrefabInternal: {fileID: 100100000} 132 | m_GameObject: {fileID: 1617492754795502} 133 | m_Enabled: 1 134 | m_EditorHideFlags: 0 135 | m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} 136 | m_Name: 137 | m_EditorClassIdentifier: 138 | m_Navigation: 139 | m_Mode: 3 140 | m_SelectOnUp: {fileID: 0} 141 | m_SelectOnDown: {fileID: 0} 142 | m_SelectOnLeft: {fileID: 0} 143 | m_SelectOnRight: {fileID: 0} 144 | m_Transition: 1 145 | m_Colors: 146 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 147 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 148 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 149 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 150 | m_ColorMultiplier: 1 151 | m_FadeDuration: 0.1 152 | m_SpriteState: 153 | m_HighlightedSprite: {fileID: 0} 154 | m_PressedSprite: {fileID: 0} 155 | m_DisabledSprite: {fileID: 0} 156 | m_AnimationTriggers: 157 | m_NormalTrigger: Normal 158 | m_HighlightedTrigger: Highlighted 159 | m_PressedTrigger: Pressed 160 | m_DisabledTrigger: Disabled 161 | m_Interactable: 1 162 | m_TargetGraphic: {fileID: 114013540289989012} 163 | m_OnClick: 164 | m_PersistentCalls: 165 | m_Calls: [] 166 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 167 | Culture=neutral, PublicKeyToken=null 168 | --- !u!222 &222281675178813080 169 | CanvasRenderer: 170 | m_ObjectHideFlags: 1 171 | m_CorrespondingSourceObject: {fileID: 0} 172 | m_PrefabInternal: {fileID: 100100000} 173 | m_GameObject: {fileID: 1703303561323484} 174 | m_CullTransparentMesh: 0 175 | --- !u!222 &222362739510761322 176 | CanvasRenderer: 177 | m_ObjectHideFlags: 1 178 | m_CorrespondingSourceObject: {fileID: 0} 179 | m_PrefabInternal: {fileID: 100100000} 180 | m_GameObject: {fileID: 1617492754795502} 181 | m_CullTransparentMesh: 0 182 | --- !u!224 &224269059662225402 183 | RectTransform: 184 | m_ObjectHideFlags: 1 185 | m_CorrespondingSourceObject: {fileID: 0} 186 | m_PrefabInternal: {fileID: 100100000} 187 | m_GameObject: {fileID: 1617492754795502} 188 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 189 | m_LocalPosition: {x: 0, y: 0, z: 0} 190 | m_LocalScale: {x: 1, y: 1, z: 1} 191 | m_Children: [] 192 | m_Father: {fileID: 224739566112570662} 193 | m_RootOrder: 0 194 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 195 | m_AnchorMin: {x: 1, y: 0.5} 196 | m_AnchorMax: {x: 1, y: 0.5} 197 | m_AnchoredPosition: {x: 0, y: 0} 198 | m_SizeDelta: {x: 75, y: 200} 199 | m_Pivot: {x: 0, y: 0.5} 200 | --- !u!224 &224739566112570662 201 | RectTransform: 202 | m_ObjectHideFlags: 1 203 | m_CorrespondingSourceObject: {fileID: 0} 204 | m_PrefabInternal: {fileID: 100100000} 205 | m_GameObject: {fileID: 1703303561323484} 206 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 207 | m_LocalPosition: {x: 0, y: 0, z: 0} 208 | m_LocalScale: {x: 1, y: 1, z: 1} 209 | m_Children: 210 | - {fileID: 224269059662225402} 211 | m_Father: {fileID: 0} 212 | m_RootOrder: 0 213 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 214 | m_AnchorMin: {x: 0, y: 0} 215 | m_AnchorMax: {x: 0, y: 1} 216 | m_AnchoredPosition: {x: 0, y: 0} 217 | m_SizeDelta: {x: 500, y: 0} 218 | m_Pivot: {x: 1, y: 0.5} 219 | -------------------------------------------------------------------------------- /Prefabs/Side-Menu (Left).prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0c460c7e3992194cb7ab7bc605d6985 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Prefabs/Side-Menu (Right).prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_SourcePrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1643238872510216} 13 | m_IsPrefabAsset: 1 14 | --- !u!1 &1643238872510216 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_CorrespondingSourceObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 6 20 | m_Component: 21 | - component: {fileID: 224298845508465166} 22 | - component: {fileID: 222218361764712030} 23 | - component: {fileID: 114223209917575566} 24 | - component: {fileID: 114391740051412794} 25 | m_Layer: 0 26 | m_Name: Right Side-Menu 27 | m_TagString: Untagged 28 | m_Icon: {fileID: 0} 29 | m_NavMeshLayer: 0 30 | m_StaticEditorFlags: 0 31 | m_IsActive: 1 32 | --- !u!1 &1847745327118524 33 | GameObject: 34 | m_ObjectHideFlags: 0 35 | m_CorrespondingSourceObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | serializedVersion: 6 38 | m_Component: 39 | - component: {fileID: 224199991708696308} 40 | - component: {fileID: 222035568287369526} 41 | - component: {fileID: 114365188095310192} 42 | - component: {fileID: 114281505676975228} 43 | m_Layer: 0 44 | m_Name: Handle 45 | m_TagString: Untagged 46 | m_Icon: {fileID: 0} 47 | m_NavMeshLayer: 0 48 | m_StaticEditorFlags: 0 49 | m_IsActive: 1 50 | --- !u!114 &114223209917575566 51 | MonoBehaviour: 52 | m_ObjectHideFlags: 1 53 | m_CorrespondingSourceObject: {fileID: 0} 54 | m_PrefabInternal: {fileID: 100100000} 55 | m_GameObject: {fileID: 1643238872510216} 56 | m_Enabled: 1 57 | m_EditorHideFlags: 0 58 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 59 | m_Name: 60 | m_EditorClassIdentifier: 61 | m_Material: {fileID: 0} 62 | m_Color: {r: 1, g: 1, b: 1, a: 1} 63 | m_RaycastTarget: 1 64 | m_OnCullStateChanged: 65 | m_PersistentCalls: 66 | m_Calls: [] 67 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 68 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 69 | m_Sprite: {fileID: 0} 70 | m_Type: 0 71 | m_PreserveAspect: 0 72 | m_FillCenter: 1 73 | m_FillMethod: 4 74 | m_FillAmount: 1 75 | m_FillClockwise: 1 76 | m_FillOrigin: 0 77 | --- !u!114 &114281505676975228 78 | MonoBehaviour: 79 | m_ObjectHideFlags: 1 80 | m_CorrespondingSourceObject: {fileID: 0} 81 | m_PrefabInternal: {fileID: 100100000} 82 | m_GameObject: {fileID: 1847745327118524} 83 | m_Enabled: 1 84 | m_EditorHideFlags: 0 85 | m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} 86 | m_Name: 87 | m_EditorClassIdentifier: 88 | m_Navigation: 89 | m_Mode: 3 90 | m_SelectOnUp: {fileID: 0} 91 | m_SelectOnDown: {fileID: 0} 92 | m_SelectOnLeft: {fileID: 0} 93 | m_SelectOnRight: {fileID: 0} 94 | m_Transition: 1 95 | m_Colors: 96 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 97 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 98 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 99 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 100 | m_ColorMultiplier: 1 101 | m_FadeDuration: 0.1 102 | m_SpriteState: 103 | m_HighlightedSprite: {fileID: 0} 104 | m_PressedSprite: {fileID: 0} 105 | m_DisabledSprite: {fileID: 0} 106 | m_AnimationTriggers: 107 | m_NormalTrigger: Normal 108 | m_HighlightedTrigger: Highlighted 109 | m_PressedTrigger: Pressed 110 | m_DisabledTrigger: Disabled 111 | m_Interactable: 1 112 | m_TargetGraphic: {fileID: 114365188095310192} 113 | m_OnClick: 114 | m_PersistentCalls: 115 | m_Calls: [] 116 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 117 | Culture=neutral, PublicKeyToken=null 118 | --- !u!114 &114365188095310192 119 | MonoBehaviour: 120 | m_ObjectHideFlags: 1 121 | m_CorrespondingSourceObject: {fileID: 0} 122 | m_PrefabInternal: {fileID: 100100000} 123 | m_GameObject: {fileID: 1847745327118524} 124 | m_Enabled: 1 125 | m_EditorHideFlags: 0 126 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 127 | m_Name: 128 | m_EditorClassIdentifier: 129 | m_Material: {fileID: 0} 130 | m_Color: {r: 1, g: 1, b: 1, a: 1} 131 | m_RaycastTarget: 1 132 | m_OnCullStateChanged: 133 | m_PersistentCalls: 134 | m_Calls: [] 135 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 136 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 137 | m_Sprite: {fileID: 0} 138 | m_Type: 0 139 | m_PreserveAspect: 0 140 | m_FillCenter: 1 141 | m_FillMethod: 4 142 | m_FillAmount: 1 143 | m_FillClockwise: 1 144 | m_FillOrigin: 0 145 | --- !u!114 &114391740051412794 146 | MonoBehaviour: 147 | m_ObjectHideFlags: 1 148 | m_CorrespondingSourceObject: {fileID: 0} 149 | m_PrefabInternal: {fileID: 100100000} 150 | m_GameObject: {fileID: 1643238872510216} 151 | m_Enabled: 1 152 | m_EditorHideFlags: 0 153 | m_Script: {fileID: 11500000, guid: 190b06ff4a9418848ae9320a01c38075, type: 3} 154 | m_Name: 155 | m_EditorClassIdentifier: 156 | placement: 1 157 | defaultState: 0 158 | transitionSpeed: 10 159 | thresholdDragSpeed: 0 160 | thresholdDraggedFraction: 0.5 161 | handle: {fileID: 1847745327118524} 162 | handleDraggable: 1 163 | menuDraggable: 0 164 | handleToggleStateOnPressed: 1 165 | useOverlay: 1 166 | overlayColour: {r: 0, g: 0, b: 0, a: 0.25} 167 | overlayCloseOnPressed: 1 168 | --- !u!222 &222035568287369526 169 | CanvasRenderer: 170 | m_ObjectHideFlags: 1 171 | m_CorrespondingSourceObject: {fileID: 0} 172 | m_PrefabInternal: {fileID: 100100000} 173 | m_GameObject: {fileID: 1847745327118524} 174 | m_CullTransparentMesh: 0 175 | --- !u!222 &222218361764712030 176 | CanvasRenderer: 177 | m_ObjectHideFlags: 1 178 | m_CorrespondingSourceObject: {fileID: 0} 179 | m_PrefabInternal: {fileID: 100100000} 180 | m_GameObject: {fileID: 1643238872510216} 181 | m_CullTransparentMesh: 0 182 | --- !u!224 &224199991708696308 183 | RectTransform: 184 | m_ObjectHideFlags: 1 185 | m_CorrespondingSourceObject: {fileID: 0} 186 | m_PrefabInternal: {fileID: 100100000} 187 | m_GameObject: {fileID: 1847745327118524} 188 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 189 | m_LocalPosition: {x: 0, y: 0, z: 0} 190 | m_LocalScale: {x: 1, y: 1, z: 1} 191 | m_Children: [] 192 | m_Father: {fileID: 224298845508465166} 193 | m_RootOrder: 0 194 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 195 | m_AnchorMin: {x: 0, y: 0.5} 196 | m_AnchorMax: {x: 0, y: 0.5} 197 | m_AnchoredPosition: {x: 0, y: 0} 198 | m_SizeDelta: {x: 75, y: 200} 199 | m_Pivot: {x: 1, y: 0.5} 200 | --- !u!224 &224298845508465166 201 | RectTransform: 202 | m_ObjectHideFlags: 1 203 | m_CorrespondingSourceObject: {fileID: 0} 204 | m_PrefabInternal: {fileID: 100100000} 205 | m_GameObject: {fileID: 1643238872510216} 206 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 207 | m_LocalPosition: {x: 0, y: 0, z: 0} 208 | m_LocalScale: {x: 1, y: 1, z: 1} 209 | m_Children: 210 | - {fileID: 224199991708696308} 211 | m_Father: {fileID: 0} 212 | m_RootOrder: 0 213 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 214 | m_AnchorMin: {x: 1, y: 0} 215 | m_AnchorMax: {x: 1, y: 1} 216 | m_AnchoredPosition: {x: 0, y: 0} 217 | m_SizeDelta: {x: 500, y: 0} 218 | m_Pivot: {x: 0, y: 0.5} 219 | -------------------------------------------------------------------------------- /Prefabs/Side-Menu (Right).prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bbf5de98e82ccbf4c92df4cb9d3af1cb 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Prefabs/Side-Menu (Top).prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_SourcePrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1308947231213726} 13 | m_IsPrefabAsset: 1 14 | --- !u!1 &1308947231213726 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_CorrespondingSourceObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 6 20 | m_Component: 21 | - component: {fileID: 224362795772995722} 22 | - component: {fileID: 222630575778068298} 23 | - component: {fileID: 114788763990179640} 24 | - component: {fileID: 114947413277446566} 25 | m_Layer: 0 26 | m_Name: Top Side-Menu 27 | m_TagString: Untagged 28 | m_Icon: {fileID: 0} 29 | m_NavMeshLayer: 0 30 | m_StaticEditorFlags: 0 31 | m_IsActive: 1 32 | --- !u!1 &1488910359897736 33 | GameObject: 34 | m_ObjectHideFlags: 0 35 | m_CorrespondingSourceObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | serializedVersion: 6 38 | m_Component: 39 | - component: {fileID: 224809142148751338} 40 | - component: {fileID: 222726592845527288} 41 | - component: {fileID: 114499348461821820} 42 | - component: {fileID: 114747334544572058} 43 | m_Layer: 0 44 | m_Name: Handle 45 | m_TagString: Untagged 46 | m_Icon: {fileID: 0} 47 | m_NavMeshLayer: 0 48 | m_StaticEditorFlags: 0 49 | m_IsActive: 1 50 | --- !u!114 &114499348461821820 51 | MonoBehaviour: 52 | m_ObjectHideFlags: 1 53 | m_CorrespondingSourceObject: {fileID: 0} 54 | m_PrefabInternal: {fileID: 100100000} 55 | m_GameObject: {fileID: 1488910359897736} 56 | m_Enabled: 1 57 | m_EditorHideFlags: 0 58 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 59 | m_Name: 60 | m_EditorClassIdentifier: 61 | m_Material: {fileID: 0} 62 | m_Color: {r: 1, g: 1, b: 1, a: 1} 63 | m_RaycastTarget: 1 64 | m_OnCullStateChanged: 65 | m_PersistentCalls: 66 | m_Calls: [] 67 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 68 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 69 | m_Sprite: {fileID: 0} 70 | m_Type: 0 71 | m_PreserveAspect: 0 72 | m_FillCenter: 1 73 | m_FillMethod: 4 74 | m_FillAmount: 1 75 | m_FillClockwise: 1 76 | m_FillOrigin: 0 77 | --- !u!114 &114747334544572058 78 | MonoBehaviour: 79 | m_ObjectHideFlags: 1 80 | m_CorrespondingSourceObject: {fileID: 0} 81 | m_PrefabInternal: {fileID: 100100000} 82 | m_GameObject: {fileID: 1488910359897736} 83 | m_Enabled: 1 84 | m_EditorHideFlags: 0 85 | m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} 86 | m_Name: 87 | m_EditorClassIdentifier: 88 | m_Navigation: 89 | m_Mode: 3 90 | m_SelectOnUp: {fileID: 0} 91 | m_SelectOnDown: {fileID: 0} 92 | m_SelectOnLeft: {fileID: 0} 93 | m_SelectOnRight: {fileID: 0} 94 | m_Transition: 1 95 | m_Colors: 96 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 97 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 98 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 99 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 100 | m_ColorMultiplier: 1 101 | m_FadeDuration: 0.1 102 | m_SpriteState: 103 | m_HighlightedSprite: {fileID: 0} 104 | m_PressedSprite: {fileID: 0} 105 | m_DisabledSprite: {fileID: 0} 106 | m_AnimationTriggers: 107 | m_NormalTrigger: Normal 108 | m_HighlightedTrigger: Highlighted 109 | m_PressedTrigger: Pressed 110 | m_DisabledTrigger: Disabled 111 | m_Interactable: 1 112 | m_TargetGraphic: {fileID: 114499348461821820} 113 | m_OnClick: 114 | m_PersistentCalls: 115 | m_Calls: [] 116 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 117 | Culture=neutral, PublicKeyToken=null 118 | --- !u!114 &114788763990179640 119 | MonoBehaviour: 120 | m_ObjectHideFlags: 1 121 | m_CorrespondingSourceObject: {fileID: 0} 122 | m_PrefabInternal: {fileID: 100100000} 123 | m_GameObject: {fileID: 1308947231213726} 124 | m_Enabled: 1 125 | m_EditorHideFlags: 0 126 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 127 | m_Name: 128 | m_EditorClassIdentifier: 129 | m_Material: {fileID: 0} 130 | m_Color: {r: 1, g: 1, b: 1, a: 1} 131 | m_RaycastTarget: 1 132 | m_OnCullStateChanged: 133 | m_PersistentCalls: 134 | m_Calls: [] 135 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 136 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 137 | m_Sprite: {fileID: 0} 138 | m_Type: 0 139 | m_PreserveAspect: 0 140 | m_FillCenter: 1 141 | m_FillMethod: 4 142 | m_FillAmount: 1 143 | m_FillClockwise: 1 144 | m_FillOrigin: 0 145 | --- !u!114 &114947413277446566 146 | MonoBehaviour: 147 | m_ObjectHideFlags: 1 148 | m_CorrespondingSourceObject: {fileID: 0} 149 | m_PrefabInternal: {fileID: 100100000} 150 | m_GameObject: {fileID: 1308947231213726} 151 | m_Enabled: 1 152 | m_EditorHideFlags: 0 153 | m_Script: {fileID: 11500000, guid: 190b06ff4a9418848ae9320a01c38075, type: 3} 154 | m_Name: 155 | m_EditorClassIdentifier: 156 | placement: 2 157 | defaultState: 0 158 | transitionSpeed: 10 159 | thresholdDragSpeed: 0 160 | thresholdDraggedFraction: 0.5 161 | handle: {fileID: 1488910359897736} 162 | handleDraggable: 1 163 | menuDraggable: 0 164 | handleToggleStateOnPressed: 1 165 | useOverlay: 1 166 | overlayColour: {r: 0, g: 0, b: 0, a: 0.25} 167 | overlayCloseOnPressed: 1 168 | --- !u!222 &222630575778068298 169 | CanvasRenderer: 170 | m_ObjectHideFlags: 1 171 | m_CorrespondingSourceObject: {fileID: 0} 172 | m_PrefabInternal: {fileID: 100100000} 173 | m_GameObject: {fileID: 1308947231213726} 174 | m_CullTransparentMesh: 0 175 | --- !u!222 &222726592845527288 176 | CanvasRenderer: 177 | m_ObjectHideFlags: 1 178 | m_CorrespondingSourceObject: {fileID: 0} 179 | m_PrefabInternal: {fileID: 100100000} 180 | m_GameObject: {fileID: 1488910359897736} 181 | m_CullTransparentMesh: 0 182 | --- !u!224 &224362795772995722 183 | RectTransform: 184 | m_ObjectHideFlags: 1 185 | m_CorrespondingSourceObject: {fileID: 0} 186 | m_PrefabInternal: {fileID: 100100000} 187 | m_GameObject: {fileID: 1308947231213726} 188 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 189 | m_LocalPosition: {x: 0, y: 0, z: 0} 190 | m_LocalScale: {x: 1, y: 1, z: 1} 191 | m_Children: 192 | - {fileID: 224809142148751338} 193 | m_Father: {fileID: 0} 194 | m_RootOrder: 0 195 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 196 | m_AnchorMin: {x: 0, y: 1} 197 | m_AnchorMax: {x: 1, y: 1} 198 | m_AnchoredPosition: {x: 0, y: 0} 199 | m_SizeDelta: {x: 0, y: 500} 200 | m_Pivot: {x: 0.5, y: 0} 201 | --- !u!224 &224809142148751338 202 | RectTransform: 203 | m_ObjectHideFlags: 1 204 | m_CorrespondingSourceObject: {fileID: 0} 205 | m_PrefabInternal: {fileID: 100100000} 206 | m_GameObject: {fileID: 1488910359897736} 207 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 208 | m_LocalPosition: {x: 0, y: 0, z: 0} 209 | m_LocalScale: {x: 1, y: 1, z: 1} 210 | m_Children: [] 211 | m_Father: {fileID: 224362795772995722} 212 | m_RootOrder: 0 213 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 214 | m_AnchorMin: {x: 0.5, y: 0} 215 | m_AnchorMax: {x: 0.5, y: 0} 216 | m_AnchoredPosition: {x: 0, y: 0} 217 | m_SizeDelta: {x: 200, y: 75} 218 | m_Pivot: {x: 0.5, y: 1} 219 | -------------------------------------------------------------------------------- /Prefabs/Side-Menu (Top).prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0e5bb096e860324685b59b94fe71bbd 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Simple Side-Menu

2 |

3 | 4 |

5 |

"Simple Side-Menu" is a simple solution to adding sliding side menus into your Unity project which work extremely well for both mobile and desktop applications.

6 |

Try out the demo here. 7 | 8 | ## Features: 9 | - Easy to use and highly customizable. 10 | - Mouse (desktop) and touch (mobile) support. 11 | - Ability to place the menu on the left, right, top or bottom of the screen. 12 | - Control over when the menu is able to change state (based on the threshold drag speed and/or fraction), and how it changes state (by adjusting the transition speed as well as determining whether a handle, a button and/or the menu (itself) can be used to open/close the menu). 13 | - Customizable overlay that fades in based on the side menu’s state progress that can be used to close the menu when pressed. 14 | - Assign methods to be invoked while a state is being selected, is selected, is being changed or has changed. 15 | - ... and much more! 16 | 17 | ## Included: 18 | - Two example projects (Clash of Clans and Google Maps). 19 | - Ready-to-use prefabs (Left, Right, Top and Bottom Side-Menus). 20 | - In-depth offline documentation. 21 | 22 | ## Help: 23 | In the event you are unable to find the information you are looking for or have found a bug, please raise an issue here or post a question in the [Discord server](https://discord.gg/sJysbdu). 24 | -------------------------------------------------------------------------------- /README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afb85de1155ec8247be9254ad8496b39 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5717a3a12cd55b84fb1e30c114c71fba 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scripts/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c394103597541b439a09185af49d398 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scripts/Core/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d25e2039ecef7242af0886aab2ec02c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scripts/Core/Editor/SSMCopyrightEditor.cs: -------------------------------------------------------------------------------- 1 | // Simple Side-Menu - https://assetstore.unity.com/packages/tools/gui/simple-side-menu-143623 2 | // Copyright (c) Daniel Lochner 3 | 4 | using UnityEditor; 5 | 6 | namespace DanielLochner.Assets.SimpleSideMenu 7 | { 8 | [CustomEditor(typeof(object), true)] 9 | [CanEditMultipleObjects] 10 | public class SSMCopyrightEditor : CopyrightEditor 11 | { 12 | public override string Product => "Simple Side-Menu"; 13 | public override string CopyrightHolder => "Daniel Lochner"; 14 | } 15 | } -------------------------------------------------------------------------------- /Scripts/Core/Editor/SSMCopyrightEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d40ed0d1cc022284ab41e46259189f3c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Scripts/Core/Editor/SimpleSideMenuEditor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SimpleSideMenuEditor", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:5661c44a7b046cd4cb4f6777a441f81d", 6 | "GUID:8ba351204c3a6df4aa826ac3f0423d50", 7 | "GUID:8a8c5dc53dc04e0448389944602a225f" 8 | ], 9 | "includePlatforms": [ 10 | "Editor" 11 | ], 12 | "excludePlatforms": [], 13 | "allowUnsafeCode": false, 14 | "overrideReferences": false, 15 | "precompiledReferences": [], 16 | "autoReferenced": true, 17 | "defineConstraints": [], 18 | "versionDefines": [], 19 | "noEngineReferences": false 20 | } -------------------------------------------------------------------------------- /Scripts/Core/Editor/SimpleSideMenuEditor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f840be6886e89e49ac3f76dfe1a8960 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Scripts/Core/Editor/SimpleSideMenuEditor.cs: -------------------------------------------------------------------------------- 1 | // Simple Side-Menu - https://assetstore.unity.com/packages/tools/gui/simple-side-menu-143623 2 | // Copyright (c) Daniel Lochner 3 | 4 | using UnityEditor; 5 | using UnityEngine; 6 | 7 | namespace DanielLochner.Assets.SimpleSideMenu 8 | { 9 | [CustomEditor(typeof(SimpleSideMenu))] 10 | public class SimpleSideMenuEditor : SSMCopyrightEditor 11 | { 12 | #region Fields 13 | private bool showBasicSettings = true, showDragSettings = true, showOverlaySettings = true, showEvents = false; 14 | private SerializedProperty placement, defaultState, transitionSpeed, thresholdDragSpeed, thresholdDragDistance, thresholdDraggedFraction, handle, isHandleDraggable, handleToggleStateOnPressed, isMenuDraggable, useOverlay, overlayColour, useBlur, blurMaterial, blurRadius, overlaySwipe, overlayRetractOnPressed, onStateChanged, onStateSelected, onStateChanging, onStateSelecting; 15 | private SimpleSideMenu sideMenu; 16 | private State editorState; 17 | #endregion 18 | 19 | #region Methods 20 | private void OnEnable() 21 | { 22 | sideMenu = target as SimpleSideMenu; 23 | 24 | #region Serialized Properties 25 | placement = serializedObject.FindProperty("placement"); 26 | defaultState = serializedObject.FindProperty("defaultState"); 27 | transitionSpeed = serializedObject.FindProperty("transitionSpeed"); 28 | thresholdDragSpeed = serializedObject.FindProperty("thresholdDragSpeed"); 29 | thresholdDraggedFraction = serializedObject.FindProperty("thresholdDraggedFraction"); 30 | handle = serializedObject.FindProperty("handle"); 31 | isHandleDraggable = serializedObject.FindProperty("isHandleDraggable"); 32 | handleToggleStateOnPressed = serializedObject.FindProperty("handleToggleStateOnPressed"); 33 | isMenuDraggable = serializedObject.FindProperty("isMenuDraggable"); 34 | useOverlay = serializedObject.FindProperty("useOverlay"); 35 | overlayColour = serializedObject.FindProperty("overlayColour"); 36 | useBlur = serializedObject.FindProperty("useBlur"); 37 | blurMaterial = serializedObject.FindProperty("blurMaterial"); 38 | blurRadius = serializedObject.FindProperty("blurRadius"); 39 | overlayRetractOnPressed = serializedObject.FindProperty("overlayCloseOnPressed"); 40 | onStateSelected = serializedObject.FindProperty("onStateSelected"); 41 | onStateSelecting = serializedObject.FindProperty("onStateSelecting"); 42 | onStateChanging = serializedObject.FindProperty("onStateChanging"); 43 | onStateChanged = serializedObject.FindProperty("onStateChanged"); 44 | #endregion 45 | } 46 | public override void OnInspectorGUI() 47 | { 48 | serializedObject.Update(); 49 | 50 | ShowCopyrightNotice(); 51 | ShowCurrentStateSettings(); 52 | ShowBasicSettings(); 53 | ShowDragSettings(); 54 | ShowOverlaySettings(); 55 | ShowEvents(); 56 | 57 | serializedObject.ApplyModifiedProperties(); 58 | PrefabUtility.RecordPrefabInstancePropertyModifications(sideMenu); 59 | } 60 | 61 | private void ShowCurrentStateSettings() 62 | { 63 | editorState = (Application.isPlaying) ? sideMenu.TargetState : sideMenu.DefaultState; 64 | #region Close 65 | EditorGUILayout.BeginHorizontal(); 66 | using (new EditorGUI.DisabledScope(editorState == State.Closed)) 67 | { 68 | if (GUILayout.Button("Close")) 69 | { 70 | sideMenu.Close(); 71 | if (!Application.isPlaying) 72 | { 73 | sideMenu.DefaultState = State.Closed; 74 | } 75 | } 76 | } 77 | #endregion 78 | #region Toggle State 79 | if (GUILayout.Button("Toggle State")) 80 | { 81 | sideMenu.ToggleState(); 82 | if (!Application.isPlaying) 83 | { 84 | sideMenu.DefaultState = (sideMenu.DefaultState == State.Closed) ? State.Open : State.Closed; 85 | } 86 | } 87 | #endregion 88 | #region Open 89 | using (new EditorGUI.DisabledScope(editorState == State.Open)) 90 | { 91 | if (GUILayout.Button("Open")) 92 | { 93 | sideMenu.Open(); 94 | if (!Application.isPlaying) 95 | { 96 | sideMenu.DefaultState = State.Open; 97 | } 98 | } 99 | } 100 | EditorGUILayout.EndHorizontal(); 101 | EditorGUILayout.Space(); 102 | #endregion 103 | } 104 | private void ShowBasicSettings() 105 | { 106 | EditorLayoutUtility.Header(ref showBasicSettings, new GUIContent("Basic Settings")); 107 | if (showBasicSettings) 108 | { 109 | EditorGUILayout.PropertyField(placement, new GUIContent("Placement", "The position at which the menu will be placed, which determines how the menu will be opened and closed.")); 110 | EditorGUILayout.PropertyField(defaultState, new GUIContent("Default State", "Determines whether the menu will be open or closed by default.")); 111 | EditorGUILayout.PropertyField(transitionSpeed, new GUIContent("Transition Speed", "The speed at which the menu will snap into position when transitioning to the next state.")); 112 | } 113 | EditorGUILayout.Space(); 114 | } 115 | private void ShowDragSettings() 116 | { 117 | EditorLayoutUtility.Header(ref showDragSettings, new GUIContent("Drag Settings")); 118 | if (showDragSettings) 119 | { 120 | EditorGUILayout.PropertyField(thresholdDragSpeed, new GUIContent("Threshold Drag Speed", "The minimum speed required when dragging that will allow a transition to the next state to occur.")); 121 | EditorGUILayout.Slider(thresholdDraggedFraction, 0f, 1f, new GUIContent("Threshold Dragged Fraction", "The fraction of the fully opened menu that must be dragged before a transition will occur to the next state if the current drag speed does not exceed the threshold drag speed set.")); 122 | EditorGUILayout.ObjectField(handle, typeof(GameObject), new GUIContent("Handle", "(Optional) GameObject used to open and close the side menu by dragging or pressing (when a \"Button\" component has been added).")); 123 | if (sideMenu.Handle != null) 124 | { 125 | EditorGUI.indentLevel++; 126 | EditorGUILayout.PropertyField(isHandleDraggable, new GUIContent("Is Draggable", "Should the handle be able to be used to drag the Side-Menu?")); 127 | EditorGUILayout.PropertyField(handleToggleStateOnPressed, new GUIContent("Toggle State on Pressed", "Should the Side-Menu toggle its state (open/close) when the handle is pressed?")); 128 | EditorGUI.indentLevel--; 129 | } 130 | EditorGUILayout.PropertyField(isMenuDraggable, new GUIContent("Is Menu Draggable", "Should the Side-Menu (itself) be able to be used to drag the Side-Menu?")); 131 | } 132 | EditorGUILayout.Space(); 133 | } 134 | private void ShowOverlaySettings() 135 | { 136 | EditorLayoutUtility.Header(ref showOverlaySettings, new GUIContent("Overlay Settings")); 137 | if (showOverlaySettings) 138 | { 139 | EditorGUILayout.PropertyField(useOverlay, new GUIContent("Use Overlay", "Should an overlay be used when the Side-Menu is opened/closed?")); 140 | if (sideMenu.UseOverlay) 141 | { 142 | EditorGUI.indentLevel++; 143 | EditorGUILayout.PropertyField(overlayColour, new GUIContent("Colour", "The colour of the overlay when fully opened.")); 144 | EditorGUILayout.PropertyField(useBlur, new GUIContent("Use Blur", "Should a blur effect be applied to the overlay?")); 145 | if (sideMenu.UseBlur) 146 | { 147 | EditorGUI.indentLevel++; 148 | EditorGUILayout.PropertyField(blurMaterial, new GUIContent("Material", "The material applied to the background blur. For the default render pipeline, please use the material provided.")); 149 | EditorGUILayout.IntSlider(blurRadius, 0, 20, new GUIContent("Radius", "Set the radius of the blur (Warning: The larger the radius, the poorer the performance).")); 150 | EditorGUI.indentLevel--; 151 | } 152 | EditorGUILayout.PropertyField(overlayRetractOnPressed, new GUIContent("Close on Pressed", "Should the Side-Menu be closed when the overlay is pressed?")); 153 | EditorGUI.indentLevel--; 154 | } 155 | } 156 | EditorGUILayout.Space(); 157 | } 158 | private void ShowEvents() 159 | { 160 | EditorLayoutUtility.Header(ref showEvents, new GUIContent("Events")); 161 | if (showEvents) 162 | { 163 | EditorGUILayout.PropertyField(onStateSelecting); 164 | EditorGUILayout.PropertyField(onStateSelected); 165 | EditorGUILayout.PropertyField(onStateChanging); 166 | EditorGUILayout.PropertyField(onStateChanged); 167 | } 168 | } 169 | #endregion 170 | } 171 | } -------------------------------------------------------------------------------- /Scripts/Core/Editor/SimpleSideMenuEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a13eecbfd55d6d4a8f1f25dd48b8e24 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Scripts/Core/Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 351ab24488f5c7545a7836aa3764ad4a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scripts/Core/Runtime/Behaviours.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a66b6396ecc05874d9329689ac52e088 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scripts/Core/Runtime/Behaviours/SimpleSideMenu.cs: -------------------------------------------------------------------------------- 1 | // Simple Side-Menu - https://assetstore.unity.com/packages/tools/gui/simple-side-menu-143623 2 | // Copyright (c) Daniel Lochner 3 | 4 | using System; 5 | using UnityEngine; 6 | using UnityEngine.Events; 7 | using UnityEngine.EventSystems; 8 | using UnityEngine.UI; 9 | 10 | namespace DanielLochner.Assets.SimpleSideMenu 11 | { 12 | [AddComponentMenu("UI/Simple Side-Menu")] 13 | public class SimpleSideMenu : MonoBehaviour, IDragHandler, IBeginDragHandler, IEndDragHandler, IInitializePotentialDragHandler 14 | { 15 | #region Fields 16 | // Basic Settings 17 | [SerializeField] private Placement placement = Placement.Left; 18 | [SerializeField] private State defaultState = State.Closed; 19 | [SerializeField] private float transitionSpeed = 10f; 20 | 21 | // Drag Settings 22 | [SerializeField] private float thresholdDragSpeed = 0f; 23 | [SerializeField] private float thresholdDraggedFraction = 0.5f; 24 | [SerializeField] private GameObject handle = null; 25 | [SerializeField] private bool isHandleDraggable = true; 26 | [SerializeField] private bool isMenuDraggable = false; 27 | [SerializeField] private bool handleToggleStateOnPressed = true; 28 | 29 | // Overlay Settings 30 | [SerializeField] private bool useOverlay = true; 31 | [SerializeField] private Color overlayColour = new Color(0, 0, 0, 0.25f); 32 | [SerializeField] private bool useBlur = false; 33 | [SerializeField] private Material blurMaterial; 34 | [SerializeField] private int blurRadius = 10; 35 | [SerializeField] private bool overlayCloseOnPressed = true; 36 | 37 | // Events 38 | [SerializeField] private UnityEvent onStateSelecting = new UnityEvent(); 39 | [SerializeField] private UnityEvent onStateSelected = new UnityEvent(); 40 | [SerializeField] private UnityEvent onStateChanging = new UnityEvent(); 41 | [SerializeField] private UnityEvent onStateChanged = new UnityEvent(); 42 | 43 | private float previousTime; 44 | private bool isDragging, isPotentialDrag; 45 | private Vector2 closedPosition, openPosition, startPosition, releaseVelocity, dragVelocity, menuSize; 46 | private Vector3 previousPosition; 47 | private GameObject overlay, blur; 48 | private RectTransform rectTransform, canvasRectTransform; 49 | private Image overlayImage, blurImage; 50 | private CanvasScaler canvasScaler; 51 | private Canvas canvas; 52 | #endregion 53 | 54 | #region Properties 55 | public Placement Placement 56 | { 57 | get => placement; 58 | set => placement = value; 59 | } 60 | public State DefaultState 61 | { 62 | get => defaultState; 63 | set => defaultState = value; 64 | } 65 | public float TransitionSpeed 66 | { 67 | get => transitionSpeed; 68 | set => transitionSpeed = value; 69 | } 70 | public float ThresholdDragSpeed 71 | { 72 | get => thresholdDragSpeed; 73 | set => thresholdDragSpeed = value; 74 | } 75 | public float ThresholdDraggedFraction 76 | { 77 | get => thresholdDraggedFraction; 78 | set => thresholdDraggedFraction = value; 79 | } 80 | public GameObject Handle 81 | { 82 | get => handle; 83 | set => handle = value; 84 | } 85 | public bool HandleDraggable 86 | { 87 | get => isHandleDraggable; 88 | set => isHandleDraggable = value; 89 | } 90 | public bool MenuDraggable 91 | { 92 | get => isMenuDraggable; 93 | set => isMenuDraggable = value; 94 | } 95 | public bool HandleToggleStateOnPressed 96 | { 97 | get => handleToggleStateOnPressed; 98 | set => handleToggleStateOnPressed = value; 99 | } 100 | public bool UseOverlay 101 | { 102 | get => useOverlay; 103 | set => useOverlay = value; 104 | } 105 | public Color OverlayColour 106 | { 107 | get => overlayColour; 108 | set => overlayColour = value; 109 | } 110 | public bool UseBlur 111 | { 112 | get => useBlur; 113 | set => useBlur = value; 114 | } 115 | public int BlurRadius 116 | { 117 | get => blurRadius; 118 | set => blurRadius = value; 119 | } 120 | public bool OverlayCloseOnPressed 121 | { 122 | get => overlayCloseOnPressed; 123 | set => overlayCloseOnPressed = value; 124 | } 125 | public UnityEvent OnStateSelecting 126 | { 127 | get => onStateSelecting; 128 | } 129 | public UnityEvent OnStateSelected 130 | { 131 | get => onStateSelected; 132 | } 133 | public UnityEvent OnStateChanging 134 | { 135 | get => onStateChanged; 136 | } 137 | public UnityEvent OnStateChanged 138 | { 139 | get => onStateChanged; 140 | } 141 | 142 | public State CurrentState 143 | { 144 | get; 145 | private set; 146 | } 147 | public State TargetState 148 | { 149 | get; 150 | private set; 151 | } 152 | 153 | public float StateProgress 154 | { 155 | get 156 | { 157 | bool isLeftOrRight = (placement == Placement.Left) || (placement == Placement.Right); 158 | return ((rectTransform.anchoredPosition - closedPosition).magnitude / (isLeftOrRight ? rectTransform.rect.width : rectTransform.rect.height)); 159 | } 160 | } 161 | private bool IsValidConfig 162 | { 163 | get 164 | { 165 | bool valid = true; 166 | 167 | if (transitionSpeed <= 0) 168 | { 169 | Debug.LogError("[SimpleSideMenu] Transition speed cannot be less than or equal to zero.", gameObject); 170 | valid = false; 171 | } 172 | if (handle != null && isHandleDraggable && handle.transform.parent != rectTransform) 173 | { 174 | Debug.LogError("[SimpleSideMenu] The drag handle must be a child of the side menu in order for it to be draggable.", gameObject); 175 | valid = false; 176 | } 177 | if (handleToggleStateOnPressed && handle.GetComponent