- public static class Timecount
- {
- public static Stopwatch st=new Stoppwatch();
- pub static void startTime(){
- st.Start();
- }
- public static void StopTime(){
- st.Stop();
- }
- }
Unity3d:代码运行时间统计
最新推荐文章于 2025-09-08 13:00:00 发布
本文介绍了一个简单的时间计数工具类的实现方法,该工具类使用了 Stopwatch 对象进行时间的开始和停止操作。

552

被折叠的 条评论
为什么被折叠?



