[過去ログ] 【3Dゲームエンジン】Unity質問スレッド32 (1002レス)
1-

このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
912: 2017/12/17(日)02:16 ID:K2bL8mhm(3/7) AAS
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));
省4
1-
あと 90 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.012s