public bool equalListener(string name, EventDispatcher.CallBack callback) { if (this.name == name && this.callback == callback) { return(true); } return(false); }
// Use this for initialization public EventListenTerm(string type,EventDispatcher.CallBack func) { eventType = type; function = func; }