From 88b4a54603c492ef624774f89fce13add004a1dc Mon Sep 17 00:00:00 2001 From: "Simon (darkside) Jackson" Date: Fri, 15 Nov 2019 18:48:20 +0000 Subject: [PATCH] Added Range Slider to controls list --- Editor/UIExtensionsMenuOptions.cs | 4 ++-- Examples | 2 +- README.md | 2 +- Scripts/Controls/RangeSlider.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Editor/UIExtensionsMenuOptions.cs b/Editor/UIExtensionsMenuOptions.cs index ad7959e..027bf87 100644 --- a/Editor/UIExtensionsMenuOptions.cs +++ b/Editor/UIExtensionsMenuOptions.cs @@ -1890,7 +1890,7 @@ namespace UnityEditor.UI #endregion #region Radial Slider - [MenuItem("GameObject/UI/Extensions/RadialSlider", false)] + [MenuItem("GameObject/UI/Extensions/Radial Slider", false)] static public void AddRadialSlider(MenuCommand menuCommand) { GameObject sliderRoot = CreateUIElementRoot("Radial Slider", menuCommand, s_ThickGUIElementSize); @@ -1928,7 +1928,7 @@ namespace UnityEditor.UI #endregion #region RangeSlider - [MenuItem("GameObject/UI/Extensions/RangeSlider", false)] + [MenuItem("GameObject/UI/Extensions/Range Slider", false)] static public void AddRangeSlider(MenuCommand menuCommand) { GameObject rangeSliderRoot = CreateUIElementRoot("Range Slider", menuCommand, new Vector2(160, 20)); diff --git a/Examples b/Examples index 8397740..7da8fd1 160000 --- a/Examples +++ b/Examples @@ -1 +1 @@ -Subproject commit 8397740c311748c1d64c5e591a07193cda331921 +Subproject commit 7da8fd1b9cd0a6cfc420ca42c61e714583c49f18 diff --git a/README.md b/README.md index 65d91b7..826c6c7 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ There are almost 70+ extension controls / effect and other utilities in the proj Accordion|ColorPicker|SelectionBox|UIFlippable|ComboBox AutoCompleteComboBox|DropDownList|BoundToolTip|UIWindowBase|UI_Knob TextPic|InputFocus|Box Slider|CooldownButton|Segmented Control -Stepper|||| +Stepper|Range Slider|| |||| [Primitives](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-primitives)||||| diff --git a/Scripts/Controls/RangeSlider.cs b/Scripts/Controls/RangeSlider.cs index 2b64925..d19a074 100644 --- a/Scripts/Controls/RangeSlider.cs +++ b/Scripts/Controls/RangeSlider.cs @@ -9,7 +9,7 @@ using UnityEngine.EventSystems; namespace UnityEngine.UI.Extensions { - [AddComponentMenu("UI/Range Slider", 34)] + [AddComponentMenu("UI/Extensions/Range Slider", 34)] [ExecuteInEditMode] [RequireComponent(typeof(RectTransform))] public class RangeSlider : Selectable, IDragHandler, IInitializePotentialDragHandler, ICanvasElement