HOW TO...? (GUIs)

I want to create a GUI that if I press it, it will disapear, and it will charge another diferent GUI.
How to make this?
Sorry for my writing errors.

Step 1 - Open browser window
Step 2 - Go here

This doesn’tanswer me.

That link contains just about everything you need to know when GUI scripting. Read it and post back here if you have specific questions or run into issues with your own implementation.

Yup, that link tells you everything you need to know about GUIs in Unity. That’s how I made my GUI.

What you are probably having trouble with is programming in general. Spend a week or two going through some generic programming tutorials, then you’ll get the hang of it.

People often mistakenly think that Unity makes programming easy. It doesn’t, Unity makes a lot of the aspects of a game engine easy, but you still need to be a good programmer to make a complex game.

This sounds like of what your asking for — very simple example.

using UnityEngine;
using System.Collections;

public class SwappingWindows : MonoBehaviour 
{

 bool showWindowOne = true;
     
    Vector2 windowSize = new Vector2(600, 400);
    Rect winOnePos;
    Rect winTwoPos;
    int winOneID = 10;
    int winTwoID = 11;
     
    public GUIStyle myStyle;
    void Start()
    {
         //Auto center window position
         winOnePos= new Rect(Screen.width/2-(windowSize.x/2), Screen.height/2-(windowSize.y/2), windowSize.x, windowSize.y);
     
        winTwoPos = winOnePos;
    }
     
    void OnGUI()
    {
       if(showWindowOne)
            winOnePos= GUI.Window( winOneID, winOnePos, ShowWindowOne,"", myStyle);
       else
            winTwoPos = GUI.Window( winTwoID, winTwoPos, ShowWindowTwo,"", myStyle);
    }
     
    void ShowWindowOne(int id)
    {
        if(GUI.Button(new Rect(0, 0, windowSize.x, windowSize.y), "Window One"))
        {
           showWindowOne = false;
        }
    }
     
    void ShowWindowTwo(int id)
    {
         if(GUI.Button(new Rect(0, 0, windowSize.x, windowSize.y), "Window Two"))
         {
           showWindowOne = true;
         }
    }
}

Complete Class Example.