Home

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


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.

  1. Download this project's tagged latest release, or clone this repo as a Git submodule.
  1. Ensure the package files are within your Unity project folder structure (either in or alongside your Assets/ folder)
  2. In your Unity project, open the Unity Package Manager from the Window > Package Manager menu.
  3. In the package manager, add the + button and choose "Add package from disk...".
  4. 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.