Search Unity

Make a button visible but inactive?

Discussion in 'Scripting' started by Rond, Jan 24, 2011.

  1. Rond

    Rond

    Joined:
    Oct 21, 2009
    Posts:
    175
    Hi again,
    There's a way to keep the button visible but unclickable?
     
  2. Rond

    Rond

    Joined:
    Oct 21, 2009
    Posts:
    175
    Oh! I found it!
    GUI.enabled = false;

    anyway, no way to make it with alpha = 1, even if the gui is disabled?
     
  3. Aerozo

    Aerozo

    Joined:
    Sep 3, 2010
    Posts:
    127
    Change the alpha value of GUI.color ;)
     
    tkamruzzaman likes this.