05 2016 档案
摘要:public Texture2D T;private bool wbool = false; void OnGUI() { if (GUILayout.Button("显示窗口")) { wbool = true; } if (wbool) { GUILayout.Window(0, new Rec
阅读全文
摘要:#region //if (GUI.Button(new Rect(100, 100, 30, 60), str)) //{ // str += str; //} //if (GUILayout.Button(str)) //{ // str += str; //} //GUILayout.Begi
阅读全文
摘要:public Texture2D pic; private bool Cl = false; void OnGUI() { GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), pic); GUIStyle style = new
阅读全文
摘要:void OnGUI() { GUIStyle style = new GUIStyle(); //实例化一个新的GUIStyle,名称为style ,后期使用 style.fontSize = 50; //字体的大小设置数值越大,字越大,默认颜色为黑色 style.normal.textColor
阅读全文

浙公网安备 33010602011771号