摘要: 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 阅读(1444) 评论(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 阅读(1199) 评论(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 阅读(996) 评论(0) 推荐(0) 编辑