using UnityEngine;
using System.Collections;
public class MakeBlocks : MonoBehaviour {
public GameObject Buildable;
// Use this for initialization
void Start()
{
for (int i = 0; 1 < 5; i++)
Instantiate(Buildable);
}
void OnMouseDown() {
}
}
I don’t see what’s wrong with this. It doesn’t make a GameObject. I tried using the API a bunch of times.