-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
How can one get a LuaTable into a C# list?
I have tried variations of:
public static System.Collections.Generic.List ToList(LuaSharp.LuaTable table) {
System.Collections.Generic.List list = new System.Collections.Generic.List();
System.Collections.Generic.KeyValuePair<object,object> pair in table) {
list.Add(pair.Key.ToString());
}
return list;
}
but, I get a Mono crash when I try to generate the KeyValue Enumerator.
Ideas?
-Doug
Metadata
Metadata
Assignees
Labels
No labels