Heres what I’ve got:
List<string> lst = UnityEditorInternal.InternalEditorUtility.tags.OfType<string> ().ToList ();
lst.Add (selectedTag);
foreach (string str in lst) {
Debug.Log (str);
}
UnityEditorInternal.InternalEditorUtility.tags = lst.ToArray ();
I understand the list updates because Im creating the list and storing info into it.
Its the last line of the above code that gives me a read only error.
So how can I overcome this?