public void AddComponent(Component comp, bool checkDuplicates = true) { if (!checkDuplicates || !components.Contains<Component>(comp)) { components.Add(comp); } }
public void RemoveComponent(Component comp) { components.Remove(comp); }