【3Dゲームエンジン】Unity質問スレッド28at GAMEDEV
【3Dゲームエンジン】Unity質問スレッド28 - 暇つぶし2ch44:名前は開発中のものです。
17/01/13 02:53:42.04 tDrgUvk9.net
using UnityEngine;
using System.Collections;
public class Test2 : MonoBehaviour {
float timer;
public GameObject a;
void Update ()
{
timer += Time.deltaTime;
if (Mathf.Abs(3.05f - timer) < 1.192093E-07 )
{
timer = 0;
Instantiate(a, gameObject.transform.position, Quaternion.identity);
}
}
}
てどうだ


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