Beispiel #1
0
        public void Destroy()
        {
            LoggerSystem.Instance.Info("EventSystemSimple    destroy  begin");

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

            LoggerSystem.Instance.Info("EventSystemSimple    destroy  end");
        }
Beispiel #2
0
 protected void Recycle(T t)
 {
     mAssociatedPool.Recycle(t);
 }