tolua
tolua copied to clipboard
unity runtime build issue
在unity打包的时候,出现了meshrenderer doesnot contain 'recieveGI',这是由于meshrender里面的三个新函数, // // 摘要: // Specifies the relative lightmap resolution of this object. (Editor only) public float scaleInLightmap { get; set; } // // 摘要: // Determines how the object will receive global illumination. (Editor only) public ReceiveGI receiveGI { get; set; } // // 摘要: // When enabled, seams in baked lightmaps will get smoothed. (Editor only) public bool stitchLightmapSeams { get; set; } 是editor only ,一旦导出lua,然后build apk,就会报错。建议像xlua一样,加入黑名单机制,我在ToLuaExport里加入了
请大佬看下,另外如果需要我可以将toluaexport给到您
参考这里https://blog.csdn.net/u014076894/article/details/105584292