3.8 批量修改材质属性

怎么批量修改为builtin-unlit呢?

用代码动态替换

具体怎么改呢?我试了一下不行

遍历材质文件,把材质的_effectAsset的uuid替换成builtin-unlit的uuid,这样可以吗

image 这样解决了