Пример #1
0
 public void RemoveComponentOfType <ComponentType>() where ComponentType : IComponent
 {
     EntityInfrastructureManager.RemoveComponent <ComponentType>(this);
 }
Пример #2
0
 public void RemoveComponent <T>(T component) where T : IComponent
 {
     EntityInfrastructureManager.RemoveComponent(component, Id);
 }