Exemple #1
0
        public void Destroy()
        {
            LoggerSystem.Instance.Debug("EventSystem    destroy  begin");

            mEventHandlerMap.Clear();
            for (int i = 0; i < mFiredEventList.Count; ++i)
            {
                mEventPool.Recycle(mFiredEventList [i]);
            }
            mFiredEventList.Clear();

            LoggerSystem.Instance.Debug("EventSystem    destroy  end");
        }
Exemple #2
0
 protected void Recycle(T t)
 {
     mAssociatedPool.Recycle(t);
 }