using System; namespace LuaInterface { /// /// Marks a method for global usage in Lua scripts /// /// /// [AttributeUsage(AttributeTargets.Method)] // sealed public class LuaGlobalAttribute : Attribute { private string name,descript; /// /// An alternative name to use for calling the function in Lua - leave empty for CLR name /// public string Name { get { return name; } set { name = value; }} /// /// A description of the function /// public string Description { get { return descript; } set { descript = value; }} } }