xlua 给glist怎么绑定渲染函数
LuaException: c# exception in FixCSFunction:System.InvalidCastException: This type must add to CSharpCallLua: FairyGUI.ListItemRenderer
at XLua.ObjectTranslator.CreateDelegateBridge (System.IntPtr L, System.Type delegateType, System.Int32 idx) [0x001a8] in /Volumes/Work/quanle/Assets/XLua/Src/ObjectTranslator.cs:535
at XLua.ObjectCasters+<>c__DisplayClass23_0.<genCaster>b__1 (System.IntPtr L, System.Int32 idx, System.Object target) [0x0002f] in /Volumes/Work/quanle/Assets/XLua/Src/ObjectCasters.cs:442
at XLua.ObjectTranslator.GetObject (System.IntPtr L, System.Int32 index, System.Type type) [0x000cc] in /Volumes/Work/quanle/Assets/XLua/Src/ObjectTranslator.cs:895
at XLua.ObjectTranslator.CreateDelegateBridge (System.IntPtr L, System.Type delegateType, System.Int32 idx) [0x001a8] in /Volumes/Work/quanle/Assets/XLua/Src/ObjectTranslator.cs:535
at XLua.ObjectCasters+<>c__DisplayClass23_0.<genCaster>b__1 (System.IntPtr L, System.Int32 idx, System.Object target) [0x0002f] in /Volumes/Work/quanle/Assets/XLua/Src/ObjectCasters.cs:442
at XLua.ObjectTranslator.GetObject (System.IntPtr L, System.Int32 index, System.Type type) [0x000cc] in /Volumes/Work/quanle/Assets/XLua/Src/ObjectTranslator.cs:895
没有找到相关结果
已邀请:
2 个回复
谷主
赞同来自:
liubohong
赞同来自: