- Home /
Editor Script - EditMultipleObjects with Lists
I want to be able to show a List in a custom editor script, but to also add and remove objects from the List within the Editor. I've got this working, however the method I was using didn't support EditMultipleObjects
I want to support EditMultipleObjects within the List
I'm very new to EditorScripts, but it's my understanding that I need to Serialise the objects and properties in order to achieve this.
I followed this forum: http://forum.unity3d.com/threads/display-a-list-class-with-a-custom-editor-script.227847/
It works great, however I can't seem to get EditMultipleObjects to work with the List. I would appreciate any advice, thanks!
What is an "Edit$$anonymous$$ultipleObjects"? What code are you currently using? What have you tried so far?
Hi FortisVenaliter, I'm referring to Unitys 'CanEdit$$anonymous$$ultipleObjects' found here: http://docs.unity3d.com/ScriptReference/CanEdit$$anonymous$$ultipleObjects.html
Like I said, I've followed the link I've supplied directly - so that is what code I am using. It works fine, until I want to conduct an $$anonymous$$ultiple Edit. I would expect to see the '---' in the List field when i have different Objects within the Lists. But I don't.
Thanks.