visual studio user instructions.
To use Rider 2021.2.2 (updated to the latest version), you need to install the following:
master branch requires unity 2020.3 (C#8 syntax is used)
start Unity, menu File -> Open Project... -> Open Select the ET/Unity folder and click on the Select Folder button. 5.
Click on the Unity menu Assets -> Open C# Project to start vs
Run Tools->BuildCode on the Unity menu, this step will compile the client code
Open ET/Client-Server.sln compile with Rider (must compile all project, right click VS solution, compile all) The red reference error is reported here because the Unity library has not been compiled into the Unity/Temp/Debug directory, which is generally ignored, you must ensure that Unity is open, and then just compile the Client-Server directly.Unity.Mono will copy the Unity libraries it depends on into Unity/Temp/Debug. Unity.ModelView UnityHotfix.View will all depend on the libraries under Unity/Temp/Debug. If you still burst red, close vs or rider, open unity first, then Client-Server.sln, then Compile Client-Server
Translated with www.DeepL.com/Translator (free version)
export table tools, compile the command line into the Bin directory after completion, execute dotnet Tools.dll --AppType=ExcelExporter
export protocol tool, compile and enter Bin directory, execute dotnet Tools.dll --AppType=Proto2CS
start server: dotnet Server.dll --Process=1 --Console=1
Double-click the Init scene in the Scenes directory in Unity and click Play to run it.
If you want to modify the configuration, go to the Excel directory and modify the corresponding table, do step 6 of the running steps, and then re-run the Server.App project to start the server.
Unity->tools menu->Package Tools, select PC, check whether to package exe, click Start Package, and type a PC package in Release directory.
Run Unity Login Enter the lobby Enter the scene
Run the PC package, log in and enter the lobby
Click the right mouse button to move the character
I. Error causes are.