how to select multiple toggles at once in unity

Code Example - how to select multiple toggles at once in unity

                
                        public void MyToggles()
{
     if (ToggleOptions > 2)
     {
     //code to uncheck the last checked item
     }
}

public void ToggleOptions()
{
//code here to group together your toggles
}