private void SetupLevelThreeScoutPOIUI() { levelOneScoutPOI.SetActive(false); levelTwoAndThreeScoutPOI.SetActive(true); int counter = 0; PointOfInterestLine line = pointOfInterestLines[counter]; line.SetupLine(false, "Hacks", hackTargets.Count); foreach (HackTarget hackTarget in hackTargets) { counter += 1; line = pointOfInterestLines[counter]; line.SetupLine(true, hackTarget.getHackType()); } counter++; line = pointOfInterestLines[counter]; line.SetupLine(false, "Objects", mapObjects.Count); foreach (MapObject mapObject in mapObjects) { counter += 1; line = pointOfInterestLines[counter]; line.SetupLine(true, mapObject.GetObjectType()); } while (counter < 4) { counter++; line = pointOfInterestLines[counter]; line.SetBlankLine(); } }
private void SetupLevelTwoScoutPOIUI() { levelOneScoutPOI.SetActive(false); levelTwoAndThreeScoutPOI.SetActive(true); int counter = 0; PointOfInterestLine line = pointOfInterestLines[counter]; line.SetupLine(false, "Hacks", hackTargets.Count); counter++; line = pointOfInterestLines[counter]; line.SetupLine(false, "Objects", mapObjects.Count); while (counter < 4) { counter += 1; line = pointOfInterestLines[counter]; line.SetBlankLine(); } }