[]directionLight.direction代码警告提示
定向光设置
directionLight.direction = new Laya.Vector3(-.3, -1, -1);
会提示
Warning: discard property,please use transform's property instead.
去掉就不会, 设置transform会报错
directionLight.direction = new Laya.Vector3(-.3, -1, -1);
会提示
Warning: discard property,please use transform's property instead.
去掉就不会, 设置transform会报错
要回复问题请先登录
1 个回复
Aar0n
赞同来自:
这边测没问题