void RemoveRadarBlip() { var pickupPos = PickupManager.GetRecentCollectedPos(); var mobPos = MobManager.GetRecentMobDestroyedPos(); // Looping through all of our pickup positions for (var y = 0; y < _pickupPositions.Count; y++) { //If a position in our list matches the position of a recently destroyed mob, "remove" it from the radar if (_pickupPositions[y] == mobPos) { _imgList[y].color = Color.clear; } // If a position in our list matches the position of a recently collected pickup, "remove" it from the radar if (_pickupPositions[y] == pickupPos) { // I'd rather not explicitly delete the Image instance, so we just set the color to transparent // The Pickup Positions List and the Image List both share the same indexes (Element 0 in the pos List corresponds directly Element 0 in the img List and it's associated radar blip) // Hence why we can just use this same iterator for accessing the Image List _imgList[y].color = Color.clear; } } }