// ------------------------------------------------- // public Transform GetRandomSpawnPoint() { var spawnPoint = spawnPoints.GetRandomPlayerSpawnPoint(); // TODO: Check if there is a player already at the spawn point. // If yes, re-roll the dice until a point is selected that is not obstructed. return(spawnPoint); }