I have two buttons in my c# script, i want to make invissible one button and make it vissible on click of another button at runtime. Can anyone please show me the way for the proper solution.

Please explain with some example, it will great help for me.
Thanks in advance.

public class Example : MonoBehaviour
{
    public bool showHiddenButton = false;
    void OnGUI() 
    {
        // Hidden button
        if (showHiddenButton)
        {
            if (GUI.Button(new Rect(10, 10, 50, 50), "Hidden Button"))
            {
                // Do Hidden Button stuff
            }

        }
        if (GUI.Button(new Rect(10, 70, 50, 30), "Other Button"))
        {
            showHiddenButton = true;
        }
    }
}