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

posted on 2016-01-19 11:13  wantnon  阅读(447)  评论(0编辑  收藏  举报

导航