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.3pull/413/head
parent
e205747c13
commit
161a9d20d9
|
@ -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;
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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]
|
Loading…
Reference in New Issue