xLua icon indicating copy to clipboard operation
xLua copied to clipboard

关于在lua中对eventTrigger.triggers进行pairs遍历报错

Open coidx opened this issue 2 years ago • 0 comments

出现错误信息: 【System.Collections.Generic.List`1[T] 类型没生成, 使用反射替代.如果确定使用反射,将此类型添加到XLuaTools.cs配置中】

配置的导出

typeof(IEnumerator<UnityEngine.EventSystems.EventTrigger.Entry>), typeof(List<UnityEngine.EventSystems.EventTrigger.Entry>), typeof(List<UnityEngine.EventSystems.EventTrigger.Entry>.Enumerator),

调试信息:

SetCSTable -> type = System.Collections.Generic.List`1+Enumerator[UnityEngine.EventSystems.EventTrigger+Entry]

xlua版本

2.1.15

2 3 1

coidx avatar Mar 29 '23 09:03 coidx