removed unnecessary line, added credits

--HG--
branch : letterspacing_fix
pull/413/head
herbst 2015-12-10 19:05:27 +01:00
parent 6ebd7de12b
commit 42aabe0337
1 changed files with 2 additions and 3 deletions

View File

@ -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 /// Sourced from - http://forum.unity3d.com/threads/scripts-useful-4-6-scripts-collection.264161/#post-1777407
namespace UnityEngine.UI.Extensions namespace UnityEngine.UI.Extensions
@ -33,8 +34,6 @@ namespace UnityEngine.UI.Extensions
} }
public override void ModifyMesh(VertexHelper vh) public override void ModifyMesh(VertexHelper vh)
{ {
Vector3 center = transform.position;
int count = vh.currentVertCount; int count = vh.currentVertCount;
if (!IsActive() || count == 0) if (!IsActive() || count == 0)
{ {