diff --git a/Scripts/Primitives/UIGridRenderer.cs b/Scripts/Primitives/UIGridRenderer.cs index ea23d8c..e6da384 100644 --- a/Scripts/Primitives/UIGridRenderer.cs +++ b/Scripts/Primitives/UIGridRenderer.cs @@ -52,7 +52,7 @@ namespace UnityEngine.UI.Extensions protected override void OnPopulateMesh(VertexHelper vh) { - RelativeSize = true; + relativeSize = true; int ArraySize = (GridRows * 3) + 1; if(GridRows % 2 == 0) diff --git a/Scripts/Primitives/UILineRenderer.cs b/Scripts/Primitives/UILineRenderer.cs index 827b303..c8899d3 100644 --- a/Scripts/Primitives/UILineRenderer.cs +++ b/Scripts/Primitives/UILineRenderer.cs @@ -50,20 +50,20 @@ namespace UnityEngine.UI.Extensions private static readonly Vector2[] endUvs = new[] { UV_TOP_CENTER, UV_BOTTOM_CENTER, UV_BOTTOM_RIGHT, UV_TOP_RIGHT }; [SerializeField] - private Rect m_UVRect = new Rect(0f, 0f, 1f, 1f); + internal Rect m_UVRect = new Rect(0f, 0f, 1f, 1f); [SerializeField] - protected Vector2[] m_points; + internal Vector2[] m_points; [SerializeField] - private float lineThickness = 2; + internal float lineThickness = 2; [SerializeField] - private bool relativeSize; + internal bool relativeSize; [SerializeField] - private bool lineList; + internal bool lineList; [SerializeField] - private bool lineCaps; + internal bool lineCaps; [SerializeField] - private int bezierSegmentsPerCurve = 10; + internal int bezierSegmentsPerCurve = 10; public float LineThickness {