A Unity project that provides user registration and login; whereby user credentials are stored in a MySQL database. MAMP iwas used on a local web-server. This code is based on YoutUbe guide: https://youtu.be/SKbY-0zt2VE
The Unity project has 4 scenes: MainMenu, Login, Register and Game. MainMenu Scene: TextBox, 3 Buttons. Buttons: Register, Login, Game.
Login Scene: UserName -- TextBox and InputField. Password -- TextBox and InputField. Login -- Button. Text -- Display Message. login.php -- PHP code linked to Login.cs file.
Register Scene: UserName -- TextBox and InputField. Password -- TextBox and InputField. Register -- Button. Text -- Display Message. register.php -- PHP code linked to Register.cs file.
Game Scene: Nothing.
MAMP: Local MySQL database and webserver. login.php and register.php files reside in htdocs folder of web server.