Unity3D-NLua
Unity3D-NLua copied to clipboard
Anyone know why this doesn't work?
I'm getting an error telling me: unexpected symbol near ')'
How do I fix this. Note: addCommand is an function from a .NET script called Console.
Console.addCommand (Command("Test", "This is a text command.", 0, 1), function(args)
if args.Length == 1 then
Console.Log ("WOOP!")
end
)