foreach (IDrawObject ray in DrawObjects)
{
if (ray.Tag.StartsWith(ID))
{
"here I´d like to delete"
}
}
As the code implies, the rays are tagged with a common ID and an individual loop index. Since the amount of rays varies from each bar update, I can´t simply overwrite with the same tag.
Simply put; how do I delete IDrawObjects?
Kindly, Fredrik
Comment