NLua problem
I'm trying to embed lua in my application and I'm stuck over a problem that it cannot pick method names from .NET
LUA:
C#:
The error
20 Replies
https://stackoverflow.com/questions/31336767/how-to-integrate-lua-with-net
they are saying moon# is better
Stack Overflow
How to Integrate Lua with .Net
Requirement is user should be able to add Lua script in text box, and then I need to check user has added proper Lua script and if script is correct then I need to run that script. Can anyone sugge...
I'm looking to use C# namespaces in lua
I don't find anything about that
Ohhh
I know nothing about NLua, but that was about 20 secs into reading the first google hit for "NLua"
I guess i'm blind lol
It's still saying that the class doesn't exist
try
System.Diagnostics.Process.Start("notepad.exe")
Nope
(โฏยฐโกยฐ)โฏ๏ธต โปโโป
attempt to index a nil value (global 'System')
GitHub
Calling C# function from lua. ยท Issue #420 ยท NLua/NLua
I'm a total newbie when it comes to NLua but I have made a script that should work according to what I read in the read the readme. Here's my Lua code: function init() cs:Init() end functio...
check this issue maybe
Can you create a new Process instance? Can you do anything with any NET class?
This issue has no answers to my problem
I'll try right now
they say how to give lua a c# class instance
they say how to give c# a lua function
instead of giving the guy who wrote the issue
instructions how to pass a c# class to lua
GitHub
Calling C# function from lua. ยท Issue #420 ยท NLua/NLua
I'm a total newbie when it comes to NLua but I have made a script that should work according to what I read in the read the readme. Here's my Lua code: function init() cs:Init() end functio...
that
I think I figured it out
But it's weird
I'm able to call MessageBox.Show static method from System.Windows.Forms
But I'm not able to call Process.Start from System.Diagnostics
I'm able to call static classes using moonsharp
@xtreit