示例#1
0
        //////////////////////////////////entity////////////////////////////////////////////

        public void AddEntity(ECSEntity entity)
        {
            if (m_entities.Contains(entity))
            {
                return;
            }

            m_entities.Add(entity);
        }
示例#2
0
 public bool DelEntity(ECSEntity entity)
 {
     return(m_entities.Remove(entity));
 }