//////////////////////////////////entity//////////////////////////////////////////// public void AddEntity(ECSEntity entity) { if (m_entities.Contains(entity)) { return; } m_entities.Add(entity); }
public bool DelEntity(ECSEntity entity) { return(m_entities.Remove(entity)); }