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