📅  最后修改于: 2022-03-11 14:48:48.100000             🧑  作者: Mango
public Transform SpawnPosition;
public GameObject ObjectToCreate;
void SpawnObject() {
Instantiate(ObjectToCreate, SpawnPosition.position);
}