标签:
GUIStyle titleStyle2 = new GUIStyle(); titleStyle2.fontSize = 20; titleStyle2.normal.textColor = new Color(46f/256f, 163f/256f, 256f/256f, 256f/256f); GUI.Label(new Rect(Screen.width / 2 - 70, Screen.height / 2 -30, 100, 30), "是否覆盖已有关卡?", titleStyle2);
unity3d 改动gui label颜色,定义颜色需除以256
标签:
原文地址:http://www.cnblogs.com/gcczhongduan/p/4196385.html