unity3d延遲播放腳本
1 回答

森林海
TA貢獻2011條經驗 獲得超2個贊
協程就行,比如
IEnumerator DelayTime()
{
Debug.Log ("Start");
yield return new WaitForSeconds(1.0f);
Debug.Log ("End");
}
先打印Start,一秒后打印End,要播放什么就在這個地方改
- 1 回答
- 0 關注
- 1172 瀏覽
添加回答
舉報
0/150
提交
取消