xLua icon indicating copy to clipboard operation
xLua copied to clipboard

请问Lua中能调用c#类中拥有多个索引值索引器吗?

Open sillsun opened this issue 1 year ago • 0 comments

public class TestClass { public string this[int x,int y] { get { return x + "," + y; } set ; } }

请问能够在Lua中直接使用吗?如果可以应该怎样做? 如果一个索引值是没问题,但是多个索引值貌似就不行了。

sillsun avatar Aug 14 '24 13:08 sillsun