private void DoApplyRevertGUI() { if (GUILayout.Button("Revert", EditorStyles.toolbarButton, new GUILayoutOption[0])) { SVGAssetEditor assetEditor = SVGAssetEditor.Instance; if (assetEditor != null) { assetEditor.RevertChanges(); } UpdateOriginalPivotPoint(); } if (GUILayout.Button("Apply", EditorStyles.toolbarButton, new GUILayoutOption[0])) { SVGAssetEditor assetEditor = SVGAssetEditor.Instance; if (assetEditor != null) { assetEditor.ApplyChanges(); } UpdateOriginalPivotPoint(); } }