Support => NGUI 3 Support => Topic started by: PoN on February 07, 2014, 06:59:36 AM
Title: UIButton help pls (NGUI 3.4.8) ?
Post by: PoN on February 07, 2014, 06:59:36 AM
How to set Notify field by code ? And why UIButton component being disabled after Play Unity ? I would like set Notify field to instantiated GameObject with UIButton component by code.
Title: Re: UIButton help pls (NGUI 3.4.8) ?
Post by: ArenMook on February 08, 2014, 02:13:48 PM
The only reason UIButton would be disabled is if you have nothing for that button to color. You get a warning about it in the console log.
Use EventDelegate.Add to set the On Click notification from code: