中文 | English
RocketDriver Pro is a game framework for Unity engine
Lua.RunLuaRaw
function, or directly execute the Lua script. If there is a return value, get the return value.Lua.RunLua
function to execute Lua scripts. And the wrapper class LuaResult is returned for the return value.Lua.IsTrue
function to directly judge the Lua logical expression and obtain the resulting Boolean value.Lua.RegisterFunction
function to execute the registration logic.Lua.UnregisterFunction
function to unregister the behavior.Lua.Restart
function to reset the Lua interpreter, which will clear all contexts.JLGames/RocketDriver/Samples/LuaDemo