欢迎包含gachon生活的虚拟世界! (Gachon大学网络学期 - 项目)
Welcome our virtual world which contains gachon life!
YouTube
Please set the encoding setting to utf8 — UTF-8 Unicode
.
If it is MYSQL 5.6 or MariaDB 10.1 or higher version,
Modify my.cnf because MYSQL doesn’t default value about Not Null attribute.
- [mysqld]
- sql_mode=NO_ENGINE_SUBSTITUTION
So, The following table and view will be created.
- using SQL_Library;
- namespace MainServer
- {
- class private_data
- {
- public static MysqlOption mysqlOption = new MysqlOption("mysql_host", "mysql_database", "id", "password");
- }
- }
If the build succeeds, your network library will be connected to Unity because of my build event setting.
Check server screen
Check created file in /Gachon-Village/Unity Client/Gachon Vilage/Assets/Plugins/NetworkLibrary/
However, if NGUI is not set, nothing will be visible.
Run the NGUI file with the Unity running! (Version 3.11)
So, This is result.
Since the resolution of our game is 1600*900, It would be better to fix the resolution.
Open the file to ./Unity Client/Gachon Vilage/Assets/Script/Network/NetworkMain.cs
server = new Client(“127.0.0.1”, 1119);
1119
is Default Port for Main Socket.
8282
is port for File Transfer.