public void factoryReset() { EditorPrefs.DeleteKey("PiXYZ.Orient"); EditorPrefs.DeleteKey("PiXYZ.MapUV"); EditorPrefs.DeleteKey("PiXYZ.MapUV3dSize"); EditorPrefs.DeleteKey("PiXYZ.ScaleFactor"); EditorPrefs.DeleteKey("PiXYZ.IsRightHanded"); EditorPrefs.DeleteKey("PiXYZ.IsZUp"); EditorPrefs.DeleteKey("PiXYZ.TreeProcess"); EditorPrefs.DeleteKey("PiXYZ.LODCurrentIndex"); EditorPrefs.DeleteKey("PiXYZ.LODSettingCount"); EditorPrefs.DeleteKey("PiXYZ.UseLods"); EditorPrefs.DeleteKey("PiXYZ.LODsMode"); lodSettings = new List <PiXYZLODSettings>(); EditorPrefs.DeleteKey("PiXYZ.SplitTo16BytesIndex"); EditorPrefs.DeleteKey("PiXYZ.UseMergeFinalAssemblies"); EditorPrefs.DeleteKey("PiXYZ.ShowPopupLods"); EditorPrefs.DeleteKey("PiXYZ.AutoUpdate"); EditorPrefs.SetBool("PiXYZ.ShowPopupLods", true); EditorPrefs.SetBool("PiXYZ.AutoUpdate", true); EditorPrefs.SetBool("PiXYZ.DoNotShowAgainDocumentationPopup", false); PiXYZLoDSettingsEditor.factoryReset(); getEditorPref(); }