CanEditMultipleObjects Manual     Reference     Scripting  
Scripting > Editor Attributes > CanEditMultipleObjects
CanEditMultipleObjects Inherits from System.Attribute

Attribute used to make a custom editor support multi-object editing.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

When multiple objects are selected, Editors that don't have this attribute will show the message "Multi-object editing not supported". See the Editor class documentation on how to make an Editor support multi-object editing.

See Also: Editor class