public virtual void AddPressDelegate(NGUIEventListener.BoolDelegate del) { onPress += del; }
// ---- public virtual void AddInitDelegate(NGUIEventListener.BoolDelegate del) { //changeDelegate += del; }
/// <summary> /// Removes a method added with AddPressDelegate(). /// </summary> public virtual void RemovePressDelegate(NGUIEventListener.BoolDelegate del) { onPress -= del; }
public virtual void AddHoverDelegate(NGUIEventListener.BoolDelegate del) { onHover += del; }
/// <summary> /// Removes a method added with AddHoverDelegate(). /// </summary> public virtual void RemoveHoverDelegate(NGUIEventListener.BoolDelegate del) { onHover -= del; }