Skip to content

Commit

Permalink
Release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
litefeel committed Jun 30, 2021
1 parent 8b13137 commit ec53686
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

#### v1.2.0 - 2021-06-30
- Change setting file From `ProjectSettings/LuaInteractive.json` to `UserSettings/LuaInteractive.json`
- Support run lua script on Android

#### v1.1.1 - 2021-03-26
- Fix the error when creating the defaultlua file when the plugin is located in the Assets directory

Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Find the manifest.json file in the Packages folder of your project and edit it t
}
],
"dependencies": {
"com.litefeel.luainteractive": "1.1.1",
"com.litefeel.luainteractive": "1.2.0",
...
}
}
Expand All @@ -45,7 +45,7 @@ Find the manifest.json file in the Packages folder of your project and edit it t
``` js
{
"dependencies": {
"com.litefeel.luainteractive": "https://github.com/litefeel/Unity-LuaInteractive.git#1.1.1",
"com.litefeel.luainteractive": "https://github.com/litefeel/Unity-LuaInteractive.git#1.2.0",
...
}
}
Expand All @@ -59,13 +59,21 @@ Find the manifest.json file in the Packages folder of your project and edit it t

## How to use?

#### Using on Unity Editor

1. Select `Edit > Project Settings… > Lua Interactive` from the menu
2. Input a lua file path
3. Press `Create defualt lua script`
4. Play game
5. Press Ctrl + Shift + R
6. Excute the lua script

#### Using On Android

1. setting like `Using on Unity Editor`
2. Add custom macro `LUA_RUNNER_RUNTIME`
3. connect device with adb
4. Excute the python script `LuaInteractive/Editor/Script~/runOnAndroid.py`

## Support

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.litefeel.luainteractive",
"displayName": "Lua Interactive",
"version": "1.1.1",
"version": "1.2.0",
"unity": "2018.3",
"description": "LuaInteractive is just perfect Unity editor plugin to excute lua on play mode.",
"keywords": [
Expand Down

0 comments on commit ec53686

Please sign in to comment.