how to spawn an object at a specific position in unity code example
Example: unity spawn object at position
public Transform SpawnPosition;
public GameObject ObjectToCreate;
void SpawnObject() {
Instantiate(ObjectToCreate, SpawnPosition.position);
}