One of these days I will learn to spell. Today is not that day :S

Renamed Primative to Primitive (only the second time now)

Lesson learned, don't code so early in the morning.  Time for bed

--HG--
branch : develop_5.3
pull/413/head
Simon (darkside) Jackson 2016-05-25 00:56:18 +01:00
parent e205747c13
commit 161a9d20d9
8 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@ using System;
namespace UnityEngine.UI.Extensions namespace UnityEngine.UI.Extensions
{ {
[AddComponentMenu("UI/Extensions/Primitives/Diamond Graph")] [AddComponentMenu("UI/Extensions/Primitives/Diamond Graph")]
public class DiamondGraph : UIPrimativeBase public class DiamondGraph : UIPrimitiveBase
{ {
public float a = 1; public float a = 1;
public float b = 1; public float b = 1;

View File

@ -5,7 +5,7 @@
namespace UnityEngine.UI.Extensions namespace UnityEngine.UI.Extensions
{ {
[AddComponentMenu("UI/Extensions/Primitives/UI Circle")] [AddComponentMenu("UI/Extensions/Primitives/UI Circle")]
public class UICircle : UIPrimativeBase public class UICircle : UIPrimitiveBase
{ {
[Tooltip("The circular fill percentage of the primitive, affected by FixedToSegments")] [Tooltip("The circular fill percentage of the primitive, affected by FixedToSegments")]
[Range(0, 100)] [Range(0, 100)]

View File

@ -18,7 +18,7 @@
namespace UnityEngine.UI.Extensions { namespace UnityEngine.UI.Extensions {
[AddComponentMenu("UI/Extensions/Primitives/Cut Corners")] [AddComponentMenu("UI/Extensions/Primitives/Cut Corners")]
public class UICornerCut : UIPrimativeBase public class UICornerCut : UIPrimitiveBase
{ {
public Vector2 cornerSize = new Vector2(16, 16); public Vector2 cornerSize = new Vector2(16, 16);

View File

@ -7,7 +7,7 @@ using System.Collections.Generic;
namespace UnityEngine.UI.Extensions namespace UnityEngine.UI.Extensions
{ {
[AddComponentMenu("UI/Extensions/Primitives/UILineRenderer")] [AddComponentMenu("UI/Extensions/Primitives/UILineRenderer")]
public class UILineRenderer : UIPrimativeBase public class UILineRenderer : UIPrimitiveBase
{ {
private enum SegmentType private enum SegmentType
{ {

View File

@ -7,7 +7,7 @@ using System.Collections.Generic;
namespace UnityEngine.UI.Extensions namespace UnityEngine.UI.Extensions
{ {
[AddComponentMenu("UI/Extensions/Primitives/UILineTextureRenderer")] [AddComponentMenu("UI/Extensions/Primitives/UILineTextureRenderer")]
public class UILineTextureRenderer : UIPrimativeBase public class UILineTextureRenderer : UIPrimitiveBase
{ {
[SerializeField] [SerializeField]
Rect m_UVRect = new Rect(0f, 0f, 1f, 1f); Rect m_UVRect = new Rect(0f, 0f, 1f, 1f);

View File

@ -4,7 +4,7 @@
namespace UnityEngine.UI.Extensions namespace UnityEngine.UI.Extensions
{ {
[AddComponentMenu("UI/Extensions/Primitives/UI Polygon")] [AddComponentMenu("UI/Extensions/Primitives/UI Polygon")]
public class UIPolygon : UIPrimativeBase public class UIPolygon : UIPrimitiveBase
{ {
public bool fill = true; public bool fill = true;
public float thickness = 5; public float thickness = 5;

View File

@ -2,7 +2,7 @@
namespace UnityEngine.UI.Extensions namespace UnityEngine.UI.Extensions
{ {
public class UIPrimativeBase : MaskableGraphic, ILayoutElement, ICanvasRaycastFilter public class UIPrimitiveBase : MaskableGraphic, ILayoutElement, ICanvasRaycastFilter
{ {
[SerializeField] [SerializeField]