├── Assets ├── Prefabs.meta ├── Prefabs │ ├── TwinSlider.meta │ └── TwinSlider │ │ ├── TwinSlider.cs │ │ ├── TwinSlider.cs.meta │ │ ├── TwinSlider.prefab │ │ └── TwinSlider.prefab.meta ├── Scenes.meta ├── Scenes │ ├── Demo.unity │ └── Demo.unity.meta ├── Scripts.meta └── Scripts │ ├── Demo.cs │ └── Demo.cs.meta ├── LICENSE ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset └── README.md /Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef15b6951e8054a279f7725ab2be31de 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/TwinSlider.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e2e6a0a86d2249118e52d6ab44e0b91 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/TwinSlider/TwinSlider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | 5 | namespace Mopsicus.TwinSlider { 6 | 7 | /// 8 | /// Twin slider with border limit 9 | /// 10 | public class TwinSlider : MonoBehaviour { 11 | 12 | /// 13 | /// Callback on slider change 14 | /// 15 | public Action OnSliderChange; 16 | 17 | /// 18 | /// First slider 19 | /// 20 | [SerializeField] 21 | private Slider SliderOne; 22 | 23 | /// 24 | /// Second slider 25 | /// 26 | [SerializeField] 27 | private Slider SliderTwo; 28 | 29 | /// 30 | /// Background image 31 | /// 32 | [SerializeField] 33 | private Image Background; 34 | 35 | /// 36 | /// Filler between sliders 37 | /// 38 | [SerializeField] 39 | private Image Filler; 40 | 41 | /// 42 | /// Filler color 43 | /// 44 | [SerializeField] 45 | private Color Color; 46 | 47 | /// 48 | /// Min sliders value 49 | /// 50 | public float Min = 0f; 51 | 52 | /// 53 | /// Max sliders value 54 | /// 55 | public float Max = 1f; 56 | 57 | /// 58 | /// Border limit between sliders 59 | /// 60 | public float Border = 3f; 61 | 62 | /// 63 | /// Filler rect cache 64 | /// 65 | private RectTransform _fillerRect; 66 | 67 | /// 68 | /// Half of common slider width 69 | /// 70 | private float _width; 71 | 72 | /// 73 | /// Constructor 74 | /// 75 | private void Awake () { 76 | _fillerRect = Filler.GetComponent (); 77 | _width = GetComponent ().sizeDelta.x / 2f; 78 | SliderOne.minValue = Min; 79 | SliderOne.maxValue = Max; 80 | SliderTwo.minValue = Min; 81 | SliderTwo.maxValue = Max; 82 | Filler.color = Color; 83 | if (OnSliderChange == null) { 84 | OnSliderChange += delegate { }; 85 | } 86 | } 87 | 88 | /// 89 | /// Callback on first slider change 90 | /// 91 | public void OnCorrectSliderOne (float value) { 92 | DrawFiller (SliderOne.handleRect.localPosition, SliderTwo.handleRect.localPosition); 93 | if (value > SliderTwo.value - Border) { 94 | SliderOne.value = SliderTwo.value - Border; 95 | } else { 96 | OnSliderChange.Invoke (SliderOne.value, SliderTwo.value); 97 | } 98 | } 99 | 100 | /// 101 | /// Callback on second slider change 102 | /// 103 | public void OnCorrectSliderTwo (float value) { 104 | DrawFiller (SliderOne.handleRect.localPosition, SliderTwo.handleRect.localPosition); 105 | if (value < SliderOne.value + Border) { 106 | SliderTwo.value = SliderOne.value + Border; 107 | } else { 108 | OnSliderChange.Invoke (SliderOne.value, SliderTwo.value); 109 | } 110 | } 111 | 112 | /// 113 | /// Draw filler 114 | /// 115 | /// Coords of first slider handle 116 | /// Coords of second slider handle 117 | void DrawFiller (Vector3 one, Vector3 two) { 118 | float left = Mathf.Abs (_width + one.x); 119 | float right = Mathf.Abs (_width - two.x); 120 | _fillerRect.offsetMax = new Vector2 (-right, 0f); 121 | _fillerRect.offsetMin = new Vector2 (left, 0f); 122 | } 123 | 124 | } 125 | 126 | } -------------------------------------------------------------------------------- /Assets/Prefabs/TwinSlider/TwinSlider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74943d92d33184cbca0f2f546931c40c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Prefabs/TwinSlider/TwinSlider.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: 1196493873774286} 13 | m_IsPrefabAsset: 1 14 | --- !u!1 &1005407248505312 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: 224398473651892900} 22 | - component: {fileID: 114466534890921500} 23 | m_Layer: 5 24 | m_Name: SliderOne 25 | m_TagString: Untagged 26 | m_Icon: {fileID: 0} 27 | m_NavMeshLayer: 0 28 | m_StaticEditorFlags: 0 29 | m_IsActive: 1 30 | --- !u!1 &1017362335299082 31 | GameObject: 32 | m_ObjectHideFlags: 0 33 | m_CorrespondingSourceObject: {fileID: 0} 34 | m_PrefabInternal: {fileID: 100100000} 35 | serializedVersion: 6 36 | m_Component: 37 | - component: {fileID: 224971647520198140} 38 | - component: {fileID: 222911654676500116} 39 | - component: {fileID: 114532022795898330} 40 | m_Layer: 5 41 | m_Name: Background 42 | m_TagString: Untagged 43 | m_Icon: {fileID: 0} 44 | m_NavMeshLayer: 0 45 | m_StaticEditorFlags: 0 46 | m_IsActive: 1 47 | --- !u!1 &1196493873774286 48 | GameObject: 49 | m_ObjectHideFlags: 0 50 | m_CorrespondingSourceObject: {fileID: 0} 51 | m_PrefabInternal: {fileID: 100100000} 52 | serializedVersion: 6 53 | m_Component: 54 | - component: {fileID: 224804020066960278} 55 | - component: {fileID: 114648218509591090} 56 | m_Layer: 5 57 | m_Name: TwinSlider 58 | m_TagString: Untagged 59 | m_Icon: {fileID: 0} 60 | m_NavMeshLayer: 0 61 | m_StaticEditorFlags: 0 62 | m_IsActive: 1 63 | --- !u!1 &1309404712263150 64 | GameObject: 65 | m_ObjectHideFlags: 1 66 | m_CorrespondingSourceObject: {fileID: 0} 67 | m_PrefabInternal: {fileID: 100100000} 68 | serializedVersion: 6 69 | m_Component: 70 | - component: {fileID: 224950581663618782} 71 | m_Layer: 5 72 | m_Name: Handle Slide Area 73 | m_TagString: Untagged 74 | m_Icon: {fileID: 0} 75 | m_NavMeshLayer: 0 76 | m_StaticEditorFlags: 0 77 | m_IsActive: 1 78 | --- !u!1 &1483730783582812 79 | GameObject: 80 | m_ObjectHideFlags: 1 81 | m_CorrespondingSourceObject: {fileID: 0} 82 | m_PrefabInternal: {fileID: 100100000} 83 | serializedVersion: 6 84 | m_Component: 85 | - component: {fileID: 224974322029632312} 86 | - component: {fileID: 222482745088109176} 87 | - component: {fileID: 114237836330235238} 88 | m_Layer: 5 89 | m_Name: Handle 90 | m_TagString: Untagged 91 | m_Icon: {fileID: 0} 92 | m_NavMeshLayer: 0 93 | m_StaticEditorFlags: 0 94 | m_IsActive: 1 95 | --- !u!1 &1505560912803438 96 | GameObject: 97 | m_ObjectHideFlags: 1 98 | m_CorrespondingSourceObject: {fileID: 0} 99 | m_PrefabInternal: {fileID: 100100000} 100 | serializedVersion: 6 101 | m_Component: 102 | - component: {fileID: 224588409829711262} 103 | m_Layer: 5 104 | m_Name: Handle Slide Area 105 | m_TagString: Untagged 106 | m_Icon: {fileID: 0} 107 | m_NavMeshLayer: 0 108 | m_StaticEditorFlags: 0 109 | m_IsActive: 1 110 | --- !u!1 &1537387682415632 111 | GameObject: 112 | m_ObjectHideFlags: 1 113 | m_CorrespondingSourceObject: {fileID: 0} 114 | m_PrefabInternal: {fileID: 100100000} 115 | serializedVersion: 6 116 | m_Component: 117 | - component: {fileID: 224317512761085004} 118 | - component: {fileID: 222486889383506878} 119 | - component: {fileID: 114287989643607318} 120 | m_Layer: 5 121 | m_Name: Handle 122 | m_TagString: Untagged 123 | m_Icon: {fileID: 0} 124 | m_NavMeshLayer: 0 125 | m_StaticEditorFlags: 0 126 | m_IsActive: 1 127 | --- !u!1 &1625344751163074 128 | GameObject: 129 | m_ObjectHideFlags: 0 130 | m_CorrespondingSourceObject: {fileID: 0} 131 | m_PrefabInternal: {fileID: 100100000} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 224045331931680454} 135 | - component: {fileID: 222493422392171710} 136 | - component: {fileID: 114694731791093052} 137 | m_Layer: 5 138 | m_Name: Filler 139 | m_TagString: Untagged 140 | m_Icon: {fileID: 0} 141 | m_NavMeshLayer: 0 142 | m_StaticEditorFlags: 0 143 | m_IsActive: 1 144 | --- !u!1 &1796775327466854 145 | GameObject: 146 | m_ObjectHideFlags: 0 147 | m_CorrespondingSourceObject: {fileID: 0} 148 | m_PrefabInternal: {fileID: 100100000} 149 | serializedVersion: 6 150 | m_Component: 151 | - component: {fileID: 224014051399437716} 152 | - component: {fileID: 114603423644071180} 153 | m_Layer: 5 154 | m_Name: SliderTwo 155 | m_TagString: Untagged 156 | m_Icon: {fileID: 0} 157 | m_NavMeshLayer: 0 158 | m_StaticEditorFlags: 0 159 | m_IsActive: 1 160 | --- !u!114 &114237836330235238 161 | MonoBehaviour: 162 | m_ObjectHideFlags: 1 163 | m_CorrespondingSourceObject: {fileID: 0} 164 | m_PrefabInternal: {fileID: 100100000} 165 | m_GameObject: {fileID: 1483730783582812} 166 | m_Enabled: 1 167 | m_EditorHideFlags: 0 168 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 169 | m_Name: 170 | m_EditorClassIdentifier: 171 | m_Material: {fileID: 0} 172 | m_Color: {r: 1, g: 1, b: 1, a: 1} 173 | m_RaycastTarget: 1 174 | m_OnCullStateChanged: 175 | m_PersistentCalls: 176 | m_Calls: [] 177 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 178 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 179 | m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} 180 | m_Type: 0 181 | m_PreserveAspect: 0 182 | m_FillCenter: 1 183 | m_FillMethod: 4 184 | m_FillAmount: 1 185 | m_FillClockwise: 1 186 | m_FillOrigin: 0 187 | --- !u!114 &114287989643607318 188 | MonoBehaviour: 189 | m_ObjectHideFlags: 1 190 | m_CorrespondingSourceObject: {fileID: 0} 191 | m_PrefabInternal: {fileID: 100100000} 192 | m_GameObject: {fileID: 1537387682415632} 193 | m_Enabled: 1 194 | m_EditorHideFlags: 0 195 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 196 | m_Name: 197 | m_EditorClassIdentifier: 198 | m_Material: {fileID: 0} 199 | m_Color: {r: 1, g: 1, b: 1, a: 1} 200 | m_RaycastTarget: 1 201 | m_OnCullStateChanged: 202 | m_PersistentCalls: 203 | m_Calls: [] 204 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 205 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 206 | m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} 207 | m_Type: 0 208 | m_PreserveAspect: 0 209 | m_FillCenter: 1 210 | m_FillMethod: 4 211 | m_FillAmount: 1 212 | m_FillClockwise: 1 213 | m_FillOrigin: 0 214 | --- !u!114 &114466534890921500 215 | MonoBehaviour: 216 | m_ObjectHideFlags: 1 217 | m_CorrespondingSourceObject: {fileID: 0} 218 | m_PrefabInternal: {fileID: 100100000} 219 | m_GameObject: {fileID: 1005407248505312} 220 | m_Enabled: 1 221 | m_EditorHideFlags: 0 222 | m_Script: {fileID: -113659843, guid: f70555f144d8491a825f0804e09c671c, type: 3} 223 | m_Name: 224 | m_EditorClassIdentifier: 225 | m_Navigation: 226 | m_Mode: 3 227 | m_SelectOnUp: {fileID: 0} 228 | m_SelectOnDown: {fileID: 0} 229 | m_SelectOnLeft: {fileID: 0} 230 | m_SelectOnRight: {fileID: 0} 231 | m_Transition: 1 232 | m_Colors: 233 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 234 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 235 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 236 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 237 | m_ColorMultiplier: 1 238 | m_FadeDuration: 0.1 239 | m_SpriteState: 240 | m_HighlightedSprite: {fileID: 0} 241 | m_PressedSprite: {fileID: 0} 242 | m_DisabledSprite: {fileID: 0} 243 | m_AnimationTriggers: 244 | m_NormalTrigger: Normal 245 | m_HighlightedTrigger: Highlighted 246 | m_PressedTrigger: Pressed 247 | m_DisabledTrigger: Disabled 248 | m_Interactable: 1 249 | m_TargetGraphic: {fileID: 114287989643607318} 250 | m_FillRect: {fileID: 0} 251 | m_HandleRect: {fileID: 224317512761085004} 252 | m_Direction: 0 253 | m_MinValue: 0 254 | m_MaxValue: 10 255 | m_WholeNumbers: 0 256 | m_Value: 0 257 | m_OnValueChanged: 258 | m_PersistentCalls: 259 | m_Calls: 260 | - m_Target: {fileID: 114648218509591090} 261 | m_MethodName: OnCorrectSliderOne 262 | m_Mode: 0 263 | m_Arguments: 264 | m_ObjectArgument: {fileID: 0} 265 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 266 | m_IntArgument: 0 267 | m_FloatArgument: 0 268 | m_StringArgument: 269 | m_BoolArgument: 0 270 | m_CallState: 2 271 | m_TypeName: UnityEngine.UI.Slider+SliderEvent, UnityEngine.UI, Version=1.0.0.0, 272 | Culture=neutral, PublicKeyToken=null 273 | --- !u!114 &114532022795898330 274 | MonoBehaviour: 275 | m_ObjectHideFlags: 1 276 | m_CorrespondingSourceObject: {fileID: 0} 277 | m_PrefabInternal: {fileID: 100100000} 278 | m_GameObject: {fileID: 1017362335299082} 279 | m_Enabled: 1 280 | m_EditorHideFlags: 0 281 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 282 | m_Name: 283 | m_EditorClassIdentifier: 284 | m_Material: {fileID: 0} 285 | m_Color: {r: 1, g: 1, b: 1, a: 1} 286 | m_RaycastTarget: 1 287 | m_OnCullStateChanged: 288 | m_PersistentCalls: 289 | m_Calls: [] 290 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 291 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 292 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 293 | m_Type: 1 294 | m_PreserveAspect: 0 295 | m_FillCenter: 1 296 | m_FillMethod: 4 297 | m_FillAmount: 1 298 | m_FillClockwise: 1 299 | m_FillOrigin: 0 300 | --- !u!114 &114603423644071180 301 | MonoBehaviour: 302 | m_ObjectHideFlags: 1 303 | m_CorrespondingSourceObject: {fileID: 0} 304 | m_PrefabInternal: {fileID: 100100000} 305 | m_GameObject: {fileID: 1796775327466854} 306 | m_Enabled: 1 307 | m_EditorHideFlags: 0 308 | m_Script: {fileID: -113659843, guid: f70555f144d8491a825f0804e09c671c, type: 3} 309 | m_Name: 310 | m_EditorClassIdentifier: 311 | m_Navigation: 312 | m_Mode: 3 313 | m_SelectOnUp: {fileID: 0} 314 | m_SelectOnDown: {fileID: 0} 315 | m_SelectOnLeft: {fileID: 0} 316 | m_SelectOnRight: {fileID: 0} 317 | m_Transition: 1 318 | m_Colors: 319 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 320 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 321 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 322 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 323 | m_ColorMultiplier: 1 324 | m_FadeDuration: 0.1 325 | m_SpriteState: 326 | m_HighlightedSprite: {fileID: 0} 327 | m_PressedSprite: {fileID: 0} 328 | m_DisabledSprite: {fileID: 0} 329 | m_AnimationTriggers: 330 | m_NormalTrigger: Normal 331 | m_HighlightedTrigger: Highlighted 332 | m_PressedTrigger: Pressed 333 | m_DisabledTrigger: Disabled 334 | m_Interactable: 1 335 | m_TargetGraphic: {fileID: 114237836330235238} 336 | m_FillRect: {fileID: 0} 337 | m_HandleRect: {fileID: 224974322029632312} 338 | m_Direction: 0 339 | m_MinValue: 0 340 | m_MaxValue: 10 341 | m_WholeNumbers: 0 342 | m_Value: 10 343 | m_OnValueChanged: 344 | m_PersistentCalls: 345 | m_Calls: 346 | - m_Target: {fileID: 114648218509591090} 347 | m_MethodName: OnCorrectSliderTwo 348 | m_Mode: 0 349 | m_Arguments: 350 | m_ObjectArgument: {fileID: 0} 351 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 352 | m_IntArgument: 0 353 | m_FloatArgument: 0 354 | m_StringArgument: 355 | m_BoolArgument: 0 356 | m_CallState: 2 357 | m_TypeName: UnityEngine.UI.Slider+SliderEvent, UnityEngine.UI, Version=1.0.0.0, 358 | Culture=neutral, PublicKeyToken=null 359 | --- !u!114 &114648218509591090 360 | MonoBehaviour: 361 | m_ObjectHideFlags: 1 362 | m_CorrespondingSourceObject: {fileID: 0} 363 | m_PrefabInternal: {fileID: 100100000} 364 | m_GameObject: {fileID: 1196493873774286} 365 | m_Enabled: 1 366 | m_EditorHideFlags: 0 367 | m_Script: {fileID: 11500000, guid: 74943d92d33184cbca0f2f546931c40c, type: 3} 368 | m_Name: 369 | m_EditorClassIdentifier: 370 | SliderOne: {fileID: 114466534890921500} 371 | SliderTwo: {fileID: 114603423644071180} 372 | Background: {fileID: 114532022795898330} 373 | Filler: {fileID: 114694731791093052} 374 | Color: {r: 0.9150943, g: 0.02158241, b: 0.02158241, a: 1} 375 | Min: 0 376 | Max: 10 377 | Border: 3 378 | --- !u!114 &114694731791093052 379 | MonoBehaviour: 380 | m_ObjectHideFlags: 1 381 | m_CorrespondingSourceObject: {fileID: 0} 382 | m_PrefabInternal: {fileID: 100100000} 383 | m_GameObject: {fileID: 1625344751163074} 384 | m_Enabled: 1 385 | m_EditorHideFlags: 0 386 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 387 | m_Name: 388 | m_EditorClassIdentifier: 389 | m_Material: {fileID: 0} 390 | m_Color: {r: 0.8962264, g: 0.15641688, b: 0.15641688, a: 1} 391 | m_RaycastTarget: 1 392 | m_OnCullStateChanged: 393 | m_PersistentCalls: 394 | m_Calls: [] 395 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 396 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 397 | m_Sprite: {fileID: 0} 398 | m_Type: 1 399 | m_PreserveAspect: 0 400 | m_FillCenter: 1 401 | m_FillMethod: 4 402 | m_FillAmount: 1 403 | m_FillClockwise: 1 404 | m_FillOrigin: 0 405 | --- !u!222 &222482745088109176 406 | CanvasRenderer: 407 | m_ObjectHideFlags: 1 408 | m_CorrespondingSourceObject: {fileID: 0} 409 | m_PrefabInternal: {fileID: 100100000} 410 | m_GameObject: {fileID: 1483730783582812} 411 | m_CullTransparentMesh: 0 412 | --- !u!222 &222486889383506878 413 | CanvasRenderer: 414 | m_ObjectHideFlags: 1 415 | m_CorrespondingSourceObject: {fileID: 0} 416 | m_PrefabInternal: {fileID: 100100000} 417 | m_GameObject: {fileID: 1537387682415632} 418 | m_CullTransparentMesh: 0 419 | --- !u!222 &222493422392171710 420 | CanvasRenderer: 421 | m_ObjectHideFlags: 1 422 | m_CorrespondingSourceObject: {fileID: 0} 423 | m_PrefabInternal: {fileID: 100100000} 424 | m_GameObject: {fileID: 1625344751163074} 425 | m_CullTransparentMesh: 0 426 | --- !u!222 &222911654676500116 427 | CanvasRenderer: 428 | m_ObjectHideFlags: 1 429 | m_CorrespondingSourceObject: {fileID: 0} 430 | m_PrefabInternal: {fileID: 100100000} 431 | m_GameObject: {fileID: 1017362335299082} 432 | m_CullTransparentMesh: 0 433 | --- !u!224 &224014051399437716 434 | RectTransform: 435 | m_ObjectHideFlags: 1 436 | m_CorrespondingSourceObject: {fileID: 0} 437 | m_PrefabInternal: {fileID: 100100000} 438 | m_GameObject: {fileID: 1796775327466854} 439 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 440 | m_LocalPosition: {x: 0, y: 0, z: 0} 441 | m_LocalScale: {x: 1, y: 1, z: 1} 442 | m_Children: 443 | - {fileID: 224950581663618782} 444 | m_Father: {fileID: 224804020066960278} 445 | m_RootOrder: 3 446 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 447 | m_AnchorMin: {x: 0, y: 0} 448 | m_AnchorMax: {x: 1, y: 1} 449 | m_AnchoredPosition: {x: 0, y: 0} 450 | m_SizeDelta: {x: 0, y: 0} 451 | m_Pivot: {x: 0.5, y: 0.5} 452 | --- !u!224 &224045331931680454 453 | RectTransform: 454 | m_ObjectHideFlags: 1 455 | m_CorrespondingSourceObject: {fileID: 0} 456 | m_PrefabInternal: {fileID: 100100000} 457 | m_GameObject: {fileID: 1625344751163074} 458 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 459 | m_LocalPosition: {x: 0, y: 0, z: 0} 460 | m_LocalScale: {x: 1, y: 1, z: 1} 461 | m_Children: [] 462 | m_Father: {fileID: 224804020066960278} 463 | m_RootOrder: 1 464 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 465 | m_AnchorMin: {x: 0, y: 0.25} 466 | m_AnchorMax: {x: 1, y: 0.75} 467 | m_AnchoredPosition: {x: 0, y: 0} 468 | m_SizeDelta: {x: 0, y: 0} 469 | m_Pivot: {x: 0.5, y: 0.5} 470 | --- !u!224 &224317512761085004 471 | RectTransform: 472 | m_ObjectHideFlags: 1 473 | m_CorrespondingSourceObject: {fileID: 0} 474 | m_PrefabInternal: {fileID: 100100000} 475 | m_GameObject: {fileID: 1537387682415632} 476 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 477 | m_LocalPosition: {x: 0, y: 0, z: 0} 478 | m_LocalScale: {x: 1, y: 1, z: 1} 479 | m_Children: [] 480 | m_Father: {fileID: 224588409829711262} 481 | m_RootOrder: 0 482 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 483 | m_AnchorMin: {x: 0, y: 0} 484 | m_AnchorMax: {x: 0, y: 1} 485 | m_AnchoredPosition: {x: 0, y: 0} 486 | m_SizeDelta: {x: 20, y: 0} 487 | m_Pivot: {x: 0.5, y: 0.5} 488 | --- !u!224 &224398473651892900 489 | RectTransform: 490 | m_ObjectHideFlags: 1 491 | m_CorrespondingSourceObject: {fileID: 0} 492 | m_PrefabInternal: {fileID: 100100000} 493 | m_GameObject: {fileID: 1005407248505312} 494 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 495 | m_LocalPosition: {x: 0, y: 0, z: 0} 496 | m_LocalScale: {x: 1, y: 1, z: 1} 497 | m_Children: 498 | - {fileID: 224588409829711262} 499 | m_Father: {fileID: 224804020066960278} 500 | m_RootOrder: 2 501 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 502 | m_AnchorMin: {x: 0, y: 0} 503 | m_AnchorMax: {x: 1, y: 1} 504 | m_AnchoredPosition: {x: 0, y: 0} 505 | m_SizeDelta: {x: 0, y: 0} 506 | m_Pivot: {x: 0.5, y: 0.5} 507 | --- !u!224 &224588409829711262 508 | RectTransform: 509 | m_ObjectHideFlags: 1 510 | m_CorrespondingSourceObject: {fileID: 0} 511 | m_PrefabInternal: {fileID: 100100000} 512 | m_GameObject: {fileID: 1505560912803438} 513 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 514 | m_LocalPosition: {x: 0, y: 0, z: 0} 515 | m_LocalScale: {x: 1, y: 1, z: 1} 516 | m_Children: 517 | - {fileID: 224317512761085004} 518 | m_Father: {fileID: 224398473651892900} 519 | m_RootOrder: 0 520 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 521 | m_AnchorMin: {x: 0, y: 0} 522 | m_AnchorMax: {x: 1, y: 1} 523 | m_AnchoredPosition: {x: 0, y: 0} 524 | m_SizeDelta: {x: 0, y: 0} 525 | m_Pivot: {x: 0.5, y: 0.5} 526 | --- !u!224 &224804020066960278 527 | RectTransform: 528 | m_ObjectHideFlags: 1 529 | m_CorrespondingSourceObject: {fileID: 0} 530 | m_PrefabInternal: {fileID: 100100000} 531 | m_GameObject: {fileID: 1196493873774286} 532 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 533 | m_LocalPosition: {x: 0, y: 0, z: 0} 534 | m_LocalScale: {x: 1, y: 1, z: 1} 535 | m_Children: 536 | - {fileID: 224971647520198140} 537 | - {fileID: 224045331931680454} 538 | - {fileID: 224398473651892900} 539 | - {fileID: 224014051399437716} 540 | m_Father: {fileID: 0} 541 | m_RootOrder: 0 542 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 543 | m_AnchorMin: {x: 0.5, y: 0.5} 544 | m_AnchorMax: {x: 0.5, y: 0.5} 545 | m_AnchoredPosition: {x: 0, y: 100} 546 | m_SizeDelta: {x: 500, y: 20} 547 | m_Pivot: {x: 0.5, y: 0.5} 548 | --- !u!224 &224950581663618782 549 | RectTransform: 550 | m_ObjectHideFlags: 1 551 | m_CorrespondingSourceObject: {fileID: 0} 552 | m_PrefabInternal: {fileID: 100100000} 553 | m_GameObject: {fileID: 1309404712263150} 554 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 555 | m_LocalPosition: {x: 0, y: 0, z: 0} 556 | m_LocalScale: {x: 1, y: 1, z: 1} 557 | m_Children: 558 | - {fileID: 224974322029632312} 559 | m_Father: {fileID: 224014051399437716} 560 | m_RootOrder: 0 561 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 562 | m_AnchorMin: {x: 0, y: 0} 563 | m_AnchorMax: {x: 1, y: 1} 564 | m_AnchoredPosition: {x: 0, y: 0} 565 | m_SizeDelta: {x: 0, y: 0} 566 | m_Pivot: {x: 0.5, y: 0.5} 567 | --- !u!224 &224971647520198140 568 | RectTransform: 569 | m_ObjectHideFlags: 1 570 | m_CorrespondingSourceObject: {fileID: 0} 571 | m_PrefabInternal: {fileID: 100100000} 572 | m_GameObject: {fileID: 1017362335299082} 573 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 574 | m_LocalPosition: {x: 0, y: 0, z: 0} 575 | m_LocalScale: {x: 1, y: 1, z: 1} 576 | m_Children: [] 577 | m_Father: {fileID: 224804020066960278} 578 | m_RootOrder: 0 579 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 580 | m_AnchorMin: {x: 0, y: 0.25} 581 | m_AnchorMax: {x: 1, y: 0.75} 582 | m_AnchoredPosition: {x: 0, y: 0} 583 | m_SizeDelta: {x: 0, y: 0} 584 | m_Pivot: {x: 0.5, y: 0.5} 585 | --- !u!224 &224974322029632312 586 | RectTransform: 587 | m_ObjectHideFlags: 1 588 | m_CorrespondingSourceObject: {fileID: 0} 589 | m_PrefabInternal: {fileID: 100100000} 590 | m_GameObject: {fileID: 1483730783582812} 591 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 592 | m_LocalPosition: {x: 0, y: 0, z: 0} 593 | m_LocalScale: {x: 1, y: 1, z: 1} 594 | m_Children: [] 595 | m_Father: {fileID: 224950581663618782} 596 | m_RootOrder: 0 597 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 598 | m_AnchorMin: {x: 1, y: 0} 599 | m_AnchorMax: {x: 1, y: 1} 600 | m_AnchoredPosition: {x: 0, y: 0} 601 | m_SizeDelta: {x: 20, y: 0} 602 | m_Pivot: {x: 0.5, y: 0.5} 603 | -------------------------------------------------------------------------------- /Assets/Prefabs/TwinSlider/TwinSlider.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 460984f0e714049d7bc1d18b507c0667 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 131a6b21c8605f84396be9f6751fb6e3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Demo.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 3 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_TemporalCoherenceThreshold: 1 54 | m_EnvironmentLightingMode: 0 55 | m_EnableBakedLightmaps: 0 56 | m_EnableRealtimeLightmaps: 0 57 | m_LightmapEditorSettings: 58 | serializedVersion: 10 59 | m_Resolution: 2 60 | m_BakeResolution: 40 61 | m_AtlasSize: 1024 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVRFilterTypeDirect: 0 81 | m_PVRFilterTypeIndirect: 0 82 | m_PVRFilterTypeAO: 0 83 | m_PVRFilteringMode: 1 84 | m_PVRCulling: 1 85 | m_PVRFilteringGaussRadiusDirect: 1 86 | m_PVRFilteringGaussRadiusIndirect: 5 87 | m_PVRFilteringGaussRadiusAO: 2 88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 90 | m_PVRFilteringAtrousPositionSigmaAO: 1 91 | m_ShowResolutionOverlay: 1 92 | m_LightingDataAsset: {fileID: 0} 93 | m_UseShadowmask: 1 94 | --- !u!196 &4 95 | NavMeshSettings: 96 | serializedVersion: 2 97 | m_ObjectHideFlags: 0 98 | m_BuildSettings: 99 | serializedVersion: 2 100 | agentTypeID: 0 101 | agentRadius: 0.5 102 | agentHeight: 2 103 | agentSlope: 45 104 | agentClimb: 0.4 105 | ledgeDropHeight: 0 106 | maxJumpAcrossDistance: 0 107 | minRegionArea: 2 108 | manualCellSize: 0 109 | cellSize: 0.16666667 110 | manualTileSize: 0 111 | tileSize: 256 112 | accuratePlacement: 0 113 | debug: 114 | m_Flags: 0 115 | m_NavMeshData: {fileID: 0} 116 | --- !u!1 &311115463 117 | GameObject: 118 | m_ObjectHideFlags: 0 119 | m_CorrespondingSourceObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 311115466} 124 | - component: {fileID: 311115465} 125 | - component: {fileID: 311115464} 126 | m_Layer: 5 127 | m_Name: ValuesText 128 | m_TagString: Untagged 129 | m_Icon: {fileID: 0} 130 | m_NavMeshLayer: 0 131 | m_StaticEditorFlags: 0 132 | m_IsActive: 1 133 | --- !u!114 &311115464 134 | MonoBehaviour: 135 | m_ObjectHideFlags: 0 136 | m_CorrespondingSourceObject: {fileID: 0} 137 | m_PrefabInternal: {fileID: 0} 138 | m_GameObject: {fileID: 311115463} 139 | m_Enabled: 1 140 | m_EditorHideFlags: 0 141 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 142 | m_Name: 143 | m_EditorClassIdentifier: 144 | m_Material: {fileID: 0} 145 | m_Color: {r: 1, g: 1, b: 1, a: 1} 146 | m_RaycastTarget: 1 147 | m_OnCullStateChanged: 148 | m_PersistentCalls: 149 | m_Calls: [] 150 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 151 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 152 | m_FontData: 153 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 154 | m_FontSize: 25 155 | m_FontStyle: 0 156 | m_BestFit: 0 157 | m_MinSize: 2 158 | m_MaxSize: 40 159 | m_Alignment: 4 160 | m_AlignByGeometry: 0 161 | m_RichText: 1 162 | m_HorizontalOverflow: 0 163 | m_VerticalOverflow: 0 164 | m_LineSpacing: 1 165 | m_Text: 166 | --- !u!222 &311115465 167 | CanvasRenderer: 168 | m_ObjectHideFlags: 0 169 | m_CorrespondingSourceObject: {fileID: 0} 170 | m_PrefabInternal: {fileID: 0} 171 | m_GameObject: {fileID: 311115463} 172 | m_CullTransparentMesh: 0 173 | --- !u!224 &311115466 174 | RectTransform: 175 | m_ObjectHideFlags: 0 176 | m_CorrespondingSourceObject: {fileID: 0} 177 | m_PrefabInternal: {fileID: 0} 178 | m_GameObject: {fileID: 311115463} 179 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 180 | m_LocalPosition: {x: 0, y: 0, z: 0} 181 | m_LocalScale: {x: 1, y: 1, z: 1} 182 | m_Children: [] 183 | m_Father: {fileID: 891134280} 184 | m_RootOrder: 2 185 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 186 | m_AnchorMin: {x: 0.5, y: 0.5} 187 | m_AnchorMax: {x: 0.5, y: 0.5} 188 | m_AnchoredPosition: {x: 0, y: 0} 189 | m_SizeDelta: {x: 500, y: 80} 190 | m_Pivot: {x: 0.5, y: 0.5} 191 | --- !u!1 &412609424 192 | GameObject: 193 | m_ObjectHideFlags: 0 194 | m_CorrespondingSourceObject: {fileID: 0} 195 | m_PrefabInternal: {fileID: 0} 196 | serializedVersion: 6 197 | m_Component: 198 | - component: {fileID: 412609425} 199 | - component: {fileID: 412609427} 200 | - component: {fileID: 412609426} 201 | m_Layer: 5 202 | m_Name: NameText 203 | m_TagString: Untagged 204 | m_Icon: {fileID: 0} 205 | m_NavMeshLayer: 0 206 | m_StaticEditorFlags: 0 207 | m_IsActive: 1 208 | --- !u!224 &412609425 209 | RectTransform: 210 | m_ObjectHideFlags: 0 211 | m_CorrespondingSourceObject: {fileID: 0} 212 | m_PrefabInternal: {fileID: 0} 213 | m_GameObject: {fileID: 412609424} 214 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 215 | m_LocalPosition: {x: 0, y: 0, z: 0} 216 | m_LocalScale: {x: 1, y: 1, z: 1} 217 | m_Children: [] 218 | m_Father: {fileID: 891134280} 219 | m_RootOrder: 0 220 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 221 | m_AnchorMin: {x: 0.5, y: 1} 222 | m_AnchorMax: {x: 0.5, y: 1} 223 | m_AnchoredPosition: {x: 0, y: -50} 224 | m_SizeDelta: {x: 200, y: 80} 225 | m_Pivot: {x: 0.5, y: 1} 226 | --- !u!114 &412609426 227 | MonoBehaviour: 228 | m_ObjectHideFlags: 0 229 | m_CorrespondingSourceObject: {fileID: 0} 230 | m_PrefabInternal: {fileID: 0} 231 | m_GameObject: {fileID: 412609424} 232 | m_Enabled: 1 233 | m_EditorHideFlags: 0 234 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 235 | m_Name: 236 | m_EditorClassIdentifier: 237 | m_Material: {fileID: 0} 238 | m_Color: {r: 1, g: 1, b: 1, a: 1} 239 | m_RaycastTarget: 1 240 | m_OnCullStateChanged: 241 | m_PersistentCalls: 242 | m_Calls: [] 243 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 244 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 245 | m_FontData: 246 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 247 | m_FontSize: 14 248 | m_FontStyle: 0 249 | m_BestFit: 0 250 | m_MinSize: 10 251 | m_MaxSize: 40 252 | m_Alignment: 4 253 | m_AlignByGeometry: 0 254 | m_RichText: 1 255 | m_HorizontalOverflow: 0 256 | m_VerticalOverflow: 0 257 | m_LineSpacing: 1 258 | m_Text: 'Unity twin slider 259 | 260 | mopsicus.ru' 261 | --- !u!222 &412609427 262 | CanvasRenderer: 263 | m_ObjectHideFlags: 0 264 | m_CorrespondingSourceObject: {fileID: 0} 265 | m_PrefabInternal: {fileID: 0} 266 | m_GameObject: {fileID: 412609424} 267 | m_CullTransparentMesh: 0 268 | --- !u!1 &519420028 269 | GameObject: 270 | m_ObjectHideFlags: 0 271 | m_CorrespondingSourceObject: {fileID: 0} 272 | m_PrefabInternal: {fileID: 0} 273 | serializedVersion: 6 274 | m_Component: 275 | - component: {fileID: 519420032} 276 | - component: {fileID: 519420031} 277 | - component: {fileID: 519420029} 278 | m_Layer: 0 279 | m_Name: Main Camera 280 | m_TagString: MainCamera 281 | m_Icon: {fileID: 0} 282 | m_NavMeshLayer: 0 283 | m_StaticEditorFlags: 0 284 | m_IsActive: 1 285 | --- !u!81 &519420029 286 | AudioListener: 287 | m_ObjectHideFlags: 0 288 | m_CorrespondingSourceObject: {fileID: 0} 289 | m_PrefabInternal: {fileID: 0} 290 | m_GameObject: {fileID: 519420028} 291 | m_Enabled: 1 292 | --- !u!20 &519420031 293 | Camera: 294 | m_ObjectHideFlags: 0 295 | m_CorrespondingSourceObject: {fileID: 0} 296 | m_PrefabInternal: {fileID: 0} 297 | m_GameObject: {fileID: 519420028} 298 | m_Enabled: 1 299 | serializedVersion: 2 300 | m_ClearFlags: 2 301 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 302 | m_projectionMatrixMode: 1 303 | m_SensorSize: {x: 36, y: 24} 304 | m_LensShift: {x: 0, y: 0} 305 | m_FocalLength: 50 306 | m_NormalizedViewPortRect: 307 | serializedVersion: 2 308 | x: 0 309 | y: 0 310 | width: 1 311 | height: 1 312 | near clip plane: 0.3 313 | far clip plane: 1000 314 | field of view: 60 315 | orthographic: 1 316 | orthographic size: 5 317 | m_Depth: -1 318 | m_CullingMask: 319 | serializedVersion: 2 320 | m_Bits: 4294967295 321 | m_RenderingPath: -1 322 | m_TargetTexture: {fileID: 0} 323 | m_TargetDisplay: 0 324 | m_TargetEye: 0 325 | m_HDR: 1 326 | m_AllowMSAA: 0 327 | m_AllowDynamicResolution: 0 328 | m_ForceIntoRT: 0 329 | m_OcclusionCulling: 0 330 | m_StereoConvergence: 10 331 | m_StereoSeparation: 0.022 332 | --- !u!4 &519420032 333 | Transform: 334 | m_ObjectHideFlags: 0 335 | m_CorrespondingSourceObject: {fileID: 0} 336 | m_PrefabInternal: {fileID: 0} 337 | m_GameObject: {fileID: 519420028} 338 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 339 | m_LocalPosition: {x: 0, y: 0, z: -10} 340 | m_LocalScale: {x: 1, y: 1, z: 1} 341 | m_Children: [] 342 | m_Father: {fileID: 0} 343 | m_RootOrder: 0 344 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 345 | --- !u!1 &891134279 346 | GameObject: 347 | m_ObjectHideFlags: 0 348 | m_CorrespondingSourceObject: {fileID: 0} 349 | m_PrefabInternal: {fileID: 0} 350 | serializedVersion: 6 351 | m_Component: 352 | - component: {fileID: 891134280} 353 | - component: {fileID: 891134283} 354 | - component: {fileID: 891134282} 355 | - component: {fileID: 891134281} 356 | m_Layer: 5 357 | m_Name: Canvas 358 | m_TagString: Untagged 359 | m_Icon: {fileID: 0} 360 | m_NavMeshLayer: 0 361 | m_StaticEditorFlags: 0 362 | m_IsActive: 1 363 | --- !u!224 &891134280 364 | RectTransform: 365 | m_ObjectHideFlags: 0 366 | m_CorrespondingSourceObject: {fileID: 0} 367 | m_PrefabInternal: {fileID: 0} 368 | m_GameObject: {fileID: 891134279} 369 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 370 | m_LocalPosition: {x: 0, y: 0, z: 0} 371 | m_LocalScale: {x: 0, y: 0, z: 0} 372 | m_Children: 373 | - {fileID: 412609425} 374 | - {fileID: 2098367651} 375 | - {fileID: 311115466} 376 | m_Father: {fileID: 0} 377 | m_RootOrder: 1 378 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 379 | m_AnchorMin: {x: 0, y: 0} 380 | m_AnchorMax: {x: 0, y: 0} 381 | m_AnchoredPosition: {x: 0, y: 0} 382 | m_SizeDelta: {x: 0, y: 0} 383 | m_Pivot: {x: 0, y: 0} 384 | --- !u!114 &891134281 385 | MonoBehaviour: 386 | m_ObjectHideFlags: 0 387 | m_CorrespondingSourceObject: {fileID: 0} 388 | m_PrefabInternal: {fileID: 0} 389 | m_GameObject: {fileID: 891134279} 390 | m_Enabled: 1 391 | m_EditorHideFlags: 0 392 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 393 | m_Name: 394 | m_EditorClassIdentifier: 395 | m_IgnoreReversedGraphics: 1 396 | m_BlockingObjects: 0 397 | m_BlockingMask: 398 | serializedVersion: 2 399 | m_Bits: 4294967295 400 | --- !u!114 &891134282 401 | MonoBehaviour: 402 | m_ObjectHideFlags: 0 403 | m_CorrespondingSourceObject: {fileID: 0} 404 | m_PrefabInternal: {fileID: 0} 405 | m_GameObject: {fileID: 891134279} 406 | m_Enabled: 1 407 | m_EditorHideFlags: 0 408 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 409 | m_Name: 410 | m_EditorClassIdentifier: 411 | m_UiScaleMode: 0 412 | m_ReferencePixelsPerUnit: 100 413 | m_ScaleFactor: 1 414 | m_ReferenceResolution: {x: 800, y: 600} 415 | m_ScreenMatchMode: 0 416 | m_MatchWidthOrHeight: 0 417 | m_PhysicalUnit: 3 418 | m_FallbackScreenDPI: 96 419 | m_DefaultSpriteDPI: 96 420 | m_DynamicPixelsPerUnit: 1 421 | --- !u!223 &891134283 422 | Canvas: 423 | m_ObjectHideFlags: 0 424 | m_CorrespondingSourceObject: {fileID: 0} 425 | m_PrefabInternal: {fileID: 0} 426 | m_GameObject: {fileID: 891134279} 427 | m_Enabled: 1 428 | serializedVersion: 3 429 | m_RenderMode: 0 430 | m_Camera: {fileID: 0} 431 | m_PlaneDistance: 100 432 | m_PixelPerfect: 0 433 | m_ReceivesEvents: 1 434 | m_OverrideSorting: 0 435 | m_OverridePixelPerfect: 0 436 | m_SortingBucketNormalizedSize: 0 437 | m_AdditionalShaderChannelsFlag: 0 438 | m_SortingLayerID: 0 439 | m_SortingOrder: 0 440 | m_TargetDisplay: 0 441 | --- !u!1 &1781914806 442 | GameObject: 443 | m_ObjectHideFlags: 0 444 | m_CorrespondingSourceObject: {fileID: 0} 445 | m_PrefabInternal: {fileID: 0} 446 | serializedVersion: 6 447 | m_Component: 448 | - component: {fileID: 1781914808} 449 | - component: {fileID: 1781914807} 450 | m_Layer: 0 451 | m_Name: Scripts 452 | m_TagString: Untagged 453 | m_Icon: {fileID: 0} 454 | m_NavMeshLayer: 0 455 | m_StaticEditorFlags: 0 456 | m_IsActive: 1 457 | --- !u!114 &1781914807 458 | MonoBehaviour: 459 | m_ObjectHideFlags: 0 460 | m_CorrespondingSourceObject: {fileID: 0} 461 | m_PrefabInternal: {fileID: 0} 462 | m_GameObject: {fileID: 1781914806} 463 | m_Enabled: 1 464 | m_EditorHideFlags: 0 465 | m_Script: {fileID: 11500000, guid: 49ae51022ac024c83b53a40719393dfb, type: 3} 466 | m_Name: 467 | m_EditorClassIdentifier: 468 | DemoSlider: {fileID: 2098367652} 469 | ValuesText: {fileID: 311115464} 470 | --- !u!4 &1781914808 471 | Transform: 472 | m_ObjectHideFlags: 0 473 | m_CorrespondingSourceObject: {fileID: 0} 474 | m_PrefabInternal: {fileID: 0} 475 | m_GameObject: {fileID: 1781914806} 476 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 477 | m_LocalPosition: {x: 0, y: 0, z: 0} 478 | m_LocalScale: {x: 1, y: 1, z: 1} 479 | m_Children: [] 480 | m_Father: {fileID: 0} 481 | m_RootOrder: 3 482 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 483 | --- !u!1 &1896416188 484 | GameObject: 485 | m_ObjectHideFlags: 0 486 | m_CorrespondingSourceObject: {fileID: 0} 487 | m_PrefabInternal: {fileID: 0} 488 | serializedVersion: 6 489 | m_Component: 490 | - component: {fileID: 1896416191} 491 | - component: {fileID: 1896416190} 492 | - component: {fileID: 1896416189} 493 | m_Layer: 0 494 | m_Name: EventSystem 495 | m_TagString: Untagged 496 | m_Icon: {fileID: 0} 497 | m_NavMeshLayer: 0 498 | m_StaticEditorFlags: 0 499 | m_IsActive: 1 500 | --- !u!114 &1896416189 501 | MonoBehaviour: 502 | m_ObjectHideFlags: 0 503 | m_CorrespondingSourceObject: {fileID: 0} 504 | m_PrefabInternal: {fileID: 0} 505 | m_GameObject: {fileID: 1896416188} 506 | m_Enabled: 1 507 | m_EditorHideFlags: 0 508 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 509 | m_Name: 510 | m_EditorClassIdentifier: 511 | m_HorizontalAxis: Horizontal 512 | m_VerticalAxis: Vertical 513 | m_SubmitButton: Submit 514 | m_CancelButton: Cancel 515 | m_InputActionsPerSecond: 10 516 | m_RepeatDelay: 0.5 517 | m_ForceModuleActive: 0 518 | --- !u!114 &1896416190 519 | MonoBehaviour: 520 | m_ObjectHideFlags: 0 521 | m_CorrespondingSourceObject: {fileID: 0} 522 | m_PrefabInternal: {fileID: 0} 523 | m_GameObject: {fileID: 1896416188} 524 | m_Enabled: 1 525 | m_EditorHideFlags: 0 526 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 527 | m_Name: 528 | m_EditorClassIdentifier: 529 | m_FirstSelected: {fileID: 0} 530 | m_sendNavigationEvents: 1 531 | m_DragThreshold: 10 532 | --- !u!4 &1896416191 533 | Transform: 534 | m_ObjectHideFlags: 0 535 | m_CorrespondingSourceObject: {fileID: 0} 536 | m_PrefabInternal: {fileID: 0} 537 | m_GameObject: {fileID: 1896416188} 538 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 539 | m_LocalPosition: {x: 0, y: 0, z: 0} 540 | m_LocalScale: {x: 1, y: 1, z: 1} 541 | m_Children: [] 542 | m_Father: {fileID: 0} 543 | m_RootOrder: 2 544 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 545 | --- !u!1001 &2098367650 546 | Prefab: 547 | m_ObjectHideFlags: 0 548 | serializedVersion: 2 549 | m_Modification: 550 | m_TransformParent: {fileID: 891134280} 551 | m_Modifications: 552 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 553 | type: 2} 554 | propertyPath: m_LocalPosition.x 555 | value: 0 556 | objectReference: {fileID: 0} 557 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 558 | type: 2} 559 | propertyPath: m_LocalPosition.y 560 | value: 0 561 | objectReference: {fileID: 0} 562 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 563 | type: 2} 564 | propertyPath: m_LocalPosition.z 565 | value: 0 566 | objectReference: {fileID: 0} 567 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 568 | type: 2} 569 | propertyPath: m_LocalRotation.x 570 | value: 0 571 | objectReference: {fileID: 0} 572 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 573 | type: 2} 574 | propertyPath: m_LocalRotation.y 575 | value: 0 576 | objectReference: {fileID: 0} 577 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 578 | type: 2} 579 | propertyPath: m_LocalRotation.z 580 | value: 0 581 | objectReference: {fileID: 0} 582 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 583 | type: 2} 584 | propertyPath: m_LocalRotation.w 585 | value: 1 586 | objectReference: {fileID: 0} 587 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 588 | type: 2} 589 | propertyPath: m_RootOrder 590 | value: 1 591 | objectReference: {fileID: 0} 592 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 593 | type: 2} 594 | propertyPath: m_AnchoredPosition.x 595 | value: 0 596 | objectReference: {fileID: 0} 597 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 598 | type: 2} 599 | propertyPath: m_AnchoredPosition.y 600 | value: 100 601 | objectReference: {fileID: 0} 602 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 603 | type: 2} 604 | propertyPath: m_SizeDelta.x 605 | value: 500 606 | objectReference: {fileID: 0} 607 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 608 | type: 2} 609 | propertyPath: m_SizeDelta.y 610 | value: 20 611 | objectReference: {fileID: 0} 612 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 613 | type: 2} 614 | propertyPath: m_AnchorMin.x 615 | value: 0.5 616 | objectReference: {fileID: 0} 617 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 618 | type: 2} 619 | propertyPath: m_AnchorMin.y 620 | value: 0.5 621 | objectReference: {fileID: 0} 622 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 623 | type: 2} 624 | propertyPath: m_AnchorMax.x 625 | value: 0.5 626 | objectReference: {fileID: 0} 627 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 628 | type: 2} 629 | propertyPath: m_AnchorMax.y 630 | value: 0.5 631 | objectReference: {fileID: 0} 632 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 633 | type: 2} 634 | propertyPath: m_Pivot.x 635 | value: 0.5 636 | objectReference: {fileID: 0} 637 | - target: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 638 | type: 2} 639 | propertyPath: m_Pivot.y 640 | value: 0.5 641 | objectReference: {fileID: 0} 642 | m_RemovedComponents: [] 643 | m_SourcePrefab: {fileID: 100100000, guid: 460984f0e714049d7bc1d18b507c0667, type: 2} 644 | m_IsPrefabAsset: 0 645 | --- !u!224 &2098367651 stripped 646 | RectTransform: 647 | m_CorrespondingSourceObject: {fileID: 224804020066960278, guid: 460984f0e714049d7bc1d18b507c0667, 648 | type: 2} 649 | m_PrefabInternal: {fileID: 2098367650} 650 | --- !u!114 &2098367652 stripped 651 | MonoBehaviour: 652 | m_CorrespondingSourceObject: {fileID: 114648218509591090, guid: 460984f0e714049d7bc1d18b507c0667, 653 | type: 2} 654 | m_PrefabInternal: {fileID: 2098367650} 655 | m_Script: {fileID: 11500000, guid: 74943d92d33184cbca0f2f546931c40c, type: 3} 656 | -------------------------------------------------------------------------------- /Assets/Scenes/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cda990e2423bbf4892e6590ba056729 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5fb67348bea1d4f4f96bfef25b38df05 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Demo.cs: -------------------------------------------------------------------------------- 1 | using Mopsicus.TwinSlider; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | 5 | public class Demo : MonoBehaviour { 6 | 7 | [SerializeField] 8 | private TwinSlider DemoSlider; 9 | 10 | [SerializeField] 11 | private Text ValuesText; 12 | 13 | private void Start () { 14 | DemoSlider.OnSliderChange += OnValuesChanges; 15 | } 16 | 17 | void OnValuesChanges (float value1, float value2) { 18 | ValuesText.text = string.Format ("value1 = {0}, value2 = {1}", value1, value2); 19 | } 20 | 21 | } -------------------------------------------------------------------------------- /Assets/Scripts/Demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49ae51022ac024c83b53a40719393dfb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Igor 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 2cda990e2423bbf4892e6590ba056729 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 1 11 | m_SpritePackerMode: 4 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 34 | m_PreloadedShaders: [] 35 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 36 | type: 0} 37 | m_CustomRenderPipeline: {fileID: 0} 38 | m_TransparencySortMode: 0 39 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 40 | m_DefaultRenderingPath: 1 41 | m_DefaultMobileRenderingPath: 1 42 | m_TierSettings: [] 43 | m_LightmapStripping: 0 44 | m_FogStripping: 0 45 | m_InstancingStripping: 0 46 | m_LightmapKeepPlain: 1 47 | m_LightmapKeepDirCombined: 1 48 | m_LightmapKeepDynamicPlain: 1 49 | m_LightmapKeepDynamicDirCombined: 1 50 | m_LightmapKeepShadowMask: 1 51 | m_LightmapKeepSubtractive: 1 52 | m_FogKeepLinear: 1 53 | m_FogKeepExp: 1 54 | m_FogKeepExp2: 1 55 | m_AlbedoSwatchInfos: [] 56 | m_LightsUseLinearIntensity: 0 57 | m_LightsUseColorTemperature: 0 58 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_AutoSyncTransforms: 1 46 | m_AlwaysShowColliders: 0 47 | m_ShowColliderSleep: 1 48 | m_ShowColliderContacts: 0 49 | m_ShowColliderAABB: 0 50 | m_ContactArrowScale: 0.2 51 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 52 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 53 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 54 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 55 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 56 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 20 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: bfcfc320427f8224bbb7a96f3d3aebad, 13 | type: 2} 14 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 15 7 | productGUID: 7659bde14b6404a5d8be40b0d30073f0 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: Twinslider 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidBlitType: 0 67 | defaultIsNativeResolution: 1 68 | macRetinaSupport: 1 69 | runInBackground: 1 70 | captureSingleScreen: 0 71 | muteOtherAudioSources: 0 72 | Prepare IOS For Recording: 0 73 | Force IOS Speakers When Recording: 0 74 | deferSystemGesturesMode: 0 75 | hideHomeButton: 0 76 | submitAnalytics: 1 77 | usePlayerLog: 1 78 | bakeCollisionMeshes: 0 79 | forceSingleInstance: 0 80 | resizableWindow: 0 81 | useMacAppStoreValidation: 0 82 | macAppStoreCategory: public.app-category.games 83 | gpuSkinning: 0 84 | graphicsJobs: 0 85 | xboxPIXTextureCapture: 0 86 | xboxEnableAvatar: 0 87 | xboxEnableKinect: 0 88 | xboxEnableKinectAutoTracking: 0 89 | xboxEnableFitness: 0 90 | visibleInBackground: 1 91 | allowFullscreenSwitch: 1 92 | graphicsJobMode: 0 93 | fullscreenMode: 1 94 | xboxSpeechDB: 0 95 | xboxEnableHeadOrientation: 0 96 | xboxEnableGuest: 0 97 | xboxEnablePIXSampling: 0 98 | metalFramebufferOnly: 0 99 | n3dsDisableStereoscopicView: 0 100 | n3dsEnableSharedListOpt: 1 101 | n3dsEnableVSync: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOnePresentImmediateThreshold: 0 109 | switchQueueCommandMemory: 0 110 | videoMemoryForVertexBuffers: 0 111 | psp2PowerMode: 0 112 | psp2AcquireBGM: 1 113 | vulkanEnableSetSRGBWrite: 0 114 | vulkanUseSWCommandBuffers: 0 115 | m_SupportedAspectRatios: 116 | 4:3: 1 117 | 5:4: 1 118 | 16:10: 1 119 | 16:9: 1 120 | Others: 1 121 | bundleVersion: 0.1 122 | preloadedAssets: [] 123 | metroInputSource: 0 124 | wsaTransparentSwapchain: 0 125 | m_HolographicPauseOnTrackingLoss: 1 126 | xboxOneDisableKinectGpuReservation: 0 127 | xboxOneEnable7thCore: 0 128 | vrSettings: 129 | cardboard: 130 | depthFormat: 0 131 | enableTransitionView: 0 132 | daydream: 133 | depthFormat: 0 134 | useSustainedPerformanceMode: 0 135 | enableVideoLayer: 0 136 | useProtectedVideoMemory: 0 137 | minimumSupportedHeadTracking: 0 138 | maximumSupportedHeadTracking: 1 139 | hololens: 140 | depthFormat: 1 141 | depthBufferSharingEnabled: 0 142 | oculus: 143 | sharedDepthBuffer: 0 144 | dashSupport: 0 145 | enable360StereoCapture: 0 146 | protectGraphicsMemory: 0 147 | useHDRDisplay: 0 148 | m_ColorGamuts: 00000000 149 | targetPixelDensity: 30 150 | resolutionScalingMode: 0 151 | androidSupportedAspectRatio: 1 152 | androidMaxAspectRatio: 2.1 153 | applicationIdentifier: 154 | Standalone: com.Company.ProductName 155 | buildNumber: {} 156 | AndroidBundleVersionCode: 1 157 | AndroidMinSdkVersion: 16 158 | AndroidTargetSdkVersion: 0 159 | AndroidPreferredInstallLocation: 1 160 | aotOptions: 161 | stripEngineCode: 1 162 | iPhoneStrippingLevel: 0 163 | iPhoneScriptCallOptimization: 0 164 | ForceInternetPermission: 0 165 | ForceSDCardPermission: 0 166 | CreateWallpaper: 0 167 | APKExpansionFiles: 0 168 | keepLoadedShadersAlive: 0 169 | StripUnusedMeshComponents: 1 170 | VertexChannelCompressionMask: 4054 171 | iPhoneSdkVersion: 988 172 | iOSTargetOSVersionString: 8.0 173 | tvOSSdkVersion: 0 174 | tvOSRequireExtendedGameController: 0 175 | tvOSTargetOSVersionString: 9.0 176 | uIPrerenderedIcon: 0 177 | uIRequiresPersistentWiFi: 0 178 | uIRequiresFullScreen: 1 179 | uIStatusBarHidden: 1 180 | uIExitOnSuspend: 0 181 | uIStatusBarStyle: 0 182 | iPhoneSplashScreen: {fileID: 0} 183 | iPhoneHighResSplashScreen: {fileID: 0} 184 | iPhoneTallHighResSplashScreen: {fileID: 0} 185 | iPhone47inSplashScreen: {fileID: 0} 186 | iPhone55inPortraitSplashScreen: {fileID: 0} 187 | iPhone55inLandscapeSplashScreen: {fileID: 0} 188 | iPhone58inPortraitSplashScreen: {fileID: 0} 189 | iPhone58inLandscapeSplashScreen: {fileID: 0} 190 | iPadPortraitSplashScreen: {fileID: 0} 191 | iPadHighResPortraitSplashScreen: {fileID: 0} 192 | iPadLandscapeSplashScreen: {fileID: 0} 193 | iPadHighResLandscapeSplashScreen: {fileID: 0} 194 | appleTVSplashScreen: {fileID: 0} 195 | appleTVSplashScreen2x: {fileID: 0} 196 | tvOSSmallIconLayers: [] 197 | tvOSSmallIconLayers2x: [] 198 | tvOSLargeIconLayers: [] 199 | tvOSLargeIconLayers2x: [] 200 | tvOSTopShelfImageLayers: [] 201 | tvOSTopShelfImageLayers2x: [] 202 | tvOSTopShelfImageWideLayers: [] 203 | tvOSTopShelfImageWideLayers2x: [] 204 | iOSLaunchScreenType: 0 205 | iOSLaunchScreenPortrait: {fileID: 0} 206 | iOSLaunchScreenLandscape: {fileID: 0} 207 | iOSLaunchScreenBackgroundColor: 208 | serializedVersion: 2 209 | rgba: 0 210 | iOSLaunchScreenFillPct: 100 211 | iOSLaunchScreenSize: 100 212 | iOSLaunchScreenCustomXibPath: 213 | iOSLaunchScreeniPadType: 0 214 | iOSLaunchScreeniPadImage: {fileID: 0} 215 | iOSLaunchScreeniPadBackgroundColor: 216 | serializedVersion: 2 217 | rgba: 0 218 | iOSLaunchScreeniPadFillPct: 100 219 | iOSLaunchScreeniPadSize: 100 220 | iOSLaunchScreeniPadCustomXibPath: 221 | iOSUseLaunchScreenStoryboard: 0 222 | iOSLaunchScreenCustomStoryboardPath: 223 | iOSDeviceRequirements: [] 224 | iOSURLSchemes: [] 225 | iOSBackgroundModes: 0 226 | iOSMetalForceHardShadows: 0 227 | metalEditorSupport: 1 228 | metalAPIValidation: 1 229 | iOSRenderExtraFrameOnPause: 0 230 | appleDeveloperTeamID: 231 | iOSManualSigningProvisioningProfileID: 232 | tvOSManualSigningProvisioningProfileID: 233 | iOSManualSigningProvisioningProfileType: 0 234 | tvOSManualSigningProvisioningProfileType: 0 235 | appleEnableAutomaticSigning: 0 236 | iOSRequireARKit: 0 237 | appleEnableProMotion: 0 238 | vulkanEditorSupport: 0 239 | clonedFromGUID: 5f34be1353de5cf4398729fda238591b 240 | templatePackageId: com.unity.template.2d@1.0.1 241 | templateDefaultScene: Assets/Scenes/SampleScene.unity 242 | AndroidTargetArchitectures: 5 243 | AndroidSplashScreenScale: 0 244 | androidSplashScreen: {fileID: 0} 245 | AndroidKeystoreName: 246 | AndroidKeyaliasName: 247 | AndroidBuildApkPerCpuArchitecture: 0 248 | AndroidTVCompatibility: 1 249 | AndroidIsGame: 1 250 | AndroidEnableTango: 0 251 | androidEnableBanner: 1 252 | androidUseLowAccuracyLocation: 0 253 | m_AndroidBanners: 254 | - width: 320 255 | height: 180 256 | banner: {fileID: 0} 257 | androidGamepadSupportLevel: 0 258 | resolutionDialogBanner: {fileID: 0} 259 | m_BuildTargetIcons: [] 260 | m_BuildTargetPlatformIcons: [] 261 | m_BuildTargetBatching: [] 262 | m_BuildTargetGraphicsAPIs: [] 263 | m_BuildTargetVRSettings: [] 264 | m_BuildTargetEnableVuforiaSettings: [] 265 | openGLRequireES31: 0 266 | openGLRequireES31AEP: 0 267 | m_TemplateCustomTags: {} 268 | mobileMTRendering: 269 | Android: 1 270 | iPhone: 1 271 | tvOS: 1 272 | m_BuildTargetGroupLightmapEncodingQuality: [] 273 | m_BuildTargetGroupLightmapSettings: [] 274 | playModeTestRunnerEnabled: 0 275 | runPlayModeTestAsEditModeTest: 0 276 | actionOnDotNetUnhandledException: 1 277 | enableInternalProfiler: 0 278 | logObjCUncaughtExceptions: 1 279 | enableCrashReportAPI: 0 280 | cameraUsageDescription: 281 | locationUsageDescription: 282 | microphoneUsageDescription: 283 | switchNetLibKey: 284 | switchSocketMemoryPoolSize: 6144 285 | switchSocketAllocatorPoolSize: 128 286 | switchSocketConcurrencyLimit: 14 287 | switchScreenResolutionBehavior: 2 288 | switchUseCPUProfiler: 0 289 | switchApplicationID: 0x01004b9000490000 290 | switchNSODependencies: 291 | switchTitleNames_0: 292 | switchTitleNames_1: 293 | switchTitleNames_2: 294 | switchTitleNames_3: 295 | switchTitleNames_4: 296 | switchTitleNames_5: 297 | switchTitleNames_6: 298 | switchTitleNames_7: 299 | switchTitleNames_8: 300 | switchTitleNames_9: 301 | switchTitleNames_10: 302 | switchTitleNames_11: 303 | switchTitleNames_12: 304 | switchTitleNames_13: 305 | switchTitleNames_14: 306 | switchPublisherNames_0: 307 | switchPublisherNames_1: 308 | switchPublisherNames_2: 309 | switchPublisherNames_3: 310 | switchPublisherNames_4: 311 | switchPublisherNames_5: 312 | switchPublisherNames_6: 313 | switchPublisherNames_7: 314 | switchPublisherNames_8: 315 | switchPublisherNames_9: 316 | switchPublisherNames_10: 317 | switchPublisherNames_11: 318 | switchPublisherNames_12: 319 | switchPublisherNames_13: 320 | switchPublisherNames_14: 321 | switchIcons_0: {fileID: 0} 322 | switchIcons_1: {fileID: 0} 323 | switchIcons_2: {fileID: 0} 324 | switchIcons_3: {fileID: 0} 325 | switchIcons_4: {fileID: 0} 326 | switchIcons_5: {fileID: 0} 327 | switchIcons_6: {fileID: 0} 328 | switchIcons_7: {fileID: 0} 329 | switchIcons_8: {fileID: 0} 330 | switchIcons_9: {fileID: 0} 331 | switchIcons_10: {fileID: 0} 332 | switchIcons_11: {fileID: 0} 333 | switchIcons_12: {fileID: 0} 334 | switchIcons_13: {fileID: 0} 335 | switchIcons_14: {fileID: 0} 336 | switchSmallIcons_0: {fileID: 0} 337 | switchSmallIcons_1: {fileID: 0} 338 | switchSmallIcons_2: {fileID: 0} 339 | switchSmallIcons_3: {fileID: 0} 340 | switchSmallIcons_4: {fileID: 0} 341 | switchSmallIcons_5: {fileID: 0} 342 | switchSmallIcons_6: {fileID: 0} 343 | switchSmallIcons_7: {fileID: 0} 344 | switchSmallIcons_8: {fileID: 0} 345 | switchSmallIcons_9: {fileID: 0} 346 | switchSmallIcons_10: {fileID: 0} 347 | switchSmallIcons_11: {fileID: 0} 348 | switchSmallIcons_12: {fileID: 0} 349 | switchSmallIcons_13: {fileID: 0} 350 | switchSmallIcons_14: {fileID: 0} 351 | switchManualHTML: 352 | switchAccessibleURLs: 353 | switchLegalInformation: 354 | switchMainThreadStackSize: 1048576 355 | switchPresenceGroupId: 356 | switchLogoHandling: 0 357 | switchReleaseVersion: 0 358 | switchDisplayVersion: 1.0.0 359 | switchStartupUserAccount: 0 360 | switchTouchScreenUsage: 0 361 | switchSupportedLanguagesMask: 0 362 | switchLogoType: 0 363 | switchApplicationErrorCodeCategory: 364 | switchUserAccountSaveDataSize: 0 365 | switchUserAccountSaveDataJournalSize: 0 366 | switchApplicationAttribute: 0 367 | switchCardSpecSize: -1 368 | switchCardSpecClock: -1 369 | switchRatingsMask: 0 370 | switchRatingsInt_0: 0 371 | switchRatingsInt_1: 0 372 | switchRatingsInt_2: 0 373 | switchRatingsInt_3: 0 374 | switchRatingsInt_4: 0 375 | switchRatingsInt_5: 0 376 | switchRatingsInt_6: 0 377 | switchRatingsInt_7: 0 378 | switchRatingsInt_8: 0 379 | switchRatingsInt_9: 0 380 | switchRatingsInt_10: 0 381 | switchRatingsInt_11: 0 382 | switchLocalCommunicationIds_0: 383 | switchLocalCommunicationIds_1: 384 | switchLocalCommunicationIds_2: 385 | switchLocalCommunicationIds_3: 386 | switchLocalCommunicationIds_4: 387 | switchLocalCommunicationIds_5: 388 | switchLocalCommunicationIds_6: 389 | switchLocalCommunicationIds_7: 390 | switchParentalControl: 0 391 | switchAllowsScreenshot: 1 392 | switchAllowsVideoCapturing: 1 393 | switchAllowsRuntimeAddOnContentInstall: 0 394 | switchDataLossConfirmation: 0 395 | switchSupportedNpadStyles: 3 396 | switchNativeFsCacheSize: 32 397 | switchIsHoldTypeHorizontal: 0 398 | switchSupportedNpadCount: 8 399 | switchSocketConfigEnabled: 0 400 | switchTcpInitialSendBufferSize: 32 401 | switchTcpInitialReceiveBufferSize: 64 402 | switchTcpAutoSendBufferSizeMax: 256 403 | switchTcpAutoReceiveBufferSizeMax: 256 404 | switchUdpSendBufferSize: 9 405 | switchUdpReceiveBufferSize: 42 406 | switchSocketBufferEfficiency: 4 407 | switchSocketInitializeEnabled: 1 408 | switchNetworkInterfaceManagerInitializeEnabled: 1 409 | switchPlayerConnectionEnabled: 1 410 | ps4NPAgeRating: 12 411 | ps4NPTitleSecret: 412 | ps4NPTrophyPackPath: 413 | ps4ParentalLevel: 11 414 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 415 | ps4Category: 0 416 | ps4MasterVersion: 01.00 417 | ps4AppVersion: 01.00 418 | ps4AppType: 0 419 | ps4ParamSfxPath: 420 | ps4VideoOutPixelFormat: 0 421 | ps4VideoOutInitialWidth: 1920 422 | ps4VideoOutBaseModeInitialWidth: 1920 423 | ps4VideoOutReprojectionRate: 60 424 | ps4PronunciationXMLPath: 425 | ps4PronunciationSIGPath: 426 | ps4BackgroundImagePath: 427 | ps4StartupImagePath: 428 | ps4StartupImagesFolder: 429 | ps4IconImagesFolder: 430 | ps4SaveDataImagePath: 431 | ps4SdkOverride: 432 | ps4BGMPath: 433 | ps4ShareFilePath: 434 | ps4ShareOverlayImagePath: 435 | ps4PrivacyGuardImagePath: 436 | ps4NPtitleDatPath: 437 | ps4RemotePlayKeyAssignment: -1 438 | ps4RemotePlayKeyMappingDir: 439 | ps4PlayTogetherPlayerCount: 0 440 | ps4EnterButtonAssignment: 1 441 | ps4ApplicationParam1: 0 442 | ps4ApplicationParam2: 0 443 | ps4ApplicationParam3: 0 444 | ps4ApplicationParam4: 0 445 | ps4DownloadDataSize: 0 446 | ps4GarlicHeapSize: 2048 447 | ps4ProGarlicHeapSize: 2560 448 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 449 | ps4pnSessions: 1 450 | ps4pnPresence: 1 451 | ps4pnFriends: 1 452 | ps4pnGameCustomData: 1 453 | playerPrefsSupport: 0 454 | enableApplicationExit: 0 455 | restrictedAudioUsageRights: 0 456 | ps4UseResolutionFallback: 0 457 | ps4ReprojectionSupport: 0 458 | ps4UseAudio3dBackend: 0 459 | ps4SocialScreenEnabled: 0 460 | ps4ScriptOptimizationLevel: 0 461 | ps4Audio3dVirtualSpeakerCount: 14 462 | ps4attribCpuUsage: 0 463 | ps4PatchPkgPath: 464 | ps4PatchLatestPkgPath: 465 | ps4PatchChangeinfoPath: 466 | ps4PatchDayOne: 0 467 | ps4attribUserManagement: 0 468 | ps4attribMoveSupport: 0 469 | ps4attrib3DSupport: 0 470 | ps4attribShareSupport: 0 471 | ps4attribExclusiveVR: 0 472 | ps4disableAutoHideSplash: 0 473 | ps4videoRecordingFeaturesUsed: 0 474 | ps4contentSearchFeaturesUsed: 0 475 | ps4attribEyeToEyeDistanceSettingVR: 0 476 | ps4IncludedModules: [] 477 | monoEnv: 478 | psp2Splashimage: {fileID: 0} 479 | psp2NPTrophyPackPath: 480 | psp2NPSupportGBMorGJP: 0 481 | psp2NPAgeRating: 12 482 | psp2NPTitleDatPath: 483 | psp2NPCommsID: 484 | psp2NPCommunicationsID: 485 | psp2NPCommsPassphrase: 486 | psp2NPCommsSig: 487 | psp2ParamSfxPath: 488 | psp2ManualPath: 489 | psp2LiveAreaGatePath: 490 | psp2LiveAreaBackroundPath: 491 | psp2LiveAreaPath: 492 | psp2LiveAreaTrialPath: 493 | psp2PatchChangeInfoPath: 494 | psp2PatchOriginalPackage: 495 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 496 | psp2KeystoneFile: 497 | psp2MemoryExpansionMode: 0 498 | psp2DRMType: 0 499 | psp2StorageType: 0 500 | psp2MediaCapacity: 0 501 | psp2DLCConfigPath: 502 | psp2ThumbnailPath: 503 | psp2BackgroundPath: 504 | psp2SoundPath: 505 | psp2TrophyCommId: 506 | psp2TrophyPackagePath: 507 | psp2PackagedResourcesPath: 508 | psp2SaveDataQuota: 10240 509 | psp2ParentalLevel: 1 510 | psp2ShortTitle: Not Set 511 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 512 | psp2Category: 0 513 | psp2MasterVersion: 01.00 514 | psp2AppVersion: 01.00 515 | psp2TVBootMode: 0 516 | psp2EnterButtonAssignment: 2 517 | psp2TVDisableEmu: 0 518 | psp2AllowTwitterDialog: 1 519 | psp2Upgradable: 0 520 | psp2HealthWarning: 0 521 | psp2UseLibLocation: 0 522 | psp2InfoBarOnStartup: 0 523 | psp2InfoBarColor: 0 524 | psp2ScriptOptimizationLevel: 0 525 | splashScreenBackgroundSourceLandscape: {fileID: 0} 526 | splashScreenBackgroundSourcePortrait: {fileID: 0} 527 | spritePackerPolicy: 528 | webGLMemorySize: 256 529 | webGLExceptionSupport: 1 530 | webGLNameFilesAsHashes: 0 531 | webGLDataCaching: 1 532 | webGLDebugSymbols: 0 533 | webGLEmscriptenArgs: 534 | webGLModulesDirectory: 535 | webGLTemplate: APPLICATION:Default 536 | webGLAnalyzeBuildSize: 0 537 | webGLUseEmbeddedResources: 0 538 | webGLCompressionFormat: 1 539 | webGLLinkerTarget: 1 540 | scriptingDefineSymbols: {} 541 | platformArchitecture: {} 542 | scriptingBackend: {} 543 | il2cppCompilerConfiguration: {} 544 | incrementalIl2cppBuild: {} 545 | allowUnsafeCode: 0 546 | additionalIl2CppArgs: 547 | scriptingRuntimeVersion: 0 548 | apiCompatibilityLevelPerPlatform: {} 549 | m_RenderingPath: 1 550 | m_MobileRenderingPath: 1 551 | metroPackageName: Template_2D 552 | metroPackageVersion: 553 | metroCertificatePath: 554 | metroCertificatePassword: 555 | metroCertificateSubject: 556 | metroCertificateIssuer: 557 | metroCertificateNotAfter: 0000000000000000 558 | metroApplicationDescription: Template_2D 559 | wsaImages: {} 560 | metroTileShortName: 561 | metroTileShowName: 0 562 | metroMediumTileShowName: 0 563 | metroLargeTileShowName: 0 564 | metroWideTileShowName: 0 565 | metroDefaultTileSize: 1 566 | metroTileForegroundText: 2 567 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 568 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 569 | a: 1} 570 | metroSplashScreenUseBackgroundColor: 0 571 | platformCapabilities: {} 572 | metroFTAName: 573 | metroFTAFileTypes: [] 574 | metroProtocolName: 575 | metroCompilationOverrides: 1 576 | n3dsUseExtSaveData: 0 577 | n3dsCompressStaticMem: 1 578 | n3dsExtSaveDataNumber: 0x12345 579 | n3dsStackSize: 131072 580 | n3dsTargetPlatform: 2 581 | n3dsRegion: 7 582 | n3dsMediaSize: 0 583 | n3dsLogoStyle: 3 584 | n3dsTitle: GameName 585 | n3dsProductCode: 586 | n3dsApplicationId: 0xFF3FF 587 | XboxOneProductId: 588 | XboxOneUpdateKey: 589 | XboxOneSandboxId: 590 | XboxOneContentId: 591 | XboxOneTitleId: 592 | XboxOneSCId: 593 | XboxOneGameOsOverridePath: 594 | XboxOnePackagingOverridePath: 595 | XboxOneAppManifestOverridePath: 596 | XboxOneVersion: 1.0.0.0 597 | XboxOnePackageEncryption: 0 598 | XboxOnePackageUpdateGranularity: 2 599 | XboxOneDescription: 600 | XboxOneLanguage: 601 | - enus 602 | XboxOneCapability: [] 603 | XboxOneGameRating: {} 604 | XboxOneIsContentPackage: 0 605 | XboxOneEnableGPUVariability: 0 606 | XboxOneSockets: {} 607 | XboxOneSplashScreen: {fileID: 0} 608 | XboxOneAllowedProductIds: [] 609 | XboxOnePersistentLocalStorageSize: 0 610 | XboxOneXTitleMemory: 8 611 | xboxOneScriptCompiler: 0 612 | vrEditorSettings: 613 | daydream: 614 | daydreamIconForeground: {fileID: 0} 615 | daydreamIconBackground: {fileID: 0} 616 | cloudServicesEnabled: 617 | UNet: 1 618 | facebookSdkVersion: 7.9.4 619 | apiCompatibilityLevel: 2 620 | cloudProjectId: 621 | projectName: 622 | organizationId: 623 | cloudEnabled: 0 624 | enableNativePlatformBackendsForNewInputSystem: 0 625 | disableOldInputManagerSupport: 0 626 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.2.1f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 3 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 4 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 4 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 0 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 0 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 4 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 0 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 0 108 | antiAliasing: 0 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 0 112 | billboardsFaceCameraPosition: 0 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 4 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 0 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 70 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 0 136 | antiAliasing: 0 137 | softParticles: 0 138 | softVegetation: 1 139 | realtimeReflectionProbes: 0 140 | billboardsFaceCameraPosition: 0 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 4 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 0 153 | shadowResolution: 0 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 0 164 | antiAliasing: 0 165 | softParticles: 0 166 | softVegetation: 1 167 | realtimeReflectionProbes: 0 168 | billboardsFaceCameraPosition: 0 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 4 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSM: 5 183 | PSP2: 2 184 | Standalone: 5 185 | Tizen: 2 186 | WebGL: 3 187 | WiiU: 5 188 | Windows Store Apps: 5 189 | XboxOne: 5 190 | iPhone: 2 191 | tvOS: 2 192 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 1 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Twin slider 2 | Simple twin slider based on Unity UI sliders. 3 | 4 | ## How to use 5 | 1. Copy the files into your existing unity project asset folder 6 | 2. Add TwinSlider to your scene and configure it 7 | 3. Define callback 8 | 9 | ## Demo 10 | Open Demo scene and build, to try how it works 11 | 12 | ## Example 13 | [![Twin slider demo](https://img.youtube.com/vi/bz4ts58xugg/0.jpg)](https://www.youtube.com/watch?v=bz4ts58xugg) 14 | --------------------------------------------------------------------------------