I am trying to take a vector3 of one object than put that vector3 on another. I want to have some space ships out of the view of the player and than move them to their view. I have a object that is the spawn location or object for the ships to be moved to. I just need to get the spawn spot vector3 and assign it to one of the ships.
That should look something like that:
GameObject spawnLocation;
GameObject spaceShip;
void SomeFunction()
{
spaceShip.transform.position = spawnLocation.transform.position;
}