コード例 #1
0
 // Moves a gameobject to a free spawn point.
 public void Spawn(GameObject g)
 {
     g.transform.position = spawnPointManagerScript.GetSpawnPosition() + Vector3.up * 3f;
 }