public void UnRegister(BehaviourStateEventListener l)
 {
     listeners.Remove(l);
 }
        //---------------------------------------------------------------------
        // Public
        //---------------------------------------------------------------------

        public void Register(BehaviourStateEventListener l)
        {
            listeners.Add(l);
        }