在NGUI中UI控件的交互用事件注册的方式实现;
UIEventListener.Get(mAllButton.gameObject).onClick = OnAllBtnCllcik;mSlider.onChange.Add(new EventDelegate(this,"MethodName"));
this(monobehavior):该脚本;MethodName:该类中的方法;
在NGUI中UI控件的交互用事件注册的方式实现;
UIEventListener.Get(mAllButton.gameObject).onClick = OnAllBtnCllcik;mSlider.onChange.Add(new EventDelegate(this,"MethodName"));
this(monobehavior):该脚本;MethodName:该类中的方法;