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
public class master
{
public static string read()
{
return "test";
}
}
public class testClass : master
{
public String strData;
public int intData;
public static string read2()
{
return "test";
}
}
and I have following code in lua:
luanet.load_assembly 'Prototype.Test'
a = luanet.import_type 'Prototype.Test.testClass'
Following lua line is working: return a.read2()
This one is not: return a.read()
I get the error: unknown member name read
Do I have to call the static method read() in another way?
Regards
Karsten
The text was updated successfully, but these errors were encountered:
Hi,
I have following code in c#
and I have following code in lua:
Following lua line is working:
return a.read2()
This one is not:
return a.read()
I get the error: unknown member name read
Do I have to call the static method read() in another way?
Regards
Karsten
The text was updated successfully, but these errors were encountered: