private static void DumpAssets() { var path = EditorUtility.SaveFilePanel("DumpAssets", null, "dump", "txt"); if (string.IsNullOrEmpty(path)) { return; } var s = Assets.DumpAssets(); File.WriteAllText(path, s); EditorUtility.OpenWithDefaultApp(path); }