1、定時循環
void Start ()
{
StartCoroutine("DoSomething");
}
void DoSomething ()
{
while (true)
{
//需要重複執行的代碼就放於在此處
print("DoSomething Loop");
//設置間隔時間爲10秒
yield WaitForSeconds (10);
}
}
1、定時循環
void Start ()
{
StartCoroutine("DoSomething");
}
void DoSomething ()
{
while (true)
{
//需要重複執行的代碼就放於在此處
print("DoSomething Loop");
//設置間隔時間爲10秒
yield WaitForSeconds (10);
}
}
值 對應鍵 Backspace 退格鍵 Delete Delete鍵 Tab TabTab鍵 Clear Clear鍵 Return 回車鍵 Pause 暫停鍵 Escap