摘要:
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 阅读全文