Assign GameObject Icons, More Than Just One at a Time?

Ok, I can’t believe I have to select each GameObject separately to assign multiple objects the same icon. How can I achieve this? I have over 200 camera labels that were messed up with the Unity 5 upgrade, and I’d like to avoid taking the time just to assign them the same icon.

Much thanks for any help.

Found a script that’ll assign the icon for one gameobject at: It uses reflection to get the job done.

public static void AssignIcon(GameObject g)
    Texture2D tex = UnityEditor.EditorGUIUtility.IconContent("sv_label_0").image as Texture2D;
    Type editorGUIUtilityType = typeof(UnityEditor.EditorGUIUtility);
    System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.InvokeMethod | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic;
    object[] args = new object[] { g, tex };
    editorGUIUtilityType.InvokeMember("SetIconForObject", bindingFlags, null, null, args);