public static bool WithinNoSpawn(Vector3 point) { bool within = false; foreach(NoEnemySpawn s in GameHandler.Instance().noSpawns) { if(s.IsWithin(point)) { within = true; break; } } return within; }