05 2016 档案

摘要:public Texture2D T;private bool wbool = false; void OnGUI() { if (GUILayout.Button("显示窗口")) { wbool = true; } if (wbool) { GUILayout.Window(0, new Rec 阅读全文
posted @ 2016-05-10 09:48 Shinea_SYR 阅读(1467) 评论(0) 推荐(0)
摘要:#region //if (GUI.Button(new Rect(100, 100, 30, 60), str)) //{ // str += str; //} //if (GUILayout.Button(str)) //{ // str += str; //} //GUILayout.Begi 阅读全文
posted @ 2016-05-10 09:25 Shinea_SYR 阅读(1228) 评论(0) 推荐(0)
摘要:public Texture2D pic; private bool Cl = false; void OnGUI() { GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), pic); GUIStyle style = new 阅读全文
posted @ 2016-05-10 09:22 Shinea_SYR 阅读(1013) 评论(0) 推荐(0)
摘要:void OnGUI() { GUIStyle style = new GUIStyle(); //实例化一个新的GUIStyle,名称为style ,后期使用 style.fontSize = 50; //字体的大小设置数值越大,字越大,默认颜色为黑色 style.normal.textColor 阅读全文
posted @ 2016-05-05 22:29 Shinea_SYR 阅读(1349) 评论(0) 推荐(0)
摘要:unity3d引用excel 阅读全文
posted @ 2016-05-03 08:29 Shinea_SYR 阅读(167) 评论(0) 推荐(0)