error trpe 'UnityEngine.Lighr' does not contain a definiton for 'sgadowRadius' and no extension method...

解决方案:在Generator.cs 中GetGenConfig 添加黑名单

public static void GetGenConfig(IEnumerable<Type> check_type)
{
...
BlackList = new List<List<string>>()
{
new List<string>(){"UnityEngine.Light", "shadowRadius"},
new List<string>(){"UnityEngine.Light", "shadowAngle"},
};
... }
---------------------
作者:cai344205
来源:CSDN
原文:https://blog.csdn.net/cai344205/article/details/
版权声明:本文为博主原创文章,转载请附上博文链接!

执行xlua ->Clear Generator code ,再执行xlua ->Generator code

05-11 08:03