コード例 #1
0
        private void AddUpdaterItem(float time)
        {
            if (mIsDisposed || mItemAdded == null)
            {
                return;
            }
            else
            {
            }

            if ((mTicksList != null) && (mTicksList.IndexOf(mItemAdded) == -1))
            {
                mTicksList.Add(mItemAdded);
                mItemAdded.AddUpdate();
            }
            else
            {
            }

            if ((mListDeleted != null) && mListDeleted.Contains(mItemAdded))
            {
                mListDeleted.Remove(mItemAdded);//清除之前添加过的移除刷帧标记,避免最新的队列标记不生效
            }
            else
            {
            }

            mItemAdded = null;
        }