You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a simple luaTest.lua file that requires another simple point.lua file.
both are in same directory of unity( inside Assets)
it doesnt find the other file as a module(poin.lua)
luaTest.lua is:
public string code;
Script script = new Script();
script.DoString(code);
it says ScriptRuntimeException: module 'point' not found
MoonSharp.Interpreter.Script.RequireModule (System.String modname, MoonSharp.Interpreter.Table globalContext) (at Assets/Plugins/MoonSharp/Interpreter/Script.cs:633)
The text was updated successfully, but these errors were encountered:
i have a simple luaTest.lua file that requires another simple point.lua file.
both are in same directory of unity( inside Assets)
it doesnt find the other file as a module(poin.lua)
luaTest.lua is:
point.lua is:
when i do
it says ScriptRuntimeException: module 'point' not found
MoonSharp.Interpreter.Script.RequireModule (System.String modname, MoonSharp.Interpreter.Table globalContext) (at Assets/Plugins/MoonSharp/Interpreter/Script.cs:633)
The text was updated successfully, but these errors were encountered: