Exemple #1
0
        public override void OnUpdate()
        {
            if (m_EntityList == null)
            {
                return;
            }
            Int32 nSize = m_EntityList.Size();

            for (Int32 i = 0; i < nSize; ++i)
            {
                EntityBase entity = m_EntityList.ValueIndexOf(i);
                if (entity == null)
                {
                    continue;
                }
                entity.UpdateEntity();
            }
        }