C# Класс Schumix.Components.LuaEngine.LuaFunctionAttribute

Attribute used to mark functions which are exposed to the Lua VM.
Наследование: System.Attribute
Показать файл Открыть проект

Открытые методы

Метод Описание
LuaFunctionAttribute ( string functionName, string functionDoc ) : System

Creates a new attribute marking the function to be registered by the Lua VM.

Описание методов

LuaFunctionAttribute() публичный Метод

Creates a new attribute marking the function to be registered by the Lua VM.
public LuaFunctionAttribute ( string functionName, string functionDoc ) : System
functionName string Name of the function. Will be used in Lua (does not have to be the same as the C# function name).
functionDoc string Function documentation
Результат System