Version: 2017.1
public Material material ;

描述

将投影到每个对象上的材质。

请注意,与 Renderer.material 不同,这会返回共享材质引用而不是唯一的副本。

Projector does nothing if it has no material set up. The Standard Assets package contains an example of Projector's material in Blob-Shadow folder.

另请参阅:projector componentMaterial 类。