[過去ログ]
【3Dゲームエンジン】Unity質問スレッド32 (1002レス)
【3Dゲームエンジン】Unity質問スレッド32 http://mevius.5ch.net/test/read.cgi/gamedev/1509307535/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
912: 名前は開発中のものです。 [sage] 2017/12/17(日) 02:16:48.31 ID:K2bL8mhm public GameObject Obj; //prefabを指定しておく Rigidbody2D Rb2D; public class PrefabCode : MonoBehaviour { void Update() { if (Input.GetMouseButton(0)) { Vector3 position = new Vector3(Random.Range(-10.0f, 10.0f), 10, 0); GameObject Prefab = Instantiate(Obj, transform.position, Quaternion.Euler(x, y, z)); Rb2D = Prefab.GetComponent<Rigidbody2D>(); Rb2D.gravityScale = 1.0f; } } http://mevius.5ch.net/tes
t/read.cgi/gamedev/1509307535/912
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 90 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.010s