using UnityEngine;
using System.Collections;
using System.Threading;
public class MyThread
{
public int count;
string thrdName;
public MyThread(string nam)
{
count = 0;
thrdName = nam;
}
public void run()
{
Debug.Log("start run a thread"+Time.time);
do{
Thread.Sleep(1000);
Debug.Log(
U3D中的多线程
最新推荐文章于 2024-06-22 13:29:00 发布