Published
- 1 min read
unity spawn object at position
The solution for this is noted below
unity spawn object at position
Solution
public Transform SpawnPosition;
public GameObject ObjectToCreate;
void SpawnObject() {
Instantiate(ObjectToCreate, SpawnPosition.position);
}
Try other methods by searching on the site. That is if this doesn’t work