using UnityEngine; using System.Collections; public class Test : MonoBehaviour { private string showText = "你好,欢迎来到奇幻大陆!"; private string text = string.Empty; private float time = 0; private void OnGUI() { time += UnityEngine.Time.deltaTime; if (time > 0.5) { time = 0; if (text.Length >= showText.Length) { text = string.Empty; } text = showText.Substring(0, text.Length + 1); } GUI.Label(new Rect(0, 0, 200, 200), text); } }
https://blog.csdn.net/qinyuanpei/article/details/48435063
一点思考http://www.ceeger.com/forum/read.php?tid=18229
工具介绍 https://blog.csdn.net/swordfishx82/article/details/45456613?utm_source=blogxgwz1
https://blog.csdn.net/u011926026/article/details/63683227?locationNum=11&fps=1