unity, GUI.Button texture is black

GUI.Button(rect,tex),结果显示出来tex是黑的,原来是因为我以前在别处调用了GUI.contentColor =Color.black。

参考:http://answers.unity3d.com/questions/748147/custom-gui-button-is-black.html

你可能感兴趣的:(unity, GUI.Button texture is black)