top of page

TOSHICHAN
Unityでスクリプト&簡単な実装サイト
オブジェクト生成位置指定(2D)
//生成するオブジェクト
public GameObject test;
void Start () {
//Instantiate( 生成するオブジェクト, 場所, 回転 ); 回転はそのままなら↓
Instantiate (test, new Vector2 (1.0f, 1.0f), Quaternion.identity);
}
bottom of page