diff --git a/CHANGELOG.md b/CHANGELOG.md index 7619be6..31f05e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 40acaeb..a738965 100644 --- a/README.md +++ b/README.md @@ -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", ... } } @@ -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", ... } } @@ -59,6 +59,8 @@ 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` @@ -66,6 +68,12 @@ Find the manifest.json file in the Packages folder of your project and edit it t 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 diff --git a/package.json b/package.json index 7fc0c23..4a8705a 100644 --- a/package.json +++ b/package.json @@ -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": [