Awesome
Lua Script Assets (Unity package)
This is a Unity package that allows creating lua scripts from the Unity editor, and makes Unity import ".lua" files as TextAssets.
:exclamation: Requirements
- Unity 2021.3.30f1 or newer
How To Use This Package
Short Instructions
To use this project, you can download the latest tagged release OR clone locally as a Git submodule -- either way, into your Unity project (2020.3.18+).
When cloning as a Git submodule, either clone from the unity-package
branch or a tag like v0.1.0
.
Once it's there, simply add the Unity package as a local package (from disk).
More Detailed Instructions
To use this project, ensure you already have a version of Unity downloaded with a Unity project open.
Ensure your Unity project is using Unity 2020.3.18 or newer.
- Download this project's tagged latest release, or clone this repo as a Git submodule.
- If cloning as a Git submodule, use the
unity-package
branch or a tag such asv0.1.0
.
- Ensure the package files are within your Unity project folder structure (either in or alongside your
Assets/
folder) - In your Unity project, open the Unity Package Manager from the
Window > Package Manager
menu. - In the package manager, add the
+
button and choose "Add package from disk...". - Browse for the
package.json
file, and click Open on it.
After the above steps, Unity should now import your package.
Once Unity finishes compiling, you should be able to import and create lua scripts in the Unity editor!
Suggestions & Feedback
If you have any suggestions or issues using the package in Unity, feel free to leave an issue.