public void OnInit() { if (cur != null) { cur.Deactivate(); } }
void Step() { if (current != null) { current.Deactivate(); } current = groups[index % groups.Count]; current.Activate(); index++; }