public virtual void AddSubmitDelegate(NGUIEventListener.VoidDelegate del)
 {
     onSubmit += del;
 }
 /// <summary>
 /// Adds a method to be called when the value of a control changes (such as a checkbox changing from false to true, or a slider being moved).
 /// </summary>
 public virtual void AddClickDelegate(NGUIEventListener.VoidDelegate del)
 {
     onClick += del;
 }
 public virtual void AddPreResponder(NGUIEventListener.VoidDelegate del)
 {
     onPreClick += del;
 }
 public virtual void RemovePreResponder(NGUIEventListener.VoidDelegate del)
 {
     onPreClick -= del;
 }
 public virtual void RemoveSubmitDelegate(NGUIEventListener.VoidDelegate del)
 {
     onSubmit -= del;
 }
 /// <summary>
 /// Removes a method added with AddClickDelegate().
 /// </summary>
 public virtual void RemoveClickDelegate(NGUIEventListener.VoidDelegate del)
 {
     onClick -= del;
 }
Example #7
0
 public virtual void RemoveSubmitDelegate(NGUIEventListener.VoidDelegate del)
 {
     onSubmit -= del;
 }
Example #8
0
 public virtual void AddSubmitDelegate(NGUIEventListener.VoidDelegate del)
 {
     onSubmit += del;
 }
Example #9
0
 public virtual void RemovePreResponder(NGUIEventListener.VoidDelegate del)
 {
     onPreClick -= del;
 }
Example #10
0
 public virtual void AddPreResponder(NGUIEventListener.VoidDelegate del)
 {
     onPreClick += del;
 }