Environment Introduction:
Windows7,unity3d,sqlite Expert Personal 3
Development language:
Javascript
Required DLL File:
Mono.Data.Sqlite.dll and Sqlite3.dll,dll file locations, screenshots:
Be sure to be in this directory, please keep it consistent.
If you need to release the compiled program successfully, you need to change some places, see the screenshot below:
To change the place has been marked with red, notice this to change. NET2.0, so that can be released. System defaults are not. NET2.0, this should be noted!!!
Let's take a look at the code below to see how to create the code for the database, which you don't have to hang onto any object, you just use it as a tool. As shown below:
/* Javascript class for accessing SQLite objects.
To use it, your need to make sure your COPY Mono.Data.SQLiteClient.dll from wherever it lives in your Unity directory
Your project ' s Assets folder
originally created by Dklompmaker in 2009
http://forum.unity3d.com/threads ... sier -database-stuff
Modified by Alan Chatham *
//#pragma strict/
*