NLua
NLua copied to clipboard
Get all variables and functions
Is there a way of getting all the variables and functions that a lua script contain?
You could get a table of all the globals in the lua state with lua.GetTable("_G");
The lua object also has a member lua.Globals
but I couldn't get that to work for some reason.
Thank you it worked