parent
6ebd7de12b
commit
42aabe0337
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue