From 42aabe033768997f551cc03f0a70d0e09e6c5107 Mon Sep 17 00:00:00 2001 From: herbst Date: Thu, 10 Dec 2015 19:05:27 +0100 Subject: [PATCH] removed unnecessary line, added credits --HG-- branch : letterspacing_fix --- Scripts/Effects/CylinderText.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Scripts/Effects/CylinderText.cs b/Scripts/Effects/CylinderText.cs index 02fa588..ac8c1ac 100644 --- a/Scripts/Effects/CylinderText.cs +++ b/Scripts/Effects/CylinderText.cs @@ -1,4 +1,5 @@ -/// Credit Breyer +/// adaption for cylindrical bending by herbst +/// Credit Breyer /// Sourced from - http://forum.unity3d.com/threads/scripts-useful-4-6-scripts-collection.264161/#post-1777407 namespace UnityEngine.UI.Extensions @@ -33,8 +34,6 @@ namespace UnityEngine.UI.Extensions } public override void ModifyMesh(VertexHelper vh) { - Vector3 center = transform.position; - int count = vh.currentVertCount; if (!IsActive() || count == 0) {