【3Dゲームエンジン】Unity質問スレッド28at GAMEDEV
【3Dゲームエンジン】Unity質問スレッド28 - 暇つぶし2ch36:名前は開発中のものです。
17/01/13 00:48:44.36 2cQ+7wxA.net
3.05秒過ぎた後最初のフレームで1度だけ実行ならコルーチン使えよと
void Start() {
StartCoroutine(Example());
}
IEnumerator Example() {
yield return new WaitForSeconds(3.05f);
Instantiate(a, gameObject.transform.position, Quaternion.identity);
}


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch