public override void Setup(Runtime.LuaTable table) { table.SetConstant("import", (Func<string,object[], LuaTable>)ImportType); table.SetConstant("method", (Func<object, string, object>)InteropGetMethod); table.SetConstant("call", (Func<object, string, object[], object>)InteropCallMethod); table.SetConstant("setvalue", (Func<object, string, object, object>)InteropSetValue); table.SetConstant("getvalue", (Func<object, string, object>)InteropGetValue); table.SetConstant("subscribe", (Action<object, string, Delegate>)InteropSubscribeEvent); table.SetConstant("unsubscribe", (Action<object, string, Delegate>)InteropUnsubscribeEvent); table.SetConstant("makearray", (Func<object, object, object>)MakeArray); }