◆ Enumeration< T >()
static void NLua.LuaRegistrationHelper.Enumeration< T > |
( |
Lua |
lua | ) |
|
|
static |
Registers an enumeration's values for usage as a Lua variable table
- Template Parameters
-
T | The enum type to register |
- Parameters
-
lua | The Lua VM to add the enum to |
◆ TaggedInstanceMethods()
static void NLua.LuaRegistrationHelper.TaggedInstanceMethods |
( |
Lua |
lua, |
|
|
object |
o |
|
) |
| |
|
static |
Registers all public instance methods in an object tagged with LuaGlobalAttribute as Lua global functions
- Parameters
-
lua | The Lua VM to add the methods to |
o | The object to get the methods from |
◆ TaggedStaticMethods()
static void NLua.LuaRegistrationHelper.TaggedStaticMethods |
( |
Lua |
lua, |
|
|
Type |
type |
|
) |
| |
|
static |
Registers all public static methods in a class tagged with LuaGlobalAttribute as Lua global functions
- Parameters
-
lua | The Lua VM to add the methods to |
type | The class type to get the methods from |
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Source/Assets/Dialogue System/Scripts/NLua/Core/LuaRegistrationHelper.cs