private void OnDisable() { EditorHelpers.DestroyBool(this, ref showErrorMessage); EditorHelpers.DestroyBool(this, ref showDefaultConfigurations); EditorHelpers.DestroyBool(this, ref showPresetMessageForKeyNotFound); EditorHelpers.DestroyBool(this, ref showDefaultLanguageForTranslationNotFound); EditorHelpers.DestroyBool(this, ref showPresetMessageForTranslationNotFound); translationStatus.Clear(); frequencyInKeyAppearance.Clear(); }