EventDispatcher.addEventListner C# (CSharp) Method

addEventListner() public method

public addEventListner ( string eventType, CallBack, function ) : void
eventType string
function CallBack,
return void
    public void addEventListner(string eventType,CallBack function)
    {
        if(_listenList==null){
            _listenList		= new List<EventListenTerm>();
        }
        _listenList.Add(new EventListenTerm(eventType,function));
    }