Skip to content

Commit 1a0635a

Browse files
committed
Move CSV importer to Editor folder
1 parent 8de3261 commit 1a0635a

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

Editor/Csv.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

Editor/Csv/SQLiteAssetCsvImporter.cs renamed to Editor/SQLiteAssetCsvImporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
using UnityEditor.AssetImporters;
2525
using UnityEngine;
2626

27-
namespace SQLite.Editor.Csv
27+
namespace SQLite.Editor
2828
{
2929
[ScriptedImporter(0, null, new[] { "csv" })]
3030
public class SQLiteAssetCsvImporter : ScriptedImporter

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This package provides the excelent [SQLite-net](https://github.com/praeclarum/sq
1717
+ Supports persisting data in WebGL builds by using a [custom VFS backed by Indexed DB](https://github.com/gilzoide/idbvfs).
1818
- [SQLiteAsset](Runtime/SQLiteAsset.cs): read-only SQLite database Unity assets.
1919
+ Files with the extensions ".sqlite", ".sqlite2" and ".sqlite3" will be imported as SQLite database assets.
20-
+ ".csv" files can be imported as SQLite database assets by changing the importer to `SQLite.Editor.Csv.SQLiteAssetCsvImporter` in the Inspector.
20+
+ ".csv" files can be imported as SQLite database assets by changing the importer to `SQLite.Editor.SQLiteAssetCsvImporter` in the Inspector.
2121
+ ".sql" files are imported as Text assets by default, but can be imported as SQLite database assets by changing the importer to `SQLite.Editor.SQLAssetDatabaseImporter`.
2222
+ Use the `CreateConnection()` method for connecting to the database provided by the asset.
2323
Make sure to `Dispose()` of any connections you create.

0 commit comments

Comments
 (0)