top of page

オブジェクト生成(位置指定あり)

    public GameObject test;

    void Start () {
        //このスクリプトを貼ったオブジェクトを中心の生成される
        Instantiate (test, this.transform.position, Quaternion.identity);
    }

 

bottom of page