参考链接: http://www.xuanyusong.com/archives/3471 https://www.cnblogs.com/lyh916/p/9162463.html https://www.cnblogs.com/zsb517/p/6565446.html 0.Text的顶点分布 using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TestMesh : B…
错误写法: Color color = m_text.GetComponent<Text> ().color; Color startColor = new Color (color.r,color.g,color.b,0f); Color endColor = new Color (color.r,color.g,color.b,1f); m_text.GetComponent<Text> ().color = startColor; …