ulua, tolua upgrade to replace xlua

The recent unity project needs to hot fix the csharp code error

xlua is a good option

hot-replacing a specific csharp function

Issues involved:

The unity lua plugin involves three levels:

c/c++ layer

lua layer

c# layer

Replace ulua.c of c++ layer with xlua.c and i64lib perflib

The c# layer removes the ulua folder and puts it in the xlua folder

The lua layer replaces the luanet interface with xlua's import_type load_assembly

The business logic code of the c# layer is modified, and the interface such as LuaEnv.Globals.GetInPath of xlua is used to replace the interface where lua is called.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324437806&siteId=291194637