C# 클래스 Schumix.Components.LuaEngine.LuaFunctionAttribute

Attribute used to mark functions which are exposed to the Lua VM.
상속: System.Attribute
파일 보기 프로젝트 열기: Schumix/Schumix2

공개 메소드들

메소드 설명
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