public override void OnInspectorGUI() { EditorGUIExtension.DrawScriptBox(this); serializedObject.Update(); EditorGUILayout.PropertyField(name); EditorGUILayout.PropertyField(xP); EditorGUILayout.PropertyField(zP); EditorGUILayout.PropertyField(xS); EditorGUILayout.PropertyField(zS); EditorGUILayout.PropertyField(navigable); exceptionsList.Draw(); connectionsLight.Draw(); serializedObject.ApplyModifiedProperties(); }