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