Skip to content

Commit ec53686

Browse files
committed
Release 1.2.0
1 parent 8b13137 commit ec53686

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2+
#### v1.2.0 - 2021-06-30
3+
- Change setting file From `ProjectSettings/LuaInteractive.json` to `UserSettings/LuaInteractive.json`
4+
- Support run lua script on Android
5+
16
#### v1.1.1 - 2021-03-26
27
- Fix the error when creating the defaultlua file when the plugin is located in the Assets directory
38

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Find the manifest.json file in the Packages folder of your project and edit it t
3333
}
3434
],
3535
"dependencies": {
36-
"com.litefeel.luainteractive": "1.1.1",
36+
"com.litefeel.luainteractive": "1.2.0",
3737
...
3838
}
3939
}
@@ -45,7 +45,7 @@ Find the manifest.json file in the Packages folder of your project and edit it t
4545
``` js
4646
{
4747
"dependencies": {
48-
"com.litefeel.luainteractive": "https://github.com/litefeel/Unity-LuaInteractive.git#1.1.1",
48+
"com.litefeel.luainteractive": "https://github.com/litefeel/Unity-LuaInteractive.git#1.2.0",
4949
...
5050
}
5151
}
@@ -59,13 +59,21 @@ Find the manifest.json file in the Packages folder of your project and edit it t
5959

6060
## How to use?
6161

62+
#### Using on Unity Editor
63+
6264
1. Select `Edit > Project Settings… > Lua Interactive` from the menu
6365
2. Input a lua file path
6466
3. Press `Create defualt lua script`
6567
4. Play game
6668
5. Press Ctrl + Shift + R
6769
6. Excute the lua script
6870

71+
#### Using On Android
72+
73+
1. setting like `Using on Unity Editor`
74+
2. Add custom macro `LUA_RUNNER_RUNTIME`
75+
3. connect device with adb
76+
4. Excute the python script `LuaInteractive/Editor/Script~/runOnAndroid.py`
6977

7078
## Support
7179

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.litefeel.luainteractive",
33
"displayName": "Lua Interactive",
4-
"version": "1.1.1",
4+
"version": "1.2.0",
55
"unity": "2018.3",
66
"description": "LuaInteractive is just perfect Unity editor plugin to excute lua on play mode.",
77
"keywords": [

0 commit comments

Comments
 (0)