通过UNITY中的Textmeshpro(TMPro)UI显示当前系统时间
参考了b站教学视频:https://www.bilibili.com/video/BV1ig4y137wY 但是这个是unity自带的text的,而不是TMPro的时间,那么TMPro中应该如何调用呢? 首先创建一个C#脚本,命名为TIMEget,代码如下所示: using System.Colle……
隐者艾伦的技术博客
There might be a better way, but so far I’ve found that you can do this, and you can try other ways.
Goal: In UNITY, after clicking a button, three screens (or Raw images) appear in sequence: the first screen appears 1 second later, the second screen appears 3 seconds later and the first screen disappears, and the third screen appears 3 seconds later and the second screen disappears. The first step is to create a C# script in Assets, let’s name it delaydisplay3, double-click visual studio to open the edit.