public override void OnInspectorGUI() { for (int i = 0; i < targets.Length; i++) { var shape = targets[i] as Shape; if (shape.ShapeData == null) { EditorGUILayout.HelpBox("No shape data", MessageType.Info); return; } ShapeEditorUtils.DrawShapeEditor(shape); EditorGUILayout.Space(); ShapeEditorUtils.DrawStrokeEditor(shape); EditorGUILayout.Space(); ShapeEditorUtils.DrawFillEditor(shape); } }