My question is how can I activate two points in an array? For example, I want one object to appear from one spawnpoint, then later I want the same object to spawn from TWO spawnpoints at the same time. I have my spawnpoints in an array, I just can’t figure out how to do it. I need some help
var spawnObject : GameObject; //your prefab
var spawnPoints : Transform[]; //spawn points
function Spawn(){
for(var curPoint in spawnPoints) Instantiate(spawnObject, curPoint.position, Quaternion.identity);
}