-
-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Description
Hi,
I have following code in c#
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
Metadata
Metadata
Assignees
Labels
No labels