Method DiscardChanges DiscardChanges() Discards unsaved changes to the contents of the window. Declaration public override void DiscardChanges() Overrides EditorWindow.DiscardChanges()