unity3d延遲播放腳本
1 回答

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