protected override void AdditionalMenuItems() { Add(new MenuSeparator()); Add(new MenuItemButton(BGEditorUtility.LoadTexture2D(BGEditorUtility.Image.BGSelectionRemove123), "Remove this point from selection", () => { EditorSelection.Clear(); EditorUtility.SetDirty(Overlay.Editor.Curve); })); }
protected override void AdditionalMenuItems() { Add(new MenuSeparator()); Add(new MenuItemButton(() => BGBinaryResources.BGSelectionRemove123, "Remove this point from selection", () => { EditorSelection.Clear(); EditorUtility.SetDirty(Overlay.Editor.Curve); })); }