Exemplo n.º 1
0
    public static void ExportJson()
    {
        string path = EditorUtility.SaveFilePanel("Export XML", "Assets/SplineTool/SavedSplines/", component.name, "json");

        if (path != null)
        {
            component.ExportJson(path);
        }
    }