Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Disastercake on December 26, 2014, 08:46:52 PM

Title: How do you lock a button
Post by: Disastercake on December 26, 2014, 08:46:52 PM
Is there an easy method of "locking" a button?  For example if there is a menu option not available yet.  I thought I had seen it a long time ago in NGUI, but I can't find any functionality with it now.

Title: Re: How do you lock a button
Post by: ArenMook on December 27, 2014, 09:26:28 AM
UIButton.isEnabled = false