diff --git a/Scripts/Primitives/DiamondGraph.cs b/Scripts/Primitives/DiamondGraph.cs index 4efcb72..e2fe86c 100644 --- a/Scripts/Primitives/DiamondGraph.cs +++ b/Scripts/Primitives/DiamondGraph.cs @@ -6,7 +6,7 @@ using System; namespace UnityEngine.UI.Extensions { [AddComponentMenu("UI/Extensions/Primitives/Diamond Graph")] - public class DiamondGraph : UIPrimativeBase + public class DiamondGraph : UIPrimitiveBase { public float a = 1; public float b = 1; diff --git a/Scripts/Primitives/UICircle.cs b/Scripts/Primitives/UICircle.cs index c87a957..8b65156 100644 --- a/Scripts/Primitives/UICircle.cs +++ b/Scripts/Primitives/UICircle.cs @@ -5,7 +5,7 @@ namespace UnityEngine.UI.Extensions { [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")] [Range(0, 100)] diff --git a/Scripts/Primitives/UICornerCut.cs b/Scripts/Primitives/UICornerCut.cs index 6342441..fda0c44 100644 --- a/Scripts/Primitives/UICornerCut.cs +++ b/Scripts/Primitives/UICornerCut.cs @@ -18,7 +18,7 @@ namespace UnityEngine.UI.Extensions { [AddComponentMenu("UI/Extensions/Primitives/Cut Corners")] - public class UICornerCut : UIPrimativeBase + public class UICornerCut : UIPrimitiveBase { public Vector2 cornerSize = new Vector2(16, 16); diff --git a/Scripts/Primitives/UILineRenderer.cs b/Scripts/Primitives/UILineRenderer.cs index 2ddaa7c..d16c495 100644 --- a/Scripts/Primitives/UILineRenderer.cs +++ b/Scripts/Primitives/UILineRenderer.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; namespace UnityEngine.UI.Extensions { [AddComponentMenu("UI/Extensions/Primitives/UILineRenderer")] - public class UILineRenderer : UIPrimativeBase + public class UILineRenderer : UIPrimitiveBase { private enum SegmentType { diff --git a/Scripts/Primitives/UILineTextureRenderer.cs b/Scripts/Primitives/UILineTextureRenderer.cs index 13bb071..f80bbab 100644 --- a/Scripts/Primitives/UILineTextureRenderer.cs +++ b/Scripts/Primitives/UILineTextureRenderer.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; namespace UnityEngine.UI.Extensions { [AddComponentMenu("UI/Extensions/Primitives/UILineTextureRenderer")] - public class UILineTextureRenderer : UIPrimativeBase + public class UILineTextureRenderer : UIPrimitiveBase { [SerializeField] Rect m_UVRect = new Rect(0f, 0f, 1f, 1f); diff --git a/Scripts/Primitives/UIPolygon.cs b/Scripts/Primitives/UIPolygon.cs index f9ba09f..2724414 100644 --- a/Scripts/Primitives/UIPolygon.cs +++ b/Scripts/Primitives/UIPolygon.cs @@ -4,7 +4,7 @@ namespace UnityEngine.UI.Extensions { [AddComponentMenu("UI/Extensions/Primitives/UI Polygon")] - public class UIPolygon : UIPrimativeBase + public class UIPolygon : UIPrimitiveBase { public bool fill = true; public float thickness = 5; diff --git a/Scripts/Primitives/UIPrimativeBase.cs b/Scripts/Primitives/UIPrimitiveBase.cs similarity index 96% rename from Scripts/Primitives/UIPrimativeBase.cs rename to Scripts/Primitives/UIPrimitiveBase.cs index b99e737..8c42f77 100644 --- a/Scripts/Primitives/UIPrimativeBase.cs +++ b/Scripts/Primitives/UIPrimitiveBase.cs @@ -2,7 +2,7 @@ namespace UnityEngine.UI.Extensions { - public class UIPrimativeBase : MaskableGraphic, ILayoutElement, ICanvasRaycastFilter + public class UIPrimitiveBase : MaskableGraphic, ILayoutElement, ICanvasRaycastFilter { [SerializeField] diff --git a/Scripts/Primitives/UIPrimativeBase.cs.meta b/Scripts/Primitives/UIPrimitiveBase.cs.meta similarity index 100% rename from Scripts/Primitives/UIPrimativeBase.cs.meta rename to Scripts/Primitives/UIPrimitiveBase.cs.meta