instantiate object at certain position unit code example
Example: instantiate an object at a certain position unity
Instatiate(prefab, new Vector3(posX, posY, posZ), Quaternion.identity);
Instatiate(prefab, new Vector3(posX, posY, posZ), Quaternion.identity);