[Unity heat Update] LuaFramework01.hello world

Framework Address:

https://github.com/jarjin/LuaFramework_UGUI

 

1. Download unity opens, click on the menu bar LuaFramework / Welcome Screen, a window will pop up help

 

2. Help window earlier, click on the menu bar Lua / Clear wrap files, and then click LuaFramework / Build Windows Resource, at this time there may be an error (unity version 2018.3.8), suggesting that these two UnityEngine_LightWrap.cs and UnityEngine_QualitySettingsWrap.cs wrong file, two files are generated automatically, where you can shield at first, open CustomSettings.cs, find the Light and QualitySettings lines and comment, click the save Lua / Clear wrap files and LuaFramework / Build Windows Resource again, At this time there is no incorrect report. Finally, open the main scenario runs as follows:

 

Entrance 3.lua code in Main.lua, you will see print (Figure I), and then modify the print hello world, after running discovery does not take effect because the AB package or older, click LuaFramework / Build Windows Resource, and then run it goes into effect (Figure II)

Guess you like

Origin www.cnblogs.com/lyh916/p/10962368.html