Example #1
0
        }         // ctor

        /// <summary>Assign a methodname with the current chunk.</summary>
        /// <param name="name">unique method name</param>
        protected void RegisterMethod(string name)
        => Lua.RegisterMethod(name, this);
Example #2
0
        }         // ctor

        /// <summary>Assign a methodname with the current chunk.</summary>
        /// <param name="sName">unique method name</param>
        protected void RegisterMethod(string sName)
        {
            Lua.RegisterMethod(sName, this);
        }         // proc RegisterMethod