There are many code updates for unity, mainly LUA.
Jsbinding + Sharpkit is a new technology and he does two things:
- Jsbinding exports C # to JS, so you can write code with JS, just like Lua
- Sharpkit (sharpkit.net) translates C # code into JS code.
Therefore, he can let you use C # to compile the code, then a key to convert to JS code and run normally . If your project has been developed in C # and you want to be able to update the code, please try it.
This article first to do the introduction, follow-up this blog will do a detailed introduction.
- Serialization functionality is fully supported. That is, you can adjust the value in Inspector, including all underlying types, arrays, structures, and then one-click conversion;
- Almost all C # grammars are supported (generics, arrays, lamda expressions, delegate,ref/out, etc., later expanded in detail)
- First use C # to write and debug the program, and then a key compile C # compile JS; At the time of publishing, C # source files are deleted;
- Can still debug after converting to JS (using Firefox)
- Develop faster with C #
Jsbinding+sharpkit/installing Sharpkit and adding Sharpkit engineering
QQ Group: 189738580
Unity Code Hot Update Scenario Jsbinding + Sharpkit Introduction