예제 #1
0
 /// <summary>
 /// Finds all spawnpoints not visible to the main camera
 /// </summary>
 /// <returns></returns>
 private List <SpawnPoint> SelectNonVisibleSpawnpoints()
 {
     return(spawnPoints.FindAll(point => !CameraUtil.IsTargetVisible(MainCamera, point.gameObject)));
 }