Hello, Im trying to access a SqlLite database through Mono.Data.SqliteClient. with free unity license.
“Mono.Data.SqliteClient.dll” and “System.Data.dll” or “sqlite3.dll” should be in the Assetes directory? The debug also gives me an error: “DllNotFoundException: sqlite3” when using “Mono.Data.SqliteClient.SqliteConnection.Open()”. Any suggestions will be appreciated. Thanks in advance.
import System.Data;
import Mono.Data.SqliteClient;
private var dbConnection : IDbConnection;
function OpenDB() {
dbConnection = new SqliteConnection("URI=file:database.db");
dbConnection .Open();
}