/// <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))); }