1. Download
Precompiled Binaries For Windows
Sqlite-dll-win32-x86-xxxxxx.zip 32- bit operating system
Sqlite-dll-win64-x64-xxxxxx.zip 64 -bit operating system
Unzip all into a folder: for example, the sqlite folder on the E drive
2. Create a sqlite database file
Win+R=>cmd
E:
CD sqlite
sqlite3 study.db
.database
Create a study.db database
3. Exit
.quit
4. Edit the database
SQLiteStudio
5.Unity operation sqlite
6. Import data
6.1 Save the table as .csv format
6.2 Open the .csv file with Notepad and save it as UTF-8 format
6.3 SQLiteStudio right-click to import in the table under the database (must have a table)
- The class name of the data declared in Unity is the same as that in the database, that is, the same as the table name under Tables