Version: 2020.2

Texture2D.blackTexture

切换到手册
public static Texture2D blackTexture ;

描述

获取一个全部为黑色像素的小纹理。

Unity 将纹理的所有像素都设置为透明的黑色 (0,0,0,0)。