I am trying to get a list of Transforms for a spawn system. I have tried to use GameObject.FindGameObjectsWithTag with an array instead of a list and it seems like the array needs to be GameObjects and not Transforms, since that's what it's looking for. I've also tried another piece of code, but it only returns one random Transform into a list, here it is:
public List<Transform> t;
void Start()
{
t.Add(GameObject.FindWithTag("Spawn").transform);
}
As you can see in my code, it will only add one Transform to my list. I would like to add multiple Transforms instead of just one.