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
pairs() iterates over all key inside a tables. Since C# objects are userdata, pairs does not work. These is a metamethod called __pairs so it should might be possible to add support for pairs to C# objects.
The problem is, that such object are not modified by DynamicLua, maybe this change has to be done in NLua.
The text was updated successfully, but these errors were encountered:
pairs()
iterates over all key inside a tables. Since C# objects areuserdata
,pairs
does not work. These is a metamethod called__pairs
so itshouldmight be possible to add support forpairs
to C# objects.The problem is, that such object are not modified by DynamicLua, maybe this change has to be done in NLua.
The text was updated successfully, but these errors were encountered: