download xlua
The version is in releases
Releases · Tencent/xLua (github.com)
Download Source code zip file
install xlua
Copy the files in the Asset folder in the compressed package to the Asset folder of the unity project, open the unity project, and complete the installation
set up
At the beginning, you need to Generate Code
VSCode installs the EmmyLua plugin
VSCode cannot prompt XLua problems
Open the search box Ctrl + Shift + P
Search for OmniSharp:Select Project
Select the corresponding .sln