Перейти к файлу
hongqiangzhu c1cf801bb6 fix a null using issue and add ignore regular file 2020-02-25 10:58:27 +08:00
Assets fix a null using issue and add ignore regular file 2020-02-25 10:58:27 +08:00
HostedData lua live coding project 2019-09-11 21:56:06 +08:00
LuaLib lua live coding project 2019-09-11 21:56:06 +08:00
Packages lua live coding project 2019-09-11 21:56:06 +08:00
ProjectSettings lua live coding project 2019-09-11 21:56:06 +08:00
.gitignore fix a null using issue and add ignore regular file 2020-02-25 10:58:27 +08:00
LICENSE.md add license file 2019-09-11 22:02:13 +08:00
README-CN.txt Update README-CN.txt 2020-02-20 00:57:13 +09:00
README.md update readme-en file 2019-09-12 11:11:41 +08:00

README.md

demo usage

Install adb,and config adb environment.

lua liveCoding:

Add and run customServer-HttpPushHostingService on the hosting window of addressables tools. After entering the game, click open button to open log panel, click hotfix buttone to connect to local HostServer. If you are installing game on android device, you need to execute the adb command in the command line tool.

adb reverse tcp:11000 tcp:11000

After connecting to the local HostServer, you can send text message through HttpPushHostingService to check if the connection is succeeded. With a complete connection, log panel will print text sent from game.

If the connection is succeeded, you can test hotfix, edit Lua code in the IDE, after switching back to Unity editor, hotfix will be executed.

Asset LiveCoding:

When using Addressable system on mobile device, you need to connect usb cable to the development PC, and input adb command. The port id is the same with Unity HostingServices port id.

adb reverse tcp:53036 tcp:53036

dll LiveCoding:

This feature need to modify Unity Android Player. This feature will be integrated to China version of Unity and fullfill the needs of China developers. After modifying C# code, click menu G6HotFix->NewScirptBuild&Push Dll, waiting for the progress bar completed and restart the game to see the effect.