Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Shifty Geezer on January 08, 2017, 11:49:08 AM
-
I can add a delegate via code to a slider for its Finished event thusly...
slider.onDragFinished = CallbackMethod;
However, the same doesn't work for onChange event and the description for onChange specifies it as a list rather than a delegate. How do I add a delegate on onChange?
-
EventDelegate.Add(slider.onChange, YourDelegate);