Lua Interactive is just perfect Unity editor plugin to excute lua on play mode.
- Free
- Excute lua on play mode
- No runtime resources required
- No scripting required
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",
...
}
}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",
...
}
}- Download
Source codefrom Releases - Extract the package into your Unity project
- 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
- 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
- Create issues by issues page
- Send email to me: [email protected]