Getting Started with Lua
The following will help you set up your project to use VSCode as a Lua development environment.
Installing Dependencies
Section titled “Installing Dependencies”You will need to install the following, following the vendors’ instructions for your individual operating system:
- A working CCK Project in Unity (see ChilloutVR’s official setup docs)
- Visual Studio Code
- sumneko.lua extension
Configure the project
Section titled “Configure the project”This only needs to be done once.
- Close all VSCode windows to avoid weird bugs from editing things VSCode has open.
- In the Unity Editor, run Alpha Blend Interactive > Scripting > Set Up VSCode
Your project is now ready for VSCode! You will now get syntax highlighting and auto-complete in Lua files.