From 2a83ffafeef7f6fe5f345c6a68553e52a76c8a05 Mon Sep 17 00:00:00 2001 From: "Simon (darkside) Jackson" Date: Sun, 20 Sep 2015 01:54:47 +0100 Subject: [PATCH] Minor update for ScrollRect Menu position And fix typo --- README.md | 12 ++++++------ Scripts/Editor/UIExtensionsMenuOptions.cs | 10 +++++----- Scripts/Primatives/UICircle.cs | 2 +- Scripts/Primatives/UILineRenderer.cs | 2 +- Scripts/Primatives/UILineTextureRenderer.cs | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 357b0bf..fd03da4 100644 --- a/README.md +++ b/README.md @@ -46,14 +46,14 @@ Control | Description | Menu Command | Component Command | Notes | Credits | | | UI / Extensions / Bound Tooltip / Tooltip Trigger | | Martin Sharkbomb -## Primatives ## +## Primitives ## ================ Control | Description | Menu Command | Component Command | Notes | Credits --------- | -------------- | ---------------------- | ---------------------------- | ------- | ---------- -**LineRenderer** | Graphic control for drawing lines in the UI System | UI / Extensions / Primatives / UI Line Renderer | UI / Extensions / Primatives / UI Line Renderer |[tutorial video](https://www.youtube.com/watch?v=OElcWAZGHi0)| jack.sydorenko -**UILineTextureRenderer** | Graphic control for drawing lines in the UI System | UI / Extensions / Primatives / UI Line Texture Renderer | UI / Extensions / Primatives / UI Line Texture Renderer |[tutorial video](https://www.youtube.com/watch?v=OElcWAZGHi0)| jack.sydorenko, jonbro5556 -**UICircle** | Graphic control for drawing circles in the UI System | UI / Extensions / Primatives / UI Circle | UI / Extensions / Primatives / UI Circle || zge +**LineRenderer** | Graphic control for drawing lines in the UI System | UI / Extensions / Primitives / UI Line Renderer | UI / Extensions / Primitives / UI Line Renderer |[tutorial video](https://www.youtube.com/watch?v=OElcWAZGHi0)| jack.sydorenko +**UILineTextureRenderer** | Graphic control for drawing lines in the UI System | UI / Extensions / Primitives / UI Line Texture Renderer | UI / Extensions / Primitives / UI Line Texture Renderer |[tutorial video](https://www.youtube.com/watch?v=OElcWAZGHi0)| jack.sydorenko, jonbro5556 +**UICircle** | Graphic control for drawing circles in the UI System | UI / Extensions / Primitives / UI Circle | UI / Extensions / Primitives / UI Circle || zge @@ -62,8 +62,8 @@ Control | Description | Menu Command | Component Command | Notes | Credits Layout | Description | Menu Command | Component Command | Notes | Credits --------- | -------------- | ---------------------- | ---------------------------- | ------- | ---------- -**HorizontalScrollSnap** | A pages scroll rect that can work in steps / pages, includes button support | Layout / Extensions / Horizontal Scroll Snap | Layout / Extensions / Horizontal Scroll Snap |[tutorial video](https://www.youtube.com/watch?v=KJlIlWHlfMo)| BinaryX -**VerticalScrollSnap** | A pages scroll rect that can work in steps / pages, includes button support | Layout / Extensions / Vertical Scroll Snap | Layout / Extensions / Vertical Scroll Snap |[tutorial video](https://www.youtube.com/watch?v=KJlIlWHlfMo)| BinaryX, Simon Darkside Jackson +**HorizontalScrollSnap** | A pages scroll rect that can work in steps / pages, includes button support | UI / Extensions / Horizontal Scroll Snap | Layout / Extensions / Horizontal Scroll Snap |[tutorial video](https://www.youtube.com/watch?v=KJlIlWHlfMo)| BinaryX +**VerticalScrollSnap** | A pages scroll rect that can work in steps / pages, includes button support | UI / Extensions / Vertical Scroll Snap | Layout / Extensions / Vertical Scroll Snap |[tutorial video](https://www.youtube.com/watch?v=KJlIlWHlfMo)| BinaryX, Simon Darkside Jackson **FlowLayoutGroup** | A more rugged grid style layout group || Layout / Extensions / Flow Layout Group | [Example Video](https://www.youtube.com/watch?v=tMe_3tJTZvc) | Simie **RadialLayout** | A radial layout system || Layout / Extensions / Radial Layout || Danny Goodayle **TileSizeFitter** | A fitter layout that will shink / expand content by tiles || Layout / Extensions / TileSizeFitter || Ges diff --git a/Scripts/Editor/UIExtensionsMenuOptions.cs b/Scripts/Editor/UIExtensionsMenuOptions.cs index 3a23574..fb307be 100644 --- a/Scripts/Editor/UIExtensionsMenuOptions.cs +++ b/Scripts/Editor/UIExtensionsMenuOptions.cs @@ -207,7 +207,7 @@ namespace UnityEditor.UI #region UI Extensions "Create" Menu items - [MenuItem("GameObject/Layout/Extensions/Horizontal Scroll Snap", false)] + [MenuItem("GameObject/UI/Extensions/Horizontal Scroll Snap", false)] static public void AddHorizontalScrollSnap(MenuCommand menuCommand) { GameObject horizontalScrollSnapRoot = CreateUIElementRoot("Horizontal Scroll Snap", menuCommand, s_ThickGUIElementSize); @@ -278,7 +278,7 @@ namespace UnityEditor.UI Selection.activeGameObject = horizontalScrollSnapRoot; } - [MenuItem("GameObject/Layout/Extensions/Vertical Scroll Snap", false)] + [MenuItem("GameObject/UI/Extensions/Vertical Scroll Snap", false)] static public void AddVerticallScrollSnap(MenuCommand menuCommand) { GameObject verticalScrollSnapRoot = CreateUIElementRoot("Vertical Scroll Snap", menuCommand, s_ThickGUIElementSize); @@ -866,7 +866,7 @@ namespace UnityEditor.UI SetDefaultColorTransitionValues(slider); } - [MenuItem("GameObject/UI/Extensions/Primatives/UI Line Renderer", false)] + [MenuItem("GameObject/UI/Extensions/Primitives/UI Line Renderer", false)] static public void AddUILineRenderer(MenuCommand menuCommand) { GameObject go = CreateUIElementRoot("UI LineRenderer", menuCommand, s_ImageGUIElementSize); @@ -874,7 +874,7 @@ namespace UnityEditor.UI Selection.activeGameObject = go; } - [MenuItem("GameObject/UI/Extensions/Primatives/UI Line Texture Renderer", false)] + [MenuItem("GameObject/UI/Extensions/Primitives/UI Line Texture Renderer", false)] static public void AddUILineTextureRenderer(MenuCommand menuCommand) { GameObject go = CreateUIElementRoot("UI LineTextureRenderer", menuCommand, s_ImageGUIElementSize); @@ -882,7 +882,7 @@ namespace UnityEditor.UI Selection.activeGameObject = go; } - [MenuItem("GameObject/UI/Extensions/Primatives/UI Circle", false)] + [MenuItem("GameObject/UI/Extensions/Primitives/UI Circle", false)] static public void AddUICircle(MenuCommand menuCommand) { GameObject go = CreateUIElementRoot("UI Circle", menuCommand, s_ImageGUIElementSize); diff --git a/Scripts/Primatives/UICircle.cs b/Scripts/Primatives/UICircle.cs index 8eb2b81..dfa8748 100644 --- a/Scripts/Primatives/UICircle.cs +++ b/Scripts/Primatives/UICircle.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; namespace UnityEngine.UI.Extensions { - [AddComponentMenu("UI/Extensions/Primatives/UI Circle")] + [AddComponentMenu("UI/Extensions/Primitives/UI Circle")] public class UICircle : Graphic { [SerializeField] diff --git a/Scripts/Primatives/UILineRenderer.cs b/Scripts/Primatives/UILineRenderer.cs index a3d5273..8129fd9 100644 --- a/Scripts/Primatives/UILineRenderer.cs +++ b/Scripts/Primatives/UILineRenderer.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; namespace UnityEngine.UI.Extensions { - [AddComponentMenu("UI/Extensions/Primatives/UILineRenderer")] + [AddComponentMenu("UI/Extensions/Primitives/UILineRenderer")] public class UILineRenderer : MaskableGraphic { [SerializeField] diff --git a/Scripts/Primatives/UILineTextureRenderer.cs b/Scripts/Primatives/UILineTextureRenderer.cs index dc6a84d..8342d19 100644 --- a/Scripts/Primatives/UILineTextureRenderer.cs +++ b/Scripts/Primatives/UILineTextureRenderer.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; namespace UnityEngine.UI.Extensions { - [AddComponentMenu("UI/Extensions/Primatives/UILineTextureRenderer")] + [AddComponentMenu("UI/Extensions/Primitives/UILineTextureRenderer")] public class UILineTextureRenderer : MaskableGraphic { [SerializeField]