When I fire my weapon I would like all clones have the tag “Fire”
The prefab has the tag “Fire”
The first clone that fires has the tag “Fire”
But the rest of the clones have “Untagged”
I don’t know if this will help but here. This will spawn a selected game object on one of the empty game objects. Remember this will only spawn one game object at multiple spots. Like a random spawner.
#pragma strict
var source : GameObject; //The game object you want to spawn
var spawnPoints : GameObject[]; //The spawn points you want your game object to spawn
function Start ()
{
var pos : Vector3 = spawnPoints[Random.Range(0, spawnPoints.Length)].transform.position;
var instance = Instantiate(source, pos ,transform.rotation);
}