/// <summary> /// 添加按钮监听 /// </summary> /// <param name="handler"></param> public void AddListener(HandleOnClick handler) { Handler += handler; }
public void RemoveListener(HandleOnClick handler) { Handler -= handler; }
/// <summary> /// 添加按钮监听 /// </summary> /// <param name="ie"></param> /// <param name="handler"></param> public void AddListener(int ie, HandleOnClick handler) { PrIe = ie; Handler += handler; }