Lua Interactive
Execute Lua scripts directly in the Unity Editor during play mode without requiring runtime resources or additional scripting. Perfect for rapid prototyping and debugging, this free plugin lets you test Lua code on-the-fly using a simple keyboard shortcut, with support for both editor and Android deployment.
com.litefeel.luainteractive 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/luainteractive.git README Markdown
Copy this to your project's README.md
## Installation
Add **Lua Interactive** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/luainteractive.git
```
[](https://www.pkglnk.dev/pkg/luainteractive)README
LuaInteractive
Lua Interactive is just perfect Unity editor plugin to excute lua on play mode.
Feature list
- Free
- Excute lua on play mode
- No runtime resources required
- No scripting required
Install
Using npm (Ease upgrade in Package Manager UI)Recommend
Find the manifest.json file in the Packages folder of your project and edit it to look like this:
{
"scopedRegistries": [
{
"name": "My Registry",
"url": "https://registry.npmjs.org",
"scopes": [
"com.litefeel"
]
}
],
"dependencies": {
"com.litefeel.luainteractive": "1.2.1",
...
}
}
Using git
Find the manifest.json file in the Packages folder of your project and edit it to look like this:
{
"dependencies": {
"com.litefeel.luainteractive": "https://github.com/litefeel/Unity-LuaInteractive.git#1.2.1",
...
}
}
Using .zip file (for Unity 5.0+)
- Download
Source codefrom Releases - Extract the package into your Unity project
How to use?
Using on Unity Editor
- Select
Edit > Project Settings… > Lua Interactivefrom the menu - Input a lua file path
- Press
Create defualt lua script - Play game
- Press Ctrl + Shift + R
- Excute the lua script
Using On Android
- setting like
Using on Unity Editor - Add custom macro
LUA_RUNNER_RUNTIME - connect device with adb
- Excute the python script
LuaInteractive/Editor/Script~/runOnAndroid.py
Support
- Create issues by issues page
- Send email to me: litefeel@gmail.com
No comments yet. Be the first!