Renderer.sharedMaterial 共享材质
var sharedMaterial : Material
Description描述
The shared material of this object.
物体的共享材质。
Modifying sharedMaterial will change the appearance of all objects using this material, and change material settings that are stored in the project too.
修改sharedMaterial将改变所有物体使用这个材质的外观,并且也改变储存在工程里的材质设置。
It is not recommended to modify materials returned by sharedMaterial. If you want to modify the material of a renderer use material instead.
不推荐修改由sharedMaterial返回的材质。如果你想修改渲染器的材质,使用material替代。
参见: material property.
最后修改:2010年12月17日 Friday 17:48