I’m getting the following exception No attribute with the name ‘CanEditMultipleObjects’ despite the fact that the documentation says there IS an attribute of @CanEditMultipleObjects.
Anyone have any idea what i causing this?
#pragma strict
@CanEditMultipleObjects
@CustomEditor(Water)
class WaterEditor extends Editor {
function OnInspectorGUI () {
DrawDefaultInspector();
if(GUILayout.Button("Reset Water")) {
}
}
}